author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
Thu, 15 Feb 2024 15:21:43 +0000 | |
branch | stable |
changeset 51388 | cb5175edd225 |
parent 50725 | 7e5be4a7cda7 |
permissions | -rw-r--r-- |
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
1 |
This file contains tests case that deal with format change accross stream clone |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
2 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
3 |
#require serve no-reposimplestore no-chg |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
4 |
|
48653
a3cf460a6b1b
stream-clone: also filter the requirement we put in the bundle 2
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48598
diff
changeset
|
5 |
#testcases stream-legacy stream-bundle2 |
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
6 |
|
48693
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
7 |
$ cat << EOF >> $HGRCPATH |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
8 |
> [storage] |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
9 |
> revlog.persistent-nodemap.slow-path=allow |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
10 |
> EOF |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
11 |
|
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
12 |
#if stream-legacy |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
13 |
$ cat << EOF >> $HGRCPATH |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
14 |
> [server] |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
15 |
> bundle2.stream = no |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
16 |
> EOF |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
17 |
#endif |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
18 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
19 |
Initialize repository |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
20 |
|
48693
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
21 |
$ hg init server --config format.use-share-safe=yes --config format.use-persistent-nodemap=yes |
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
22 |
$ cd server |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
23 |
$ sh $TESTDIR/testlib/stream_clone_setup.sh |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
24 |
adding 00changelog-ab349180a0405010.nd |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
25 |
adding 00changelog.d |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
26 |
adding 00changelog.i |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
27 |
adding 00changelog.n |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
28 |
adding 00manifest.d |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
29 |
adding 00manifest.i |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
30 |
adding container/isam-build-centos7/bazel-coverage-generator-sandboxfs-compatibility-0758e3e4f6057904d44399bd666faba9e7f40686.patch |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
31 |
adding data/foo.d |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
32 |
adding data/foo.i |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
33 |
adding data/foo.n |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
34 |
adding data/undo.babar |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
35 |
adding data/undo.d |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
36 |
adding data/undo.foo.d |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
37 |
adding data/undo.foo.i |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
38 |
adding data/undo.foo.n |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
39 |
adding data/undo.i |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
40 |
adding data/undo.n |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
41 |
adding data/undo.py |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
42 |
adding foo.d |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
43 |
adding foo.i |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
44 |
adding foo.n |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
45 |
adding meta/foo.d |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
46 |
adding meta/foo.i |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
47 |
adding meta/foo.n |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
48 |
adding meta/undo.babar |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
49 |
adding meta/undo.d |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
50 |
adding meta/undo.foo.d |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
51 |
adding meta/undo.foo.i |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
52 |
adding meta/undo.foo.n |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
53 |
adding meta/undo.i |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
54 |
adding meta/undo.n |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
55 |
adding meta/undo.py |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
56 |
adding savanah/foo.d |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
57 |
adding savanah/foo.i |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
58 |
adding savanah/foo.n |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
59 |
adding savanah/undo.babar |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
60 |
adding savanah/undo.d |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
61 |
adding savanah/undo.foo.d |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
62 |
adding savanah/undo.foo.i |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
63 |
adding savanah/undo.foo.n |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
64 |
adding savanah/undo.i |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
65 |
adding savanah/undo.n |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
66 |
adding savanah/undo.py |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
67 |
adding store/C\xc3\xa9lesteVille_is_a_Capital_City (esc) |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
68 |
adding store/foo.d |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
69 |
adding store/foo.i |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
70 |
adding store/foo.n |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
71 |
adding store/undo.babar |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
72 |
adding store/undo.d |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
73 |
adding store/undo.foo.d |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
74 |
adding store/undo.foo.i |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
75 |
adding store/undo.foo.n |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
76 |
adding store/undo.i |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
77 |
adding store/undo.n |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
78 |
adding store/undo.py |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
79 |
adding undo.babar |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
80 |
adding undo.d |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
81 |
adding undo.foo.d |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
82 |
adding undo.foo.i |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
83 |
adding undo.foo.n |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
84 |
adding undo.i |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
85 |
adding undo.n |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
86 |
adding undo.py |
48692
4933086bebf5
stream-clone: add 5000 changesets to test-clone-stream-format
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48654
diff
changeset
|
87 |
$ hg debugbuilddag .+5000 --from-existing |
4933086bebf5
stream-clone: add 5000 changesets to test-clone-stream-format
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48654
diff
changeset
|
88 |
$ ls -1 .hg/store/00changelog* |
4933086bebf5
stream-clone: add 5000 changesets to test-clone-stream-format
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48654
diff
changeset
|
89 |
.hg/store/00changelog-*.nd (glob) |
4933086bebf5
stream-clone: add 5000 changesets to test-clone-stream-format
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48654
diff
changeset
|
90 |
.hg/store/00changelog.d |
4933086bebf5
stream-clone: add 5000 changesets to test-clone-stream-format
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48654
diff
changeset
|
91 |
.hg/store/00changelog.i |
4933086bebf5
stream-clone: add 5000 changesets to test-clone-stream-format
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48654
diff
changeset
|
92 |
.hg/store/00changelog.n |
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
93 |
$ cd .. |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
94 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
95 |
|
48800
cffc914cc01b
windows: skip a section of a test that is legitimately broken on windows
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48693
diff
changeset
|
96 |
#if no-windows |
cffc914cc01b
windows: skip a section of a test that is legitimately broken on windows
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48693
diff
changeset
|
97 |
|
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
98 |
Test streaming from/to repository without a store: |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
99 |
================================================== |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
100 |
|
48800
cffc914cc01b
windows: skip a section of a test that is legitimately broken on windows
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48693
diff
changeset
|
101 |
This is skipped Windows needs dot-encode to handle some of the file in this |
cffc914cc01b
windows: skip a section of a test that is legitimately broken on windows
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48693
diff
changeset
|
102 |
tests, and dot-encode need the store enabled. |
cffc914cc01b
windows: skip a section of a test that is legitimately broken on windows
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48693
diff
changeset
|
103 |
|
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
104 |
$ hg clone --pull --config format.usestore=no server server-no-store |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
105 |
requesting all changes |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
106 |
adding changesets |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
107 |
adding manifests |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
108 |
adding file changes |
48692
4933086bebf5
stream-clone: add 5000 changesets to test-clone-stream-format
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48654
diff
changeset
|
109 |
added 5004 changesets with 1088 changes to 1088 files (+1 heads) |
4933086bebf5
stream-clone: add 5000 changesets to test-clone-stream-format
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48654
diff
changeset
|
110 |
new changesets 96ee1d7354c4:06ddac466af5 |
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
111 |
updating to branch default |
48692
4933086bebf5
stream-clone: add 5000 changesets to test-clone-stream-format
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48654
diff
changeset
|
112 |
0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
49825
2f2682f40ea0
tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents:
48800
diff
changeset
|
113 |
$ hg verify -R server-no-store -q |
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
114 |
$ hg -R server serve -p $HGPORT -d --pid-file=hg-1.pid --error errors-1.txt |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
115 |
$ cat hg-1.pid > $DAEMON_PIDS |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
116 |
$ hg -R server-no-store serve -p $HGPORT2 -d --pid-file=hg-2.pid --error errors-2.txt |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
117 |
$ cat hg-2.pid >> $DAEMON_PIDS |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
118 |
$ hg debugrequires -R server | grep store |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
119 |
store |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
120 |
$ hg debugrequires -R server-no-store | grep store |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
121 |
[1] |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
122 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
123 |
store → no-store cloning |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
124 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
125 |
$ hg clone --quiet --stream -U http://localhost:$HGPORT clone-remove-store --config format.usestore=no |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
126 |
$ cat errors-1.txt |
49825
2f2682f40ea0
tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents:
48800
diff
changeset
|
127 |
$ hg -R clone-remove-store verify -q |
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
128 |
$ hg debugrequires -R clone-remove-store | grep store |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
129 |
[1] |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
130 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
131 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
132 |
no-store → store cloning |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
133 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
134 |
$ hg clone --quiet --stream -U http://localhost:$HGPORT2 clone-add-store --config format.usestore=yes |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
135 |
$ cat errors-2.txt |
49825
2f2682f40ea0
tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents:
48800
diff
changeset
|
136 |
$ hg -R clone-add-store verify -q |
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
137 |
$ hg debugrequires -R clone-add-store | grep store |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
138 |
store |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
139 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
140 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
141 |
$ killdaemons.py |
48800
cffc914cc01b
windows: skip a section of a test that is legitimately broken on windows
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48693
diff
changeset
|
142 |
$ rm hg-*.pid errors-*.txt |
cffc914cc01b
windows: skip a section of a test that is legitimately broken on windows
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48693
diff
changeset
|
143 |
|
cffc914cc01b
windows: skip a section of a test that is legitimately broken on windows
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48693
diff
changeset
|
144 |
#endif |
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
145 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
146 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
147 |
Test streaming from/to repository without a fncache |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
148 |
=================================================== |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
149 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
150 |
$ hg clone --pull --config format.usefncache=no server server-no-fncache |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
151 |
requesting all changes |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
152 |
adding changesets |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
153 |
adding manifests |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
154 |
adding file changes |
48692
4933086bebf5
stream-clone: add 5000 changesets to test-clone-stream-format
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48654
diff
changeset
|
155 |
added 5004 changesets with 1088 changes to 1088 files (+1 heads) |
4933086bebf5
stream-clone: add 5000 changesets to test-clone-stream-format
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48654
diff
changeset
|
156 |
new changesets 96ee1d7354c4:06ddac466af5 |
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
157 |
updating to branch default |
48692
4933086bebf5
stream-clone: add 5000 changesets to test-clone-stream-format
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48654
diff
changeset
|
158 |
0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
49825
2f2682f40ea0
tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents:
48800
diff
changeset
|
159 |
$ hg verify -R server-no-fncache -q |
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
160 |
$ hg -R server serve -p $HGPORT -d --pid-file=hg-1.pid --error errors-1.txt |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
161 |
$ cat hg-1.pid > $DAEMON_PIDS |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
162 |
$ hg -R server-no-fncache serve -p $HGPORT2 -d --pid-file=hg-2.pid --error errors-2.txt |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
163 |
$ cat hg-2.pid >> $DAEMON_PIDS |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
164 |
$ hg debugrequires -R server | grep fncache |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
165 |
fncache |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
166 |
$ hg debugrequires -R server-no-fncache | grep fncache |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
167 |
[1] |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
168 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
169 |
fncache → no-fncache cloning |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
170 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
171 |
$ hg clone --quiet --stream -U http://localhost:$HGPORT clone-remove-fncache --config format.usefncache=no |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
172 |
$ cat errors-1.txt |
49825
2f2682f40ea0
tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents:
48800
diff
changeset
|
173 |
$ hg -R clone-remove-fncache verify -q |
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
174 |
$ hg debugrequires -R clone-remove-fncache | grep fncache |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
175 |
[1] |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
176 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
177 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
178 |
no-fncache → fncache cloning |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
179 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
180 |
$ hg clone --quiet --stream -U http://localhost:$HGPORT2 clone-add-fncache --config format.usefncache=yes |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
181 |
$ cat errors-2.txt |
49825
2f2682f40ea0
tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents:
48800
diff
changeset
|
182 |
$ hg -R clone-add-fncache verify -q |
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
183 |
$ hg debugrequires -R clone-add-fncache | grep fncache |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
184 |
fncache |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
185 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
186 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
187 |
$ killdaemons.py |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
188 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
189 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
190 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
191 |
Test streaming from/to repository without a dotencode |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
192 |
=================================================== |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
193 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
194 |
$ rm hg-*.pid errors-*.txt |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
195 |
$ hg clone --pull --config format.dotencode=no server server-no-dotencode |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
196 |
requesting all changes |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
197 |
adding changesets |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
198 |
adding manifests |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
199 |
adding file changes |
48692
4933086bebf5
stream-clone: add 5000 changesets to test-clone-stream-format
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48654
diff
changeset
|
200 |
added 5004 changesets with 1088 changes to 1088 files (+1 heads) |
4933086bebf5
stream-clone: add 5000 changesets to test-clone-stream-format
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48654
diff
changeset
|
201 |
new changesets 96ee1d7354c4:06ddac466af5 |
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
202 |
updating to branch default |
48692
4933086bebf5
stream-clone: add 5000 changesets to test-clone-stream-format
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48654
diff
changeset
|
203 |
0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
49825
2f2682f40ea0
tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents:
48800
diff
changeset
|
204 |
$ hg verify -R server-no-dotencode -q |
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
205 |
$ hg -R server serve -p $HGPORT -d --pid-file=hg-1.pid --error errors-1.txt |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
206 |
$ cat hg-1.pid > $DAEMON_PIDS |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
207 |
$ hg -R server-no-dotencode serve -p $HGPORT2 -d --pid-file=hg-2.pid --error errors-2.txt |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
208 |
$ cat hg-2.pid >> $DAEMON_PIDS |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
209 |
$ hg debugrequires -R server | grep dotencode |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
210 |
dotencode |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
211 |
$ hg debugrequires -R server-no-dotencode | grep dotencode |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
212 |
[1] |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
213 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
214 |
dotencode → no-dotencode cloning |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
215 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
216 |
$ hg clone --quiet --stream -U http://localhost:$HGPORT clone-remove-dotencode --config format.dotencode=no |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
217 |
$ cat errors-1.txt |
49825
2f2682f40ea0
tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents:
48800
diff
changeset
|
218 |
$ hg -R clone-remove-dotencode verify -q |
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
219 |
$ hg debugrequires -R clone-remove-dotencode | grep dotencode |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
220 |
[1] |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
221 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
222 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
223 |
no-dotencode → dotencode cloning |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
224 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
225 |
$ hg clone --quiet --stream -U http://localhost:$HGPORT2 clone-add-dotencode --config format.dotencode=yes |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
226 |
$ cat errors-2.txt |
49825
2f2682f40ea0
tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents:
48800
diff
changeset
|
227 |
$ hg -R clone-add-dotencode verify -q |
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
228 |
$ hg debugrequires -R clone-add-dotencode | grep dotencode |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
229 |
dotencode |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
230 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
231 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
232 |
$ killdaemons.py |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
233 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
234 |
Cloning from a share |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
235 |
-------------------- |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
236 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
237 |
We should be able to clone from a "share" repository, it will use the source store for streaming. |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
238 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
239 |
The resulting clone should not use share. |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
240 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
241 |
$ rm hg-*.pid errors-*.txt |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
242 |
$ hg share --config extensions.share= server server-share -U |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
243 |
$ hg -R server-share serve -p $HGPORT -d --pid-file=hg-1.pid --error errors-1.txt |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
244 |
$ cat hg-1.pid > $DAEMON_PIDS |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
245 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
246 |
$ hg clone --quiet --stream -U http://localhost:$HGPORT clone-from-share |
49825
2f2682f40ea0
tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents:
48800
diff
changeset
|
247 |
$ hg -R clone-from-share verify -q |
50725
7e5be4a7cda7
tests: use grep -E instead of obsolescent egrep
Mads Kiilerich <mads@kiilerich.com>
parents:
49825
diff
changeset
|
248 |
$ hg debugrequires -R clone-from-share | grep -E 'share$' |
48598
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
249 |
[1] |
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
250 |
|
a6f16ec07ed7
stream-clone: add a explicit test for format change during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
251 |
$ killdaemons.py |
48654
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
252 |
|
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
253 |
Test streaming from/to repository without a share-safe |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
254 |
====================================================== |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
255 |
|
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
256 |
$ rm hg-*.pid errors-*.txt |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
257 |
$ hg clone --pull --config format.use-share-safe=no server server-no-share-safe |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
258 |
requesting all changes |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
259 |
adding changesets |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
260 |
adding manifests |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
261 |
adding file changes |
48692
4933086bebf5
stream-clone: add 5000 changesets to test-clone-stream-format
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48654
diff
changeset
|
262 |
added 5004 changesets with 1088 changes to 1088 files (+1 heads) |
4933086bebf5
stream-clone: add 5000 changesets to test-clone-stream-format
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48654
diff
changeset
|
263 |
new changesets 96ee1d7354c4:06ddac466af5 |
48654
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
264 |
updating to branch default |
48692
4933086bebf5
stream-clone: add 5000 changesets to test-clone-stream-format
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48654
diff
changeset
|
265 |
0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
49825
2f2682f40ea0
tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents:
48800
diff
changeset
|
266 |
$ hg verify -R server-no-share-safe -q |
48654
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
267 |
$ hg -R server serve -p $HGPORT -d --pid-file=hg-1.pid --error errors-1.txt |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
268 |
$ cat hg-1.pid > $DAEMON_PIDS |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
269 |
$ hg -R server-no-share-safe serve -p $HGPORT2 -d --pid-file=hg-2.pid --error errors-2.txt |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
270 |
$ cat hg-2.pid >> $DAEMON_PIDS |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
271 |
$ hg debugrequires -R server | grep share-safe |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
272 |
share-safe |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
273 |
$ hg debugrequires -R server-no-share-safe | grep share-safe |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
274 |
[1] |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
275 |
|
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
276 |
share-safe → no-share-safe cloning |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
277 |
|
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
278 |
$ hg clone --quiet --stream -U http://localhost:$HGPORT clone-remove-share-safe --config format.use-share-safe=no |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
279 |
$ cat errors-1.txt |
49825
2f2682f40ea0
tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents:
48800
diff
changeset
|
280 |
$ hg -R clone-remove-share-safe verify -q |
48654
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
281 |
$ hg debugrequires -R clone-remove-share-safe | grep share-safe |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
282 |
[1] |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
283 |
|
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
284 |
|
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
285 |
no-share-safe → share-safe cloning |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
286 |
|
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
287 |
$ hg clone --quiet --stream -U http://localhost:$HGPORT2 clone-add-share-safe --config format.use-share-safe=yes |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
288 |
$ cat errors-2.txt |
49825
2f2682f40ea0
tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents:
48800
diff
changeset
|
289 |
$ hg -R clone-add-share-safe verify -q |
48654
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
290 |
$ hg debugrequires -R clone-add-share-safe | grep share-safe |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
291 |
share-safe |
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
292 |
|
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
293 |
|
eb5c33f1d08f
stream-clone: stop considering working copy only requirements
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48653
diff
changeset
|
294 |
$ killdaemons.py |
48693
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
295 |
|
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
296 |
|
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
297 |
Test streaming from/to repository without a persistent-nodemap |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
298 |
============================================================== |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
299 |
|
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
300 |
persistent nodemap affects revlog, but they are easy to generate locally, so we allow it to be changed over a stream clone |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
301 |
|
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
302 |
$ rm hg-*.pid errors-*.txt |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
303 |
$ hg clone --pull --config format.use-persistent-nodemap=no server server-no-persistent-nodemap |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
304 |
requesting all changes |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
305 |
adding changesets |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
306 |
adding manifests |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
307 |
adding file changes |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
308 |
added 5004 changesets with 1088 changes to 1088 files (+1 heads) |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
309 |
new changesets 96ee1d7354c4:06ddac466af5 |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
310 |
updating to branch default |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
311 |
0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
49825
2f2682f40ea0
tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents:
48800
diff
changeset
|
312 |
$ hg verify -R server-no-persistent-nodemap -q |
48693
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
313 |
$ hg -R server serve -p $HGPORT -d --pid-file=hg-1.pid --error errors-1.txt |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
314 |
$ cat hg-1.pid > $DAEMON_PIDS |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
315 |
$ hg -R server-no-persistent-nodemap serve -p $HGPORT2 -d --pid-file=hg-2.pid --error errors-2.txt |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
316 |
$ cat hg-2.pid >> $DAEMON_PIDS |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
317 |
$ hg debugrequires -R server | grep persistent-nodemap |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
318 |
persistent-nodemap |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
319 |
$ hg debugrequires -R server-no-persistent-nodemap | grep persistent-nodemap |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
320 |
[1] |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
321 |
$ ls -1 server/.hg/store/00changelog* |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
322 |
server/.hg/store/00changelog-*.nd (glob) |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
323 |
server/.hg/store/00changelog.d |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
324 |
server/.hg/store/00changelog.i |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
325 |
server/.hg/store/00changelog.n |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
326 |
$ ls -1 server-no-persistent-nodemap/.hg/store/00changelog* |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
327 |
server-no-persistent-nodemap/.hg/store/00changelog.d |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
328 |
server-no-persistent-nodemap/.hg/store/00changelog.i |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
329 |
|
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
330 |
persistent-nodemap → no-persistent-nodemap cloning |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
331 |
|
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
332 |
$ hg clone --quiet --stream -U http://localhost:$HGPORT clone-remove-persistent-nodemap --config format.use-persistent-nodemap=no |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
333 |
$ cat errors-1.txt |
49825
2f2682f40ea0
tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents:
48800
diff
changeset
|
334 |
$ hg -R clone-remove-persistent-nodemap verify -q |
48693
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
335 |
$ hg debugrequires -R clone-remove-persistent-nodemap | grep persistent-nodemap |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
336 |
[1] |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
337 |
|
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
338 |
The persistent-nodemap files should no longer exists |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
339 |
|
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
340 |
$ ls -1 clone-remove-persistent-nodemap/.hg/store/00changelog* |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
341 |
clone-remove-persistent-nodemap/.hg/store/00changelog.d |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
342 |
clone-remove-persistent-nodemap/.hg/store/00changelog.i |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
343 |
|
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
344 |
|
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
345 |
no-persistent-nodemap → persistent-nodemap cloning |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
346 |
|
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
347 |
$ hg clone --quiet --stream -U http://localhost:$HGPORT2 clone-add-persistent-nodemap --config format.use-persistent-nodemap=yes |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
348 |
$ cat errors-2.txt |
49825
2f2682f40ea0
tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents:
48800
diff
changeset
|
349 |
$ hg -R clone-add-persistent-nodemap verify -q |
48693
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
350 |
$ hg debugrequires -R clone-add-persistent-nodemap | grep persistent-nodemap |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
351 |
persistent-nodemap |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
352 |
|
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
353 |
The persistent-nodemap files should exists |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
354 |
|
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
355 |
$ ls -1 clone-add-persistent-nodemap/.hg/store/00changelog* |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
356 |
clone-add-persistent-nodemap/.hg/store/00changelog-*.nd (glob) |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
357 |
clone-add-persistent-nodemap/.hg/store/00changelog.d |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
358 |
clone-add-persistent-nodemap/.hg/store/00changelog.i |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
359 |
clone-add-persistent-nodemap/.hg/store/00changelog.n |
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
360 |
|
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
361 |
|
de3ac3d2c60b
stream-clone: allow to change persistent-nodemap format during stream clone
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
48692
diff
changeset
|
362 |
$ killdaemons.py |