Show More
@@ -197,17 +197,17 b" Test that adding a directory doesn't req" | |||||
197 | $ echo def > CapsDir1/CapsDir/SubDir/Def.txt |
|
197 | $ echo def > CapsDir1/CapsDir/SubDir/Def.txt | |
198 |
|
198 | |||
199 | $ hg add capsdir1/capsdir |
|
199 | $ hg add capsdir1/capsdir | |
200 |
adding CapsDir1/CapsDir/AbC.txt |
|
200 | adding CapsDir1/CapsDir/AbC.txt | |
201 |
adding CapsDir1/CapsDir/SubDir/Def.txt |
|
201 | adding CapsDir1/CapsDir/SubDir/Def.txt | |
202 |
|
202 | |||
203 | $ hg forget capsdir1/capsdir/abc.txt |
|
203 | $ hg forget capsdir1/capsdir/abc.txt | |
204 |
|
204 | |||
205 | $ hg forget capsdir1/capsdir |
|
205 | $ hg forget capsdir1/capsdir | |
206 |
removing CapsDir1/CapsDir/SubDir/Def.txt |
|
206 | removing CapsDir1/CapsDir/SubDir/Def.txt | |
207 |
|
207 | |||
208 | $ hg add capsdir1 |
|
208 | $ hg add capsdir1 | |
209 |
adding CapsDir1/CapsDir/AbC.txt |
|
209 | adding CapsDir1/CapsDir/AbC.txt | |
210 |
adding CapsDir1/CapsDir/SubDir/Def.txt |
|
210 | adding CapsDir1/CapsDir/SubDir/Def.txt | |
211 |
|
211 | |||
212 | $ hg ci -m "AbCDef" capsdir1/capsdir |
|
212 | $ hg ci -m "AbCDef" capsdir1/capsdir | |
213 |
|
213 | |||
@@ -216,14 +216,14 b" Test that adding a directory doesn't req" | |||||
216 | C CapsDir1/CapsDir/SubDir/Def.txt |
|
216 | C CapsDir1/CapsDir/SubDir/Def.txt | |
217 |
|
217 | |||
218 | $ hg files capsdir1/capsdir |
|
218 | $ hg files capsdir1/capsdir | |
219 |
CapsDir1/CapsDir/AbC.txt |
|
219 | CapsDir1/CapsDir/AbC.txt | |
220 |
CapsDir1/CapsDir/SubDir/Def.txt |
|
220 | CapsDir1/CapsDir/SubDir/Def.txt | |
221 |
|
221 | |||
222 | $ echo xyz > CapsDir1/CapsDir/SubDir/Def.txt |
|
222 | $ echo xyz > CapsDir1/CapsDir/SubDir/Def.txt | |
223 | $ hg ci -m xyz capsdir1/capsdir/subdir/def.txt |
|
223 | $ hg ci -m xyz capsdir1/capsdir/subdir/def.txt | |
224 |
|
224 | |||
225 | $ hg revert -r '.^' capsdir1/capsdir |
|
225 | $ hg revert -r '.^' capsdir1/capsdir | |
226 |
reverting CapsDir1/CapsDir/SubDir/Def.txt |
|
226 | reverting CapsDir1/CapsDir/SubDir/Def.txt | |
227 |
|
227 | |||
228 | The conditional tests above mean the hash on the diff line differs on Windows |
|
228 | The conditional tests above mean the hash on the diff line differs on Windows | |
229 | and OS X |
|
229 | and OS X | |
@@ -244,8 +244,8 b' and OS X' | |||||
244 |
|
244 | |||
245 | $ hg remove -f 'glob:**.txt' -X capsdir1/capsdir |
|
245 | $ hg remove -f 'glob:**.txt' -X capsdir1/capsdir | |
246 | $ hg remove -f 'glob:**.txt' -I capsdir1/capsdir |
|
246 | $ hg remove -f 'glob:**.txt' -I capsdir1/capsdir | |
247 |
removing CapsDir1/CapsDir/ABC.txt |
|
247 | removing CapsDir1/CapsDir/ABC.txt | |
248 |
removing CapsDir1/CapsDir/SubDir/Def.txt |
|
248 | removing CapsDir1/CapsDir/SubDir/Def.txt | |
249 | #endif |
|
249 | #endif | |
250 |
|
250 | |||
251 | $ cd .. |
|
251 | $ cd .. |
@@ -153,7 +153,7 b' Issue1527: repeated addremove causes Abo' | |||||
153 | $ hg addremove -s80 |
|
153 | $ hg addremove -s80 | |
154 | removing d/a |
|
154 | removing d/a | |
155 | adding d/b |
|
155 | adding d/b | |
156 |
recording removal of d/a as rename to d/b (100% similar) |
|
156 | recording removal of d/a as rename to d/b (100% similar) | |
157 | $ hg debugstate |
|
157 | $ hg debugstate | |
158 | r 0 0 1970-01-01 00:00:00 d/a |
|
158 | r 0 0 1970-01-01 00:00:00 d/a | |
159 | a 0 -1 unset d/b |
|
159 | a 0 -1 unset d/b | |
@@ -163,12 +163,12 b' Issue1527: repeated addremove causes Abo' | |||||
163 | no copies found here (since the target isn't in d |
|
163 | no copies found here (since the target isn't in d | |
164 |
|
164 | |||
165 | $ hg addremove -s80 d |
|
165 | $ hg addremove -s80 d | |
166 |
removing d/b |
|
166 | removing d/b | |
167 |
|
167 | |||
168 | copies here |
|
168 | copies here | |
169 |
|
169 | |||
170 | $ hg addremove -s80 |
|
170 | $ hg addremove -s80 | |
171 | adding c |
|
171 | adding c | |
172 |
recording removal of d/a as rename to c (100% similar) |
|
172 | recording removal of d/a as rename to c (100% similar) | |
173 |
|
173 | |||
174 | $ cd .. |
|
174 | $ cd .. |
@@ -58,7 +58,7 b' amend with dirty subrepo' | |||||
58 |
|
58 | |||
59 | $ echo a >> s/a |
|
59 | $ echo a >> s/a | |
60 | $ hg add -R s |
|
60 | $ hg add -R s | |
61 |
adding s/a |
|
61 | adding s/a | |
62 | $ hg amend |
|
62 | $ hg amend | |
63 | abort: uncommitted changes in subrepository "s" |
|
63 | abort: uncommitted changes in subrepository "s" | |
64 | (use --subrepos for recursive commit) |
|
64 | (use --subrepos for recursive commit) |
@@ -29,7 +29,7 b' Basic amend' | |||||
29 | $ echo 2 >> B |
|
29 | $ echo 2 >> B | |
30 |
|
30 | |||
31 | $ hg amend |
|
31 | $ hg amend | |
32 |
saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/112478962961-7e959a55-amend.hg ( |
|
32 | saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/112478962961-7e959a55-amend.hg (obsstore-off !) | |
33 | #if obsstore-off |
|
33 | #if obsstore-off | |
34 | $ hg log -p -G --hidden -T '{rev} {node|short} {desc}\n' |
|
34 | $ hg log -p -G --hidden -T '{rev} {node|short} {desc}\n' | |
35 | @ 1 be169c7e8dbe B |
|
35 | @ 1 be169c7e8dbe B | |
@@ -99,13 +99,13 b' Matcher and metadata options' | |||||
99 | $ echo 4 > D |
|
99 | $ echo 4 > D | |
100 | $ hg add C D |
|
100 | $ hg add C D | |
101 | $ hg amend -m NEWMESSAGE -I C |
|
101 | $ hg amend -m NEWMESSAGE -I C | |
102 |
saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/be169c7e8dbe-7684ddc5-amend.hg ( |
|
102 | saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/be169c7e8dbe-7684ddc5-amend.hg (obsstore-off !) | |
103 | $ hg log -r . -T '{node|short} {desc} {files}\n' |
|
103 | $ hg log -r . -T '{node|short} {desc} {files}\n' | |
104 | c7ba14d9075b NEWMESSAGE B C |
|
104 | c7ba14d9075b NEWMESSAGE B C | |
105 | $ echo 5 > E |
|
105 | $ echo 5 > E | |
106 | $ rm C |
|
106 | $ rm C | |
107 | $ hg amend -d '2000 1000' -u 'Foo <foo@example.com>' -A C D |
|
107 | $ hg amend -d '2000 1000' -u 'Foo <foo@example.com>' -A C D | |
108 |
saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/c7ba14d9075b-b3e76daa-amend.hg ( |
|
108 | saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/c7ba14d9075b-b3e76daa-amend.hg (obsstore-off !) | |
109 | $ hg log -r . -T '{node|short} {desc} {files} {author} {date}\n' |
|
109 | $ hg log -r . -T '{node|short} {desc} {files} {author} {date}\n' | |
110 | 14f6c4bcc865 NEWMESSAGE B D Foo <foo@example.com> 2000.01000 |
|
110 | 14f6c4bcc865 NEWMESSAGE B D Foo <foo@example.com> 2000.01000 | |
111 |
|
111 | |||
@@ -119,11 +119,11 b' Amend with editor' | |||||
119 | $ chmod +x $TESTTMP/prefix.sh |
|
119 | $ chmod +x $TESTTMP/prefix.sh | |
120 |
|
120 | |||
121 | $ HGEDITOR="sh $TESTTMP/prefix.sh" hg amend --edit |
|
121 | $ HGEDITOR="sh $TESTTMP/prefix.sh" hg amend --edit | |
122 |
saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/14f6c4bcc865-6591f15d-amend.hg ( |
|
122 | saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/14f6c4bcc865-6591f15d-amend.hg (obsstore-off !) | |
123 | $ hg log -r . -T '{node|short} {desc}\n' |
|
123 | $ hg log -r . -T '{node|short} {desc}\n' | |
124 | 298f085230c3 EDITED: NEWMESSAGE |
|
124 | 298f085230c3 EDITED: NEWMESSAGE | |
125 | $ HGEDITOR="sh $TESTTMP/prefix.sh" hg amend -e -m MSG |
|
125 | $ HGEDITOR="sh $TESTTMP/prefix.sh" hg amend -e -m MSG | |
126 |
saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/298f085230c3-d81a6ad3-amend.hg ( |
|
126 | saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/298f085230c3-d81a6ad3-amend.hg (obsstore-off !) | |
127 | $ hg log -r . -T '{node|short} {desc}\n' |
|
127 | $ hg log -r . -T '{node|short} {desc}\n' | |
128 | 974f07f28537 EDITED: MSG |
|
128 | 974f07f28537 EDITED: MSG | |
129 |
|
129 | |||
@@ -132,7 +132,7 b' Amend with editor' | |||||
132 | abort: options --message and --logfile are mutually exclusive |
|
132 | abort: options --message and --logfile are mutually exclusive | |
133 | [255] |
|
133 | [255] | |
134 | $ hg amend -l $TESTTMP/msg |
|
134 | $ hg amend -l $TESTTMP/msg | |
135 |
saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/974f07f28537-edb6470a-amend.hg ( |
|
135 | saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/974f07f28537-edb6470a-amend.hg (obsstore-off !) | |
136 | $ hg log -r . -T '{node|short} {desc}\n' |
|
136 | $ hg log -r . -T '{node|short} {desc}\n' | |
137 | 507be9bdac71 FOO |
|
137 | 507be9bdac71 FOO | |
138 |
|
138 | |||
@@ -152,7 +152,7 b' Interactive mode' | |||||
152 | new file mode 100644 |
|
152 | new file mode 100644 | |
153 | examine changes to 'G'? [Ynesfdaq?] n |
|
153 | examine changes to 'G'? [Ynesfdaq?] n | |
154 |
|
154 | |||
155 |
saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/507be9bdac71-c8077452-amend.hg ( |
|
155 | saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/507be9bdac71-c8077452-amend.hg (obsstore-off !) | |
156 | $ hg log -r . -T '{files}\n' |
|
156 | $ hg log -r . -T '{files}\n' | |
157 | B D F |
|
157 | B D F | |
158 |
|
158 | |||
@@ -227,7 +227,7 b' Amend a merge changeset' | |||||
227 | > EOS |
|
227 | > EOS | |
228 | $ hg update -q C |
|
228 | $ hg update -q C | |
229 | $ hg amend -m FOO |
|
229 | $ hg amend -m FOO | |
230 |
saved backup bundle to $TESTTMP/repo3/.hg/strip-backup/a35c07e8a2a4-15ff4612-amend.hg ( |
|
230 | saved backup bundle to $TESTTMP/repo3/.hg/strip-backup/a35c07e8a2a4-15ff4612-amend.hg (obsstore-off !) | |
231 | $ rm .hg/localtags |
|
231 | $ rm .hg/localtags | |
232 | $ hg log -G -T '{desc}\n' |
|
232 | $ hg log -G -T '{desc}\n' | |
233 | @ FOO |
|
233 | @ FOO |
@@ -32,7 +32,7 b' hg subrepos are shared when the parent r' | |||||
32 | sharing subrepo subrepo from $TESTTMP/test/subrepo |
|
32 | sharing subrepo subrepo from $TESTTMP/test/subrepo | |
33 | 5 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
33 | 5 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
34 | $ cat shared1/subrepo/.hg/sharedpath |
|
34 | $ cat shared1/subrepo/.hg/sharedpath | |
35 |
$TESTTMP/test/subrepo/.hg (no-eol) |
|
35 | $TESTTMP/test/subrepo/.hg (no-eol) | |
36 |
|
36 | |||
37 | hg subrepos are shared into existence on demand if the parent was shared |
|
37 | hg subrepos are shared into existence on demand if the parent was shared | |
38 |
|
38 | |||
@@ -45,7 +45,7 b' hg subrepos are shared into existence on' | |||||
45 | sharing subrepo subrepo from $TESTTMP/test/subrepo |
|
45 | sharing subrepo subrepo from $TESTTMP/test/subrepo | |
46 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
46 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
47 | $ cat share2/subrepo/.hg/sharedpath |
|
47 | $ cat share2/subrepo/.hg/sharedpath | |
48 |
$TESTTMP/test/subrepo/.hg (no-eol) |
|
48 | $TESTTMP/test/subrepo/.hg (no-eol) | |
49 | $ echo 'mod' > share2/subrepo/sub |
|
49 | $ echo 'mod' > share2/subrepo/sub | |
50 | $ hg -R share2 ci -Sqm 'subrepo mod' |
|
50 | $ hg -R share2 ci -Sqm 'subrepo mod' | |
51 | $ hg -R clone1 update -C tip |
|
51 | $ hg -R clone1 update -C tip | |
@@ -79,7 +79,7 b' hg subrepos are shared into existence on' | |||||
79 | $ hg -R shared3 archive --config ui.archivemeta=False -r tip -S archive |
|
79 | $ hg -R shared3 archive --config ui.archivemeta=False -r tip -S archive | |
80 | sharing subrepo subrepo from $TESTTMP/test/subrepo |
|
80 | sharing subrepo subrepo from $TESTTMP/test/subrepo | |
81 | $ cat shared3/subrepo/.hg/sharedpath |
|
81 | $ cat shared3/subrepo/.hg/sharedpath | |
82 |
$TESTTMP/test/subrepo/.hg (no-eol) |
|
82 | $TESTTMP/test/subrepo/.hg (no-eol) | |
83 | $ diff -r archive test |
|
83 | $ diff -r archive test | |
84 | Only in test: .hg |
|
84 | Only in test: .hg | |
85 | Common subdirectories: archive/baz and test/baz (?) |
|
85 | Common subdirectories: archive/baz and test/baz (?) |
@@ -3,7 +3,7 b'' | |||||
3 | audit of .hg |
|
3 | audit of .hg | |
4 |
|
4 | |||
5 | $ hg add .hg/00changelog.i |
|
5 | $ hg add .hg/00changelog.i | |
6 |
abort: path contains illegal component: .hg/00changelog.i |
|
6 | abort: path contains illegal component: .hg/00changelog.i | |
7 | [255] |
|
7 | [255] | |
8 |
|
8 | |||
9 | #if symlink |
|
9 | #if symlink | |
@@ -17,14 +17,14 b' Symlinks' | |||||
17 | $ ln -s a b |
|
17 | $ ln -s a b | |
18 | $ echo b > a/b |
|
18 | $ echo b > a/b | |
19 | $ hg add b/b |
|
19 | $ hg add b/b | |
20 |
abort: path 'b/b' traverses symbolic link 'b' |
|
20 | abort: path 'b/b' traverses symbolic link 'b' | |
21 | [255] |
|
21 | [255] | |
22 | $ hg add b |
|
22 | $ hg add b | |
23 |
|
23 | |||
24 | should still fail - maybe |
|
24 | should still fail - maybe | |
25 |
|
25 | |||
26 | $ hg add b/b |
|
26 | $ hg add b/b | |
27 |
abort: path 'b/b' traverses symbolic link 'b' |
|
27 | abort: path 'b/b' traverses symbolic link 'b' | |
28 | [255] |
|
28 | [255] | |
29 |
|
29 | |||
30 | $ hg commit -m 'add symlink b' |
|
30 | $ hg commit -m 'add symlink b' | |
@@ -86,7 +86,7 b' attack .hg/test' | |||||
86 | $ hg manifest -r0 |
|
86 | $ hg manifest -r0 | |
87 | .hg/test |
|
87 | .hg/test | |
88 | $ hg update -Cr0 |
|
88 | $ hg update -Cr0 | |
89 |
abort: path contains illegal component: .hg/test |
|
89 | abort: path contains illegal component: .hg/test | |
90 | [255] |
|
90 | [255] | |
91 |
|
91 | |||
92 | attack foo/.hg/test |
|
92 | attack foo/.hg/test | |
@@ -94,7 +94,7 b' attack foo/.hg/test' | |||||
94 | $ hg manifest -r1 |
|
94 | $ hg manifest -r1 | |
95 | foo/.hg/test |
|
95 | foo/.hg/test | |
96 | $ hg update -Cr1 |
|
96 | $ hg update -Cr1 | |
97 |
abort: path 'foo/.hg/test' is inside nested repo 'foo' |
|
97 | abort: path 'foo/.hg/test' is inside nested repo 'foo' | |
98 | [255] |
|
98 | [255] | |
99 |
|
99 | |||
100 | attack back/test where back symlinks to .. |
|
100 | attack back/test where back symlinks to .. | |
@@ -121,7 +121,7 b' attack ../test' | |||||
121 | $ mkdir ../test |
|
121 | $ mkdir ../test | |
122 | $ echo data > ../test/file |
|
122 | $ echo data > ../test/file | |
123 | $ hg update -Cr3 |
|
123 | $ hg update -Cr3 | |
124 |
abort: path contains illegal component: ../test |
|
124 | abort: path contains illegal component: ../test | |
125 | [255] |
|
125 | [255] | |
126 | $ cat ../test/file |
|
126 | $ cat ../test/file | |
127 | data |
|
127 | data | |
@@ -131,7 +131,7 b' attack /tmp/test' | |||||
131 | $ hg manifest -r4 |
|
131 | $ hg manifest -r4 | |
132 | /tmp/test |
|
132 | /tmp/test | |
133 | $ hg update -Cr4 |
|
133 | $ hg update -Cr4 | |
134 |
abort: path contains illegal component: /tmp/test |
|
134 | abort: path contains illegal component: /tmp/test | |
135 | [255] |
|
135 | [255] | |
136 |
|
136 | |||
137 | $ cd .. |
|
137 | $ cd .. |
@@ -9,7 +9,7 b' on commit:' | |||||
9 | $ hg init sub/.hg |
|
9 | $ hg init sub/.hg | |
10 | $ echo 'sub/.hg = sub/.hg' >> .hgsub |
|
10 | $ echo 'sub/.hg = sub/.hg' >> .hgsub | |
11 | $ hg ci -qAm 'add subrepo "sub/.hg"' |
|
11 | $ hg ci -qAm 'add subrepo "sub/.hg"' | |
12 |
abort: path 'sub/.hg' is inside nested repo 'sub' |
|
12 | abort: path 'sub/.hg' is inside nested repo 'sub' | |
13 | [255] |
|
13 | [255] | |
14 |
|
14 | |||
15 | prepare tampered repo (including the commit above): |
|
15 | prepare tampered repo (including the commit above): | |
@@ -33,7 +33,7 b' prepare tampered repo (including the com' | |||||
33 | on clone (and update): |
|
33 | on clone (and update): | |
34 |
|
34 | |||
35 | $ hg clone -q hgname hgname2 |
|
35 | $ hg clone -q hgname hgname2 | |
36 |
abort: path 'sub/.hg' is inside nested repo 'sub' |
|
36 | abort: path 'sub/.hg' is inside nested repo 'sub' | |
37 | [255] |
|
37 | [255] | |
38 |
|
38 | |||
39 | Test direct symlink traversal |
|
39 | Test direct symlink traversal |
@@ -4,8 +4,8 b' Create a repository:' | |||||
4 | devel.all-warnings=true |
|
4 | devel.all-warnings=true | |
5 | devel.default-date=0 0 |
|
5 | devel.default-date=0 0 | |
6 | extensions.fsmonitor= (fsmonitor !) |
|
6 | extensions.fsmonitor= (fsmonitor !) | |
7 |
largefiles.usercache=$TESTTMP/.cache/largefiles |
|
7 | largefiles.usercache=$TESTTMP/.cache/largefiles | |
8 |
lfs.usercache=$TESTTMP/.cache/lfs |
|
8 | lfs.usercache=$TESTTMP/.cache/lfs | |
9 | ui.slash=True |
|
9 | ui.slash=True | |
10 | ui.interactive=False |
|
10 | ui.interactive=False | |
11 | ui.mergemarkers=detailed |
|
11 | ui.mergemarkers=detailed |
@@ -60,7 +60,7 b' clone, commit, pull' | |||||
60 | adding c |
|
60 | adding c | |
61 | $ cd ../blackboxtest2 |
|
61 | $ cd ../blackboxtest2 | |
62 | $ hg pull |
|
62 | $ hg pull | |
63 |
pulling from $TESTTMP/blackboxtest |
|
63 | pulling from $TESTTMP/blackboxtest | |
64 | searching for changes |
|
64 | searching for changes | |
65 | adding changesets |
|
65 | adding changesets | |
66 | adding manifests |
|
66 | adding manifests | |
@@ -85,7 +85,7 b' we must not cause a failure if we cannot' | |||||
85 | $ mkdir .hg/blackbox.log |
|
85 | $ mkdir .hg/blackbox.log | |
86 | $ hg --debug incoming |
|
86 | $ hg --debug incoming | |
87 | warning: cannot write to blackbox.log: * (glob) |
|
87 | warning: cannot write to blackbox.log: * (glob) | |
88 |
comparing with $TESTTMP/blackboxtest |
|
88 | comparing with $TESTTMP/blackboxtest | |
89 | query 1; heads |
|
89 | query 1; heads | |
90 | searching for changes |
|
90 | searching for changes | |
91 | all local heads known remotely |
|
91 | all local heads known remotely | |
@@ -104,7 +104,7 b' we must not cause a failure if we cannot' | |||||
104 |
|
104 | |||
105 |
|
105 | |||
106 | $ hg pull |
|
106 | $ hg pull | |
107 |
pulling from $TESTTMP/blackboxtest |
|
107 | pulling from $TESTTMP/blackboxtest | |
108 | searching for changes |
|
108 | searching for changes | |
109 | adding changesets |
|
109 | adding changesets | |
110 | adding manifests |
|
110 | adding manifests | |
@@ -133,7 +133,7 b' backup bundles get logged' | |||||
133 | saved backup bundle to $TESTTMP/blackboxtest2/.hg/strip-backup/*-backup.hg (glob) |
|
133 | saved backup bundle to $TESTTMP/blackboxtest2/.hg/strip-backup/*-backup.hg (glob) | |
134 | $ hg blackbox -l 6 |
|
134 | $ hg blackbox -l 6 | |
135 | 1970/01/01 00:00:00 bob @73f6ee326b27d820b0472f1a825e3a50f3dc489b (5000)> strip tip |
|
135 | 1970/01/01 00:00:00 bob @73f6ee326b27d820b0472f1a825e3a50f3dc489b (5000)> strip tip | |
136 |
1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> saved backup bundle to $TESTTMP/blackboxtest2/.hg/strip-backup/73f6ee326b27-7612e004-backup.hg |
|
136 | 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> saved backup bundle to $TESTTMP/blackboxtest2/.hg/strip-backup/73f6ee326b27-7612e004-backup.hg | |
137 | 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> updated base branch cache in * seconds (glob) |
|
137 | 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> updated base branch cache in * seconds (glob) | |
138 | 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> wrote base branch cache with 1 labels and 2 nodes |
|
138 | 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> wrote base branch cache with 1 labels and 2 nodes | |
139 | 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> strip tip exited 0 after * seconds (glob) |
|
139 | 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> strip tip exited 0 after * seconds (glob) |
@@ -409,7 +409,7 b' divergent bookmarks' | |||||
409 | * foobar 1:9b140be10808 |
|
409 | * foobar 1:9b140be10808 | |
410 |
|
410 | |||
411 | $ hg pull --config paths.foo=../a foo --config "$TESTHOOK" |
|
411 | $ hg pull --config paths.foo=../a foo --config "$TESTHOOK" | |
412 |
pulling from $TESTTMP/a |
|
412 | pulling from $TESTTMP/a | |
413 | searching for changes |
|
413 | searching for changes | |
414 | adding changesets |
|
414 | adding changesets | |
415 | adding manifests |
|
415 | adding manifests | |
@@ -485,7 +485,7 b' explicit pull should overwrite the local' | |||||
485 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
485 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
486 | (activating bookmark X) |
|
486 | (activating bookmark X) | |
487 | $ hg pull --config paths.foo=../a foo -B . --config "$TESTHOOK" |
|
487 | $ hg pull --config paths.foo=../a foo -B . --config "$TESTHOOK" | |
488 |
pulling from $TESTTMP/a |
|
488 | pulling from $TESTTMP/a | |
489 | no changes found |
|
489 | no changes found | |
490 | divergent bookmark @ stored as @foo |
|
490 | divergent bookmark @ stored as @foo | |
491 | importing bookmark X |
|
491 | importing bookmark X | |
@@ -840,12 +840,12 b' Test to show result of bookmarks compari' | |||||
840 | be exchanged) |
|
840 | be exchanged) | |
841 |
|
841 | |||
842 | $ hg -R repo1 incoming -B |
|
842 | $ hg -R repo1 incoming -B | |
843 |
comparing with $TESTTMP/bmcomparison/source |
|
843 | comparing with $TESTTMP/bmcomparison/source | |
844 | searching for changed bookmarks |
|
844 | searching for changed bookmarks | |
845 | no changed bookmarks found |
|
845 | no changed bookmarks found | |
846 | [1] |
|
846 | [1] | |
847 | $ hg -R repo1 outgoing -B |
|
847 | $ hg -R repo1 outgoing -B | |
848 |
comparing with $TESTTMP/bmcomparison/source |
|
848 | comparing with $TESTTMP/bmcomparison/source | |
849 | searching for changed bookmarks |
|
849 | searching for changed bookmarks | |
850 | no changed bookmarks found |
|
850 | no changed bookmarks found | |
851 | [1] |
|
851 | [1] | |
@@ -989,7 +989,7 b' pushing an existing but divergent bookma' | |||||
989 | $ echo 2 > f2 |
|
989 | $ echo 2 > f2 | |
990 | $ hg ci -qAmr |
|
990 | $ hg ci -qAmr | |
991 | $ hg push -B X |
|
991 | $ hg push -B X | |
992 |
pushing to $TESTTMP/addmarks |
|
992 | pushing to $TESTTMP/addmarks | |
993 | searching for changes |
|
993 | searching for changes | |
994 | remote has heads on branch 'default' that are not known locally: a2a606d9ff1b |
|
994 | remote has heads on branch 'default' that are not known locally: a2a606d9ff1b | |
995 | abort: push creates new remote head 54694f811df9 with bookmark 'X'! |
|
995 | abort: push creates new remote head 54694f811df9 with bookmark 'X'! | |
@@ -1072,7 +1072,7 b' Local push' | |||||
1072 | #if b2-pushkey |
|
1072 | #if b2-pushkey | |
1073 |
|
1073 | |||
1074 | $ hg push -B @ local |
|
1074 | $ hg push -B @ local | |
1075 |
pushing to $TESTTMP/issue4455-dest |
|
1075 | pushing to $TESTTMP/issue4455-dest | |
1076 | searching for changes |
|
1076 | searching for changes | |
1077 | no changes found |
|
1077 | no changes found | |
1078 | pushkey-abort: prepushkey hook exited with status 1 |
|
1078 | pushkey-abort: prepushkey hook exited with status 1 | |
@@ -1083,7 +1083,7 b' Local push' | |||||
1083 | #if b2-binary |
|
1083 | #if b2-binary | |
1084 |
|
1084 | |||
1085 | $ hg push -B @ local |
|
1085 | $ hg push -B @ local | |
1086 |
pushing to $TESTTMP/issue4455-dest |
|
1086 | pushing to $TESTTMP/issue4455-dest | |
1087 | searching for changes |
|
1087 | searching for changes | |
1088 | no changes found |
|
1088 | no changes found | |
1089 | abort: prepushkey hook exited with status 1 |
|
1089 | abort: prepushkey hook exited with status 1 |
@@ -38,7 +38,7 b' rebase' | |||||
38 |
|
38 | |||
39 | $ hg rebase -s two -d one |
|
39 | $ hg rebase -s two -d one | |
40 | rebasing 3:2ae46b1d99a7 "3" (two tip) |
|
40 | rebasing 3:2ae46b1d99a7 "3" (two tip) | |
41 |
saved backup bundle to $TESTTMP/.hg/strip-backup/2ae46b1d99a7-e6b057bc-rebase.hg |
|
41 | saved backup bundle to $TESTTMP/.hg/strip-backup/2ae46b1d99a7-e6b057bc-rebase.hg | |
42 |
|
42 | |||
43 | $ hg log |
|
43 | $ hg log | |
44 | changeset: 3:42e5ed2cdcf4 |
|
44 | changeset: 3:42e5ed2cdcf4 |
@@ -736,7 +736,7 b' We warn about divergent during bare upda' | |||||
736 | Z 2:db815d6d32e6 |
|
736 | Z 2:db815d6d32e6 | |
737 | x y 2:db815d6d32e6 |
|
737 | x y 2:db815d6d32e6 | |
738 | $ hg -R ../cloned-bookmarks-manual-update-with-divergence pull |
|
738 | $ hg -R ../cloned-bookmarks-manual-update-with-divergence pull | |
739 |
pulling from $TESTTMP/repo |
|
739 | pulling from $TESTTMP/repo | |
740 | searching for changes |
|
740 | searching for changes | |
741 | adding changesets |
|
741 | adding changesets | |
742 | adding manifests |
|
742 | adding manifests |
@@ -61,7 +61,7 b' push with default template:' | |||||
61 | $ cat bzmock.log && rm bzmock.log |
|
61 | $ cat bzmock.log && rm bzmock.log | |
62 | update bugid=123, newstate={}, committer='test' |
|
62 | update bugid=123, newstate={}, committer='test' | |
63 | ---- |
|
63 | ---- | |
64 |
changeset 7875a8342c6f in repo $TESTTMP/mockremote refers to bug 123. |
|
64 | changeset 7875a8342c6f in repo $TESTTMP/mockremote refers to bug 123. | |
65 | details: |
|
65 | details: | |
66 | Fixes bug 123 |
|
66 | Fixes bug 123 | |
67 | ---- |
|
67 | ---- |
@@ -856,7 +856,7 b' directory does not exist' | |||||
856 | $ hg bundle --base 1 -r 3 ../update2bundled.hg |
|
856 | $ hg bundle --base 1 -r 3 ../update2bundled.hg | |
857 | 1 changesets found |
|
857 | 1 changesets found | |
858 | $ hg strip -r 3 |
|
858 | $ hg strip -r 3 | |
859 |
saved backup bundle to $TESTTMP/update2bundled/.hg/strip-backup/8bd3e1f196af-017e56d8-backup.hg |
|
859 | saved backup bundle to $TESTTMP/update2bundled/.hg/strip-backup/8bd3e1f196af-017e56d8-backup.hg | |
860 | $ hg merge -R ../update2bundled.hg -r 3 |
|
860 | $ hg merge -R ../update2bundled.hg -r 3 | |
861 | setting parent to node 8bd3e1f196af289b2b121be08031e76d7ae92098 that only exists in the bundle |
|
861 | setting parent to node 8bd3e1f196af289b2b121be08031e76d7ae92098 that only exists in the bundle | |
862 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
862 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
@@ -106,7 +106,7 b' pull' | |||||
106 | postclose-tip:02de42196ebe draft |
|
106 | postclose-tip:02de42196ebe draft | |
107 | txnclose hook: HG_HOOKNAME=txnclose.env HG_HOOKTYPE=txnclose HG_PHASES_MOVED=1 HG_TXNID=TXN:$ID$ HG_TXNNAME=phase |
|
107 | txnclose hook: HG_HOOKNAME=txnclose.env HG_HOOKTYPE=txnclose HG_PHASES_MOVED=1 HG_TXNID=TXN:$ID$ HG_TXNNAME=phase | |
108 | $ hg -R other pull -r 24b6387c8c8c |
|
108 | $ hg -R other pull -r 24b6387c8c8c | |
109 |
pulling from $TESTTMP/main |
|
109 | pulling from $TESTTMP/main | |
110 | searching for changes |
|
110 | searching for changes | |
111 | adding changesets |
|
111 | adding changesets | |
112 | adding manifests |
|
112 | adding manifests | |
@@ -137,7 +137,7 b' pull empty (with phase movement)' | |||||
137 | postclose-tip:02de42196ebe draft |
|
137 | postclose-tip:02de42196ebe draft | |
138 | txnclose hook: HG_HOOKNAME=txnclose.env HG_HOOKTYPE=txnclose HG_PHASES_MOVED=1 HG_TXNID=TXN:$ID$ HG_TXNNAME=phase |
|
138 | txnclose hook: HG_HOOKNAME=txnclose.env HG_HOOKTYPE=txnclose HG_PHASES_MOVED=1 HG_TXNID=TXN:$ID$ HG_TXNNAME=phase | |
139 | $ hg -R other pull -r 24b6387c8c8c |
|
139 | $ hg -R other pull -r 24b6387c8c8c | |
140 |
pulling from $TESTTMP/main |
|
140 | pulling from $TESTTMP/main | |
141 | no changes found |
|
141 | no changes found | |
142 | pre-close-tip:24b6387c8c8c public |
|
142 | pre-close-tip:24b6387c8c8c public | |
143 | postclose-tip:24b6387c8c8c public |
|
143 | postclose-tip:24b6387c8c8c public | |
@@ -157,7 +157,7 b' pull empty (with phase movement)' | |||||
157 | pull empty |
|
157 | pull empty | |
158 |
|
158 | |||
159 | $ hg -R other pull -r 24b6387c8c8c |
|
159 | $ hg -R other pull -r 24b6387c8c8c | |
160 |
pulling from $TESTTMP/main |
|
160 | pulling from $TESTTMP/main | |
161 | no changes found |
|
161 | no changes found | |
162 | pre-close-tip:24b6387c8c8c public |
|
162 | pre-close-tip:24b6387c8c8c public | |
163 | postclose-tip:24b6387c8c8c public |
|
163 | postclose-tip:24b6387c8c8c public |
@@ -74,7 +74,7 b' Add two linear commits' | |||||
74 | Pull the new commits in the clone |
|
74 | Pull the new commits in the clone | |
75 |
|
75 | |||
76 | $ hg pull |
|
76 | $ hg pull | |
77 |
pulling from $TESTTMP/repo |
|
77 | pulling from $TESTTMP/repo | |
78 | searching for changes |
|
78 | searching for changes | |
79 | remote: changegroup1 |
|
79 | remote: changegroup1 | |
80 | adding changesets |
|
80 | adding changesets | |
@@ -145,7 +145,7 b' pullop.cgresult' | |||||
145 |
|
145 | |||
146 | $ cd ../clone |
|
146 | $ cd ../clone | |
147 | $ hg pull |
|
147 | $ hg pull | |
148 |
pulling from $TESTTMP/repo |
|
148 | pulling from $TESTTMP/repo | |
149 | searching for changes |
|
149 | searching for changes | |
150 | remote: changegroup1 |
|
150 | remote: changegroup1 | |
151 | adding changesets |
|
151 | adding changesets | |
@@ -219,7 +219,7 b' pullop.cgresult' | |||||
219 |
|
219 | |||
220 | $ cd ../clone |
|
220 | $ cd ../clone | |
221 | $ hg pull |
|
221 | $ hg pull | |
222 |
pulling from $TESTTMP/repo |
|
222 | pulling from $TESTTMP/repo | |
223 | searching for changes |
|
223 | searching for changes | |
224 | remote: changegroup1 |
|
224 | remote: changegroup1 | |
225 | adding changesets |
|
225 | adding changesets |
@@ -178,8 +178,8 b' issue 4481: revert across case only rena' | |||||
178 | $ echo 'foo' > a/B/c/D/E |
|
178 | $ echo 'foo' > a/B/c/D/E | |
179 | $ hg ci -m 'e content change' |
|
179 | $ hg ci -m 'e content change' | |
180 | $ hg revert --all -r 0 |
|
180 | $ hg revert --all -r 0 | |
181 |
removing a/B/c/D/E |
|
181 | removing a/B/c/D/E | |
182 |
adding a/B/c/D/e |
|
182 | adding a/B/c/D/e | |
183 | $ find * | sort |
|
183 | $ find * | sort | |
184 | a |
|
184 | a | |
185 | a/B |
|
185 | a/B |
@@ -66,9 +66,9 b' Test fileset' | |||||
66 | Test template output |
|
66 | Test template output | |
67 |
|
67 | |||
68 | $ hg --cwd tmp cat ../b ../c -T '== {path} ({abspath}) ==\n{data}' |
|
68 | $ hg --cwd tmp cat ../b ../c -T '== {path} ({abspath}) ==\n{data}' | |
69 |
== ../b (b) == |
|
69 | == ../b (b) == | |
70 | 1 |
|
70 | 1 | |
71 |
== ../c (c) == |
|
71 | == ../c (c) == | |
72 | 3 |
|
72 | 3 | |
73 |
|
73 | |||
74 | $ hg cat b c -Tjson --output - |
|
74 | $ hg cat b c -Tjson --output - |
@@ -353,7 +353,7 b' Repo cloned before tainted content intro' | |||||
353 | checking files |
|
353 | checking files | |
354 | 2 files, 1 changesets, 2 total revisions |
|
354 | 2 files, 1 changesets, 2 total revisions | |
355 | $ hg pull -r $H1 -r $H2 |
|
355 | $ hg pull -r $H1 -r $H2 | |
356 |
pulling from $TESTTMP/r |
|
356 | pulling from $TESTTMP/r | |
357 | searching for changes |
|
357 | searching for changes | |
358 | adding changesets |
|
358 | adding changesets | |
359 | adding manifests |
|
359 | adding manifests | |
@@ -398,7 +398,7 b' Censored nodes can be pushed if they cen' | |||||
398 | $ hg cat -r $CLEANREV target |
|
398 | $ hg cat -r $CLEANREV target | |
399 | Re-sanitized; nothing to see here |
|
399 | Re-sanitized; nothing to see here | |
400 | $ hg push -f -r $H2 |
|
400 | $ hg push -f -r $H2 | |
401 |
pushing to $TESTTMP/r |
|
401 | pushing to $TESTTMP/r | |
402 | searching for changes |
|
402 | searching for changes | |
403 | adding changesets |
|
403 | adding changesets | |
404 | adding manifests |
|
404 | adding manifests |
@@ -33,7 +33,7 b' Sanity check check-config.py' | |||||
33 | $ $PYTHON contrib/check-config.py < $TESTTMP/files |
|
33 | $ $PYTHON contrib/check-config.py < $TESTTMP/files | |
34 | foo = ui.configint('ui', 'intdefault', default=42) |
|
34 | foo = ui.configint('ui', 'intdefault', default=42) | |
35 | conflict on ui.intdefault: ('int', '42') != ('int', '1') |
|
35 | conflict on ui.intdefault: ('int', '42') != ('int', '1') | |
36 |
at $TESTTMP/testfile.py:12: |
|
36 | at $TESTTMP/testfile.py:12: | |
37 | undocumented: ui.doesnotexist (str) |
|
37 | undocumented: ui.doesnotexist (str) | |
38 | undocumented: ui.intdefault (int) [42] |
|
38 | undocumented: ui.intdefault (int) [42] | |
39 | undocumented: ui.intdefault2 (int) [42] |
|
39 | undocumented: ui.intdefault2 (int) [42] |
@@ -138,7 +138,7 b' Check that path aliases are expanded:' | |||||
138 |
|
138 | |||
139 | $ hg clone -q -U --config 'paths.foobar=a#0' foobar f |
|
139 | $ hg clone -q -U --config 'paths.foobar=a#0' foobar f | |
140 | $ hg -R f showconfig paths.default |
|
140 | $ hg -R f showconfig paths.default | |
141 |
$TESTTMP/a#0 |
|
141 | $TESTTMP/a#0 | |
142 |
|
142 | |||
143 | Use --pull: |
|
143 | Use --pull: | |
144 |
|
144 | |||
@@ -808,7 +808,7 b' The shared repo should have been created' | |||||
808 | The destination should point to it |
|
808 | The destination should point to it | |
809 |
|
809 | |||
810 | $ cat share-dest1a/.hg/sharedpath; echo |
|
810 | $ cat share-dest1a/.hg/sharedpath; echo | |
811 |
$TESTTMP/share/b5f04eac9d8f7a6a9fcb070243cccea7dc5ea0c1/.hg |
|
811 | $TESTTMP/share/b5f04eac9d8f7a6a9fcb070243cccea7dc5ea0c1/.hg | |
812 |
|
812 | |||
813 | The destination should have bookmarks |
|
813 | The destination should have bookmarks | |
814 |
|
814 | |||
@@ -818,7 +818,7 b' The destination should have bookmarks' | |||||
818 | The default path should be the remote, not the share |
|
818 | The default path should be the remote, not the share | |
819 |
|
819 | |||
820 | $ hg -R share-dest1a config paths.default |
|
820 | $ hg -R share-dest1a config paths.default | |
821 |
$TESTTMP/source1a |
|
821 | $TESTTMP/source1a | |
822 |
|
822 | |||
823 | Clone with existing share dir should result in pull + share |
|
823 | Clone with existing share dir should result in pull + share | |
824 |
|
824 | |||
@@ -839,7 +839,7 b' Clone with existing share dir should res' | |||||
839 | b5f04eac9d8f7a6a9fcb070243cccea7dc5ea0c1 |
|
839 | b5f04eac9d8f7a6a9fcb070243cccea7dc5ea0c1 | |
840 |
|
840 | |||
841 | $ cat share-dest1b/.hg/sharedpath; echo |
|
841 | $ cat share-dest1b/.hg/sharedpath; echo | |
842 |
$TESTTMP/share/b5f04eac9d8f7a6a9fcb070243cccea7dc5ea0c1/.hg |
|
842 | $TESTTMP/share/b5f04eac9d8f7a6a9fcb070243cccea7dc5ea0c1/.hg | |
843 |
|
843 | |||
844 | We only get bookmarks from the remote, not everything in the share |
|
844 | We only get bookmarks from the remote, not everything in the share | |
845 |
|
845 | |||
@@ -850,7 +850,7 b' We only get bookmarks from the remote, n' | |||||
850 | Default path should be source, not share. |
|
850 | Default path should be source, not share. | |
851 |
|
851 | |||
852 | $ hg -R share-dest1b config paths.default |
|
852 | $ hg -R share-dest1b config paths.default | |
853 |
$TESTTMP/source1b |
|
853 | $TESTTMP/source1b | |
854 |
|
854 | |||
855 | Checked out revision should be head of default branch |
|
855 | Checked out revision should be head of default branch | |
856 |
|
856 |
@@ -41,7 +41,7 b' Amending changeset with changes in worki' | |||||
41 | $ HGEDITOR="\"sh\" \"`pwd`/editor.sh\"" hg commit --amend -m 'amend base1' |
|
41 | $ HGEDITOR="\"sh\" \"`pwd`/editor.sh\"" hg commit --amend -m 'amend base1' | |
42 | pretxncommit 43f1ba15f28a50abf0aae529cf8a16bfced7b149 |
|
42 | pretxncommit 43f1ba15f28a50abf0aae529cf8a16bfced7b149 | |
43 | 43f1ba15f28a tip |
|
43 | 43f1ba15f28a tip | |
44 |
saved backup bundle to $TESTTMP/.hg/strip-backup/489edb5b847d-5ab4f721-amend.hg |
|
44 | saved backup bundle to $TESTTMP/.hg/strip-backup/489edb5b847d-5ab4f721-amend.hg | |
45 | $ echo 'pretxncommit.foo = ' >> $HGRCPATH |
|
45 | $ echo 'pretxncommit.foo = ' >> $HGRCPATH | |
46 | $ hg diff -c . |
|
46 | $ hg diff -c . | |
47 | diff -r ad120869acf0 -r 43f1ba15f28a a |
|
47 | diff -r ad120869acf0 -r 43f1ba15f28a a | |
@@ -99,7 +99,7 b' the amend, there should be no rollback.' | |||||
99 |
|
99 | |||
100 | Add new file along with modified existing file: |
|
100 | Add new file along with modified existing file: | |
101 | $ hg ci --amend -m 'amend base1 new file' |
|
101 | $ hg ci --amend -m 'amend base1 new file' | |
102 |
saved backup bundle to $TESTTMP/.hg/strip-backup/43f1ba15f28a-007467c2-amend.hg |
|
102 | saved backup bundle to $TESTTMP/.hg/strip-backup/43f1ba15f28a-007467c2-amend.hg | |
103 |
|
103 | |||
104 | Remove file that was added in amended commit: |
|
104 | Remove file that was added in amended commit: | |
105 | (and test logfile option) |
|
105 | (and test logfile option) | |
@@ -108,7 +108,7 b' Remove file that was added in amended co' | |||||
108 | $ hg rm b |
|
108 | $ hg rm b | |
109 | $ echo 'amend base1 remove new file' > ../logfile |
|
109 | $ echo 'amend base1 remove new file' > ../logfile | |
110 | $ HGEDITOR="\"sh\" \"`pwd`/editor.sh\"" hg ci --amend --logfile ../logfile |
|
110 | $ HGEDITOR="\"sh\" \"`pwd`/editor.sh\"" hg ci --amend --logfile ../logfile | |
111 |
saved backup bundle to $TESTTMP/.hg/strip-backup/c16295aaf401-1ada9901-amend.hg |
|
111 | saved backup bundle to $TESTTMP/.hg/strip-backup/c16295aaf401-1ada9901-amend.hg | |
112 |
|
112 | |||
113 | $ hg cat b |
|
113 | $ hg cat b | |
114 | b: no such file in rev 47343646fa3d |
|
114 | b: no such file in rev 47343646fa3d | |
@@ -128,7 +128,7 b' No changes, just a different message:' | |||||
128 | 254 (changelog) |
|
128 | 254 (changelog) | |
129 | 163 (manifests) |
|
129 | 163 (manifests) | |
130 | 131 a |
|
130 | 131 a | |
131 |
saved backup bundle to $TESTTMP/.hg/strip-backup/47343646fa3d-c2758885-amend.hg |
|
131 | saved backup bundle to $TESTTMP/.hg/strip-backup/47343646fa3d-c2758885-amend.hg | |
132 | 1 changesets found |
|
132 | 1 changesets found | |
133 | uncompressed size of bundle content: |
|
133 | uncompressed size of bundle content: | |
134 | 250 (changelog) |
|
134 | 250 (changelog) | |
@@ -175,10 +175,10 b' Test -u/-d:' | |||||
175 | > EOF |
|
175 | > EOF | |
176 | $ HGEDITOR="sh .hg/checkeditform.sh" hg ci --amend -u foo -d '1 0' |
|
176 | $ HGEDITOR="sh .hg/checkeditform.sh" hg ci --amend -u foo -d '1 0' | |
177 | HGEDITFORM=commit.amend.normal |
|
177 | HGEDITFORM=commit.amend.normal | |
178 |
saved backup bundle to $TESTTMP/.hg/strip-backup/401431e913a1-5e8e532c-amend.hg |
|
178 | saved backup bundle to $TESTTMP/.hg/strip-backup/401431e913a1-5e8e532c-amend.hg | |
179 | $ echo a >> a |
|
179 | $ echo a >> a | |
180 | $ hg ci --amend -u foo -d '1 0' |
|
180 | $ hg ci --amend -u foo -d '1 0' | |
181 |
saved backup bundle to $TESTTMP/.hg/strip-backup/d96b1d28ae33-677e0afb-amend.hg |
|
181 | saved backup bundle to $TESTTMP/.hg/strip-backup/d96b1d28ae33-677e0afb-amend.hg | |
182 | $ hg log -r . |
|
182 | $ hg log -r . | |
183 | changeset: 1:a9a13940fc03 |
|
183 | changeset: 1:a9a13940fc03 | |
184 | tag: tip |
|
184 | tag: tip | |
@@ -272,7 +272,7 b' then, test editing custom commit message' | |||||
272 | 249 (changelog) |
|
272 | 249 (changelog) | |
273 | 163 (manifests) |
|
273 | 163 (manifests) | |
274 | 133 a |
|
274 | 133 a | |
275 |
saved backup bundle to $TESTTMP/.hg/strip-backup/a9a13940fc03-7c2e8674-amend.hg |
|
275 | saved backup bundle to $TESTTMP/.hg/strip-backup/a9a13940fc03-7c2e8674-amend.hg | |
276 | 1 changesets found |
|
276 | 1 changesets found | |
277 | uncompressed size of bundle content: |
|
277 | uncompressed size of bundle content: | |
278 | 257 (changelog) |
|
278 | 257 (changelog) | |
@@ -308,7 +308,7 b' Same, but with changes in working dir (d' | |||||
308 | 257 (changelog) |
|
308 | 257 (changelog) | |
309 | 163 (manifests) |
|
309 | 163 (manifests) | |
310 | 133 a |
|
310 | 133 a | |
311 |
saved backup bundle to $TESTTMP/.hg/strip-backup/64a124ba1b44-10374b8f-amend.hg |
|
311 | saved backup bundle to $TESTTMP/.hg/strip-backup/64a124ba1b44-10374b8f-amend.hg | |
312 | 1 changesets found |
|
312 | 1 changesets found | |
313 | uncompressed size of bundle content: |
|
313 | uncompressed size of bundle content: | |
314 | 257 (changelog) |
|
314 | 257 (changelog) | |
@@ -335,13 +335,13 b' Moving bookmarks, preserve active bookma' | |||||
335 | $ hg book book1 |
|
335 | $ hg book book1 | |
336 | $ hg book book2 |
|
336 | $ hg book book2 | |
337 | $ hg ci --amend -m 'move bookmarks' |
|
337 | $ hg ci --amend -m 'move bookmarks' | |
338 |
saved backup bundle to $TESTTMP/.hg/strip-backup/7892795b8e38-3fb46217-amend.hg |
|
338 | saved backup bundle to $TESTTMP/.hg/strip-backup/7892795b8e38-3fb46217-amend.hg | |
339 | $ hg book |
|
339 | $ hg book | |
340 | book1 1:8311f17e2616 |
|
340 | book1 1:8311f17e2616 | |
341 | * book2 1:8311f17e2616 |
|
341 | * book2 1:8311f17e2616 | |
342 | $ echo a >> a |
|
342 | $ echo a >> a | |
343 | $ hg ci --amend -m 'move bookmarks' |
|
343 | $ hg ci --amend -m 'move bookmarks' | |
344 |
saved backup bundle to $TESTTMP/.hg/strip-backup/8311f17e2616-f0504fe3-amend.hg |
|
344 | saved backup bundle to $TESTTMP/.hg/strip-backup/8311f17e2616-f0504fe3-amend.hg | |
345 | $ hg book |
|
345 | $ hg book | |
346 | book1 1:a3b65065808c |
|
346 | book1 1:a3b65065808c | |
347 | * book2 1:a3b65065808c |
|
347 | * book2 1:a3b65065808c | |
@@ -375,7 +375,7 b' Moving branches:' | |||||
375 | $ hg branch default -f |
|
375 | $ hg branch default -f | |
376 | marked working directory as branch default |
|
376 | marked working directory as branch default | |
377 | $ hg ci --amend -m 'back to default' |
|
377 | $ hg ci --amend -m 'back to default' | |
378 |
saved backup bundle to $TESTTMP/.hg/strip-backup/f8339a38efe1-c18453c9-amend.hg |
|
378 | saved backup bundle to $TESTTMP/.hg/strip-backup/f8339a38efe1-c18453c9-amend.hg | |
379 | $ hg branches |
|
379 | $ hg branches | |
380 | default 2:9c07515f2650 |
|
380 | default 2:9c07515f2650 | |
381 |
|
381 | |||
@@ -391,7 +391,7 b' Close branch:' | |||||
391 | $ echo b >> b |
|
391 | $ echo b >> b | |
392 | $ hg ci -mb |
|
392 | $ hg ci -mb | |
393 | $ hg ci --amend --close-branch -m 'closing branch foo' |
|
393 | $ hg ci --amend --close-branch -m 'closing branch foo' | |
394 |
saved backup bundle to $TESTTMP/.hg/strip-backup/c962248fa264-54245dc7-amend.hg |
|
394 | saved backup bundle to $TESTTMP/.hg/strip-backup/c962248fa264-54245dc7-amend.hg | |
395 |
|
395 | |||
396 | Same thing, different code path: |
|
396 | Same thing, different code path: | |
397 |
|
397 | |||
@@ -400,7 +400,7 b' Same thing, different code path:' | |||||
400 | reopening closed branch head 4 |
|
400 | reopening closed branch head 4 | |
401 | $ echo b >> b |
|
401 | $ echo b >> b | |
402 | $ hg ci --amend --close-branch |
|
402 | $ hg ci --amend --close-branch | |
403 |
saved backup bundle to $TESTTMP/.hg/strip-backup/027371728205-b900d9fa-amend.hg |
|
403 | saved backup bundle to $TESTTMP/.hg/strip-backup/027371728205-b900d9fa-amend.hg | |
404 | $ hg branches |
|
404 | $ hg branches | |
405 | default 2:9c07515f2650 |
|
405 | default 2:9c07515f2650 | |
406 |
|
406 | |||
@@ -421,7 +421,7 b' Follow copies/renames:' | |||||
421 | $ hg ci -m 'b -> c' |
|
421 | $ hg ci -m 'b -> c' | |
422 | $ hg mv c d |
|
422 | $ hg mv c d | |
423 | $ hg ci --amend -m 'b -> d' |
|
423 | $ hg ci --amend -m 'b -> d' | |
424 |
saved backup bundle to $TESTTMP/.hg/strip-backup/42f3f27a067d-f23cc9f7-amend.hg |
|
424 | saved backup bundle to $TESTTMP/.hg/strip-backup/42f3f27a067d-f23cc9f7-amend.hg | |
425 | $ hg st --rev '.^' --copies d |
|
425 | $ hg st --rev '.^' --copies d | |
426 | A d |
|
426 | A d | |
427 | b |
|
427 | b | |
@@ -429,7 +429,7 b' Follow copies/renames:' | |||||
429 | $ hg ci -m 'e = d' |
|
429 | $ hg ci -m 'e = d' | |
430 | $ hg cp e f |
|
430 | $ hg cp e f | |
431 | $ hg ci --amend -m 'f = d' |
|
431 | $ hg ci --amend -m 'f = d' | |
432 |
saved backup bundle to $TESTTMP/.hg/strip-backup/9198f73182d5-251d584a-amend.hg |
|
432 | saved backup bundle to $TESTTMP/.hg/strip-backup/9198f73182d5-251d584a-amend.hg | |
433 | $ hg st --rev '.^' --copies f |
|
433 | $ hg st --rev '.^' --copies f | |
434 | A f |
|
434 | A f | |
435 | d |
|
435 | d | |
@@ -440,7 +440,7 b' Follow copies/renames:' | |||||
440 | $ hg cp a f |
|
440 | $ hg cp a f | |
441 | $ mv f.orig f |
|
441 | $ mv f.orig f | |
442 | $ hg ci --amend -m replacef |
|
442 | $ hg ci --amend -m replacef | |
443 |
saved backup bundle to $TESTTMP/.hg/strip-backup/f0993ab6b482-eda301bf-amend.hg |
|
443 | saved backup bundle to $TESTTMP/.hg/strip-backup/f0993ab6b482-eda301bf-amend.hg | |
444 | $ hg st --change . --copies |
|
444 | $ hg st --change . --copies | |
445 | $ hg log -r . --template "{file_copies}\n" |
|
445 | $ hg log -r . --template "{file_copies}\n" | |
446 |
|
446 | |||
@@ -452,7 +452,7 b' Move added file (issue3410):' | |||||
452 | adding g |
|
452 | adding g | |
453 | $ hg mv g h |
|
453 | $ hg mv g h | |
454 | $ hg ci --amend |
|
454 | $ hg ci --amend | |
455 |
saved backup bundle to $TESTTMP/.hg/strip-backup/58585e3f095c-0f5ebcda-amend.hg |
|
455 | saved backup bundle to $TESTTMP/.hg/strip-backup/58585e3f095c-0f5ebcda-amend.hg | |
456 | $ hg st --change . --copies h |
|
456 | $ hg st --change . --copies h | |
457 | A h |
|
457 | A h | |
458 | $ hg log -r . --template "{file_copies}\n" |
|
458 | $ hg log -r . --template "{file_copies}\n" | |
@@ -472,11 +472,11 b' Preserve extra dict (issue3430):' | |||||
472 | $ echo a >> a |
|
472 | $ echo a >> a | |
473 | $ hg ci -ma |
|
473 | $ hg ci -ma | |
474 | $ hg ci --amend -m "a'" |
|
474 | $ hg ci --amend -m "a'" | |
475 |
saved backup bundle to $TESTTMP/.hg/strip-backup/39a162f1d65e-9dfe13d8-amend.hg |
|
475 | saved backup bundle to $TESTTMP/.hg/strip-backup/39a162f1d65e-9dfe13d8-amend.hg | |
476 | $ hg log -r . --template "{branch}\n" |
|
476 | $ hg log -r . --template "{branch}\n" | |
477 | a |
|
477 | a | |
478 | $ hg ci --amend -m "a''" |
|
478 | $ hg ci --amend -m "a''" | |
479 |
saved backup bundle to $TESTTMP/.hg/strip-backup/d5ca7b1ac72b-0b4c1a34-amend.hg |
|
479 | saved backup bundle to $TESTTMP/.hg/strip-backup/d5ca7b1ac72b-0b4c1a34-amend.hg | |
480 | $ hg log -r . --template "{branch}\n" |
|
480 | $ hg log -r . --template "{branch}\n" | |
481 | a |
|
481 | a | |
482 |
|
482 | |||
@@ -493,7 +493,7 b" first graft something so there's an addi" | |||||
493 | $ hg graft 12 |
|
493 | $ hg graft 12 | |
494 | grafting 12:2647734878ef "fork" (tip) |
|
494 | grafting 12:2647734878ef "fork" (tip) | |
495 | $ hg ci --amend -m 'graft amend' |
|
495 | $ hg ci --amend -m 'graft amend' | |
496 |
saved backup bundle to $TESTTMP/.hg/strip-backup/fe8c6f7957ca-25638666-amend.hg |
|
496 | saved backup bundle to $TESTTMP/.hg/strip-backup/fe8c6f7957ca-25638666-amend.hg | |
497 | $ hg log -r . --debug | grep extra |
|
497 | $ hg log -r . --debug | grep extra | |
498 | extra: amend_source=fe8c6f7957ca1665ed77496ed7a07657d469ac60 |
|
498 | extra: amend_source=fe8c6f7957ca1665ed77496ed7a07657d469ac60 | |
499 | extra: branch=a |
|
499 | extra: branch=a | |
@@ -1112,7 +1112,7 b' directory)' | |||||
1112 | marked working directory as branch newdirname |
|
1112 | marked working directory as branch newdirname | |
1113 | (branches are permanent and global, did you want a bookmark?) |
|
1113 | (branches are permanent and global, did you want a bookmark?) | |
1114 | $ hg mv olddirname newdirname |
|
1114 | $ hg mv olddirname newdirname | |
1115 |
moving olddirname/commonfile.py to newdirname/commonfile.py |
|
1115 | moving olddirname/commonfile.py to newdirname/commonfile.py | |
1116 | $ hg ci -m rename |
|
1116 | $ hg ci -m rename | |
1117 |
|
1117 | |||
1118 | $ hg update default |
|
1118 | $ hg update default | |
@@ -1130,7 +1130,7 b' directory)' | |||||
1130 | $ hg ci -m add |
|
1130 | $ hg ci -m add | |
1131 | $ |
|
1131 | $ | |
1132 | $ hg debugrename newdirname/newfile.py |
|
1132 | $ hg debugrename newdirname/newfile.py | |
1133 |
newdirname/newfile.py renamed from olddirname/newfile.py:690b295714aed510803d3020da9c70fca8336def |
|
1133 | newdirname/newfile.py renamed from olddirname/newfile.py:690b295714aed510803d3020da9c70fca8336def | |
1134 | $ hg status -C --change . |
|
1134 | $ hg status -C --change . | |
1135 | A newdirname/newfile.py |
|
1135 | A newdirname/newfile.py | |
1136 | $ hg status -C --rev 1 |
|
1136 | $ hg status -C --rev 1 | |
@@ -1149,7 +1149,7 b' directory)' | |||||
1149 | $ echo a >> newdirname/commonfile.py |
|
1149 | $ echo a >> newdirname/commonfile.py | |
1150 | $ hg ci --amend -m bug |
|
1150 | $ hg ci --amend -m bug | |
1151 | $ hg debugrename newdirname/newfile.py |
|
1151 | $ hg debugrename newdirname/newfile.py | |
1152 |
newdirname/newfile.py renamed from olddirname/newfile.py:690b295714aed510803d3020da9c70fca8336def |
|
1152 | newdirname/newfile.py renamed from olddirname/newfile.py:690b295714aed510803d3020da9c70fca8336def | |
1153 | $ hg debugindex newdirname/newfile.py |
|
1153 | $ hg debugindex newdirname/newfile.py | |
1154 | rev offset length delta linkrev nodeid p1 p2 |
|
1154 | rev offset length delta linkrev nodeid p1 p2 | |
1155 | 0 0 89 -1 3 34a4d536c0c0 000000000000 000000000000 |
|
1155 | 0 0 89 -1 3 34a4d536c0c0 000000000000 000000000000 |
@@ -206,7 +206,7 b' Amend option works' | |||||
206 | > X |
|
206 | > X | |
207 | > EOF |
|
207 | > EOF | |
208 | $ hg commit -i -m "newly added file" -d "0 0" |
|
208 | $ hg commit -i -m "newly added file" -d "0 0" | |
209 |
saved backup bundle to $TESTTMP/a/.hg/strip-backup/2b0e9be4d336-3cf0bc8c-amend.hg |
|
209 | saved backup bundle to $TESTTMP/a/.hg/strip-backup/2b0e9be4d336-3cf0bc8c-amend.hg | |
210 | $ hg diff -c . |
|
210 | $ hg diff -c . | |
211 | diff -r a6735021574d -r c1d239d165ae x |
|
211 | diff -r a6735021574d -r c1d239d165ae x | |
212 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
212 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
@@ -61,7 +61,7 b' commit added file that has been deleted' | |||||
61 | $ mkdir dir |
|
61 | $ mkdir dir | |
62 | $ echo boo > dir/file |
|
62 | $ echo boo > dir/file | |
63 | $ hg add |
|
63 | $ hg add | |
64 |
adding dir/file |
|
64 | adding dir/file | |
65 | $ hg -v commit -m commit-9 dir |
|
65 | $ hg -v commit -m commit-9 dir | |
66 | committing files: |
|
66 | committing files: | |
67 | dir/file |
|
67 | dir/file | |
@@ -180,8 +180,8 b' partial subdir commit test' | |||||
180 | $ mkdir bar |
|
180 | $ mkdir bar | |
181 | $ echo bar > bar/bar |
|
181 | $ echo bar > bar/bar | |
182 | $ hg add |
|
182 | $ hg add | |
183 |
adding bar/bar |
|
183 | adding bar/bar | |
184 |
adding foo/foo |
|
184 | adding foo/foo | |
185 | $ HGEDITOR=cat hg ci -e -m commit-subdir-1 foo |
|
185 | $ HGEDITOR=cat hg ci -e -m commit-subdir-1 foo | |
186 | commit-subdir-1 |
|
186 | commit-subdir-1 | |
187 |
|
187 | |||
@@ -680,7 +680,7 b' verify pathauditor blocks evil filepaths' | |||||
680 | > EOF |
|
680 | > EOF | |
681 | $ $PYTHON evil-commit.py |
|
681 | $ $PYTHON evil-commit.py | |
682 | $ hg co --clean tip |
|
682 | $ hg co --clean tip | |
683 |
abort: path contains illegal component: HG~1/hgrc |
|
683 | abort: path contains illegal component: HG~1/hgrc | |
684 | [255] |
|
684 | [255] | |
685 |
|
685 | |||
686 | $ hg rollback -f |
|
686 | $ hg rollback -f | |
@@ -699,7 +699,7 b' verify pathauditor blocks evil filepaths' | |||||
699 | > EOF |
|
699 | > EOF | |
700 | $ $PYTHON evil-commit.py |
|
700 | $ $PYTHON evil-commit.py | |
701 | $ hg co --clean tip |
|
701 | $ hg co --clean tip | |
702 |
abort: path contains illegal component: HG8B6C~2/hgrc |
|
702 | abort: path contains illegal component: HG8B6C~2/hgrc | |
703 | [255] |
|
703 | [255] | |
704 |
|
704 | |||
705 | # test that an unmodified commit template message aborts |
|
705 | # test that an unmodified commit template message aborts |
@@ -7,7 +7,7 b' Invalid syntax: no value' | |||||
7 | > novaluekey |
|
7 | > novaluekey | |
8 | > EOF |
|
8 | > EOF | |
9 | $ hg showconfig |
|
9 | $ hg showconfig | |
10 |
hg: parse error at $TESTTMP/.hg/hgrc:1: novaluekey |
|
10 | hg: parse error at $TESTTMP/.hg/hgrc:1: novaluekey | |
11 | [255] |
|
11 | [255] | |
12 |
|
12 | |||
13 | Invalid syntax: no key |
|
13 | Invalid syntax: no key | |
@@ -16,7 +16,7 b' Invalid syntax: no key' | |||||
16 | > =nokeyvalue |
|
16 | > =nokeyvalue | |
17 | > EOF |
|
17 | > EOF | |
18 | $ hg showconfig |
|
18 | $ hg showconfig | |
19 |
hg: parse error at $TESTTMP/.hg/hgrc:1: =nokeyvalue |
|
19 | hg: parse error at $TESTTMP/.hg/hgrc:1: =nokeyvalue | |
20 | [255] |
|
20 | [255] | |
21 |
|
21 | |||
22 | Test hint about invalid syntax from leading white space |
|
22 | Test hint about invalid syntax from leading white space | |
@@ -25,7 +25,7 b' Test hint about invalid syntax from lead' | |||||
25 | > key=value |
|
25 | > key=value | |
26 | > EOF |
|
26 | > EOF | |
27 | $ hg showconfig |
|
27 | $ hg showconfig | |
28 |
hg: parse error at $TESTTMP/.hg/hgrc:1: key=value |
|
28 | hg: parse error at $TESTTMP/.hg/hgrc:1: key=value | |
29 | unexpected leading whitespace |
|
29 | unexpected leading whitespace | |
30 | [255] |
|
30 | [255] | |
31 |
|
31 | |||
@@ -34,7 +34,7 b' Test hint about invalid syntax from lead' | |||||
34 | > key=value |
|
34 | > key=value | |
35 | > EOF |
|
35 | > EOF | |
36 | $ hg showconfig |
|
36 | $ hg showconfig | |
37 |
hg: parse error at $TESTTMP/.hg/hgrc:1: [section] |
|
37 | hg: parse error at $TESTTMP/.hg/hgrc:1: [section] | |
38 | unexpected leading whitespace |
|
38 | unexpected leading whitespace | |
39 | [255] |
|
39 | [255] | |
40 |
|
40 |
@@ -27,7 +27,7 b' Explicit --authors' | |||||
27 | sorting... |
|
27 | sorting... | |
28 | converting... |
|
28 | converting... | |
29 | 0 foo |
|
29 | 0 foo | |
30 |
writing author map file $TESTTMP/new/.hg/authormap |
|
30 | writing author map file $TESTTMP/new/.hg/authormap | |
31 | $ cat new/.hg/authormap |
|
31 | $ cat new/.hg/authormap | |
32 | user name=Long User Name |
|
32 | user name=Long User Name | |
33 | $ hg -Rnew log |
|
33 | $ hg -Rnew log | |
@@ -44,7 +44,7 b' Implicit .hg/authormap' | |||||
44 | $ hg init new |
|
44 | $ hg init new | |
45 | $ mv authormap.txt new/.hg/authormap |
|
45 | $ mv authormap.txt new/.hg/authormap | |
46 | $ hg convert orig new |
|
46 | $ hg convert orig new | |
47 |
ignoring bad line in author map file $TESTTMP/new/.hg/authormap: this line is ignored |
|
47 | ignoring bad line in author map file $TESTTMP/new/.hg/authormap: this line is ignored | |
48 | scanning source... |
|
48 | scanning source... | |
49 | sorting... |
|
49 | sorting... | |
50 | converting... |
|
50 | converting... |
@@ -637,7 +637,7 b' test named branch pruning' | |||||
637 | $ cd namedbranch |
|
637 | $ cd namedbranch | |
638 | $ hg --config extensions.mq= strip tip |
|
638 | $ hg --config extensions.mq= strip tip | |
639 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
639 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
640 |
saved backup bundle to $TESTTMP/namedbranch/.hg/strip-backup/73899bcbe45c-92adf160-backup.hg |
|
640 | saved backup bundle to $TESTTMP/namedbranch/.hg/strip-backup/73899bcbe45c-92adf160-backup.hg | |
641 | $ hg up foo |
|
641 | $ hg up foo | |
642 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
642 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
643 | $ hg merge default |
|
643 | $ hg merge default |
@@ -936,7 +936,7 b' damage git repository by renaming a comm' | |||||
936 | $ COMMIT_OBJ=1c/0ce3c5886f83a1d78a7b517cdff5cf9ca17bdd |
|
936 | $ COMMIT_OBJ=1c/0ce3c5886f83a1d78a7b517cdff5cf9ca17bdd | |
937 | $ mv git-repo4/.git/objects/$COMMIT_OBJ git-repo4/.git/objects/$COMMIT_OBJ.tmp |
|
937 | $ mv git-repo4/.git/objects/$COMMIT_OBJ git-repo4/.git/objects/$COMMIT_OBJ.tmp | |
938 | $ hg convert git-repo4 git-repo4-broken-hg 2>&1 | grep 'abort:' |
|
938 | $ hg convert git-repo4 git-repo4-broken-hg 2>&1 | grep 'abort:' | |
939 |
abort: cannot retrieve number of commits in $TESTTMP/git-repo4/.git |
|
939 | abort: cannot retrieve number of commits in $TESTTMP/git-repo4/.git | |
940 | $ mv git-repo4/.git/objects/$COMMIT_OBJ.tmp git-repo4/.git/objects/$COMMIT_OBJ |
|
940 | $ mv git-repo4/.git/objects/$COMMIT_OBJ.tmp git-repo4/.git/objects/$COMMIT_OBJ | |
941 | damage git repository by renaming a blob object |
|
941 | damage git repository by renaming a blob object | |
942 |
|
942 |
@@ -48,8 +48,8 b' Modify' | |||||
48 | 0 modify a file |
|
48 | 0 modify a file | |
49 | $ svnupanddisplay a-hg-wc 2 |
|
49 | $ svnupanddisplay a-hg-wc 2 | |
50 | 2 1 test d1 |
|
50 | 2 1 test d1 | |
51 |
2 1 test d1/d2 |
|
51 | 2 1 test d1/d2 | |
52 |
2 1 test d1/d2/b |
|
52 | 2 1 test d1/d2/b | |
53 | 2 2 test . |
|
53 | 2 2 test . | |
54 | 2 2 test a |
|
54 | 2 2 test a | |
55 | revision: 2 |
|
55 | revision: 2 | |
@@ -89,8 +89,8 b' Rename' | |||||
89 | 0 rename a file |
|
89 | 0 rename a file | |
90 | $ svnupanddisplay a-hg-wc 1 |
|
90 | $ svnupanddisplay a-hg-wc 1 | |
91 | 3 1 test d1 |
|
91 | 3 1 test d1 | |
92 |
3 1 test d1/d2 |
|
92 | 3 1 test d1/d2 | |
93 |
3 1 test d1/d2/b |
|
93 | 3 1 test d1/d2/b | |
94 | 3 3 test . |
|
94 | 3 3 test . | |
95 | 3 3 test b |
|
95 | 3 3 test b | |
96 | revision: 3 |
|
96 | revision: 3 | |
@@ -124,8 +124,8 b' Copy' | |||||
124 | 0 copy a file |
|
124 | 0 copy a file | |
125 | $ svnupanddisplay a-hg-wc 1 |
|
125 | $ svnupanddisplay a-hg-wc 1 | |
126 | 4 1 test d1 |
|
126 | 4 1 test d1 | |
127 |
4 1 test d1/d2 |
|
127 | 4 1 test d1/d2 | |
128 |
4 1 test d1/d2/b |
|
128 | 4 1 test d1/d2/b | |
129 | 4 3 test b |
|
129 | 4 3 test b | |
130 | 4 4 test . |
|
130 | 4 4 test . | |
131 | 4 4 test c |
|
131 | 4 4 test c | |
@@ -161,8 +161,8 b' Remove' | |||||
161 | 0 remove a file |
|
161 | 0 remove a file | |
162 | $ svnupanddisplay a-hg-wc 1 |
|
162 | $ svnupanddisplay a-hg-wc 1 | |
163 | 5 1 test d1 |
|
163 | 5 1 test d1 | |
164 |
5 1 test d1/d2 |
|
164 | 5 1 test d1/d2 | |
165 |
5 1 test d1/d2/b |
|
165 | 5 1 test d1/d2/b | |
166 | 5 4 test c |
|
166 | 5 4 test c | |
167 | 5 5 test . |
|
167 | 5 5 test . | |
168 | revision: 5 |
|
168 | revision: 5 | |
@@ -203,8 +203,8 b' Executable' | |||||
203 | 0 make a file executable |
|
203 | 0 make a file executable | |
204 | $ svnupanddisplay a-hg-wc 1 |
|
204 | $ svnupanddisplay a-hg-wc 1 | |
205 | 6 1 test d1 |
|
205 | 6 1 test d1 | |
206 |
6 1 test d1/d2 |
|
206 | 6 1 test d1/d2 | |
207 |
6 1 test d1/d2/b |
|
207 | 6 1 test d1/d2/b | |
208 | 6 6 test . |
|
208 | 6 6 test . | |
209 | 6 6 test c |
|
209 | 6 6 test c | |
210 | revision: 6 |
|
210 | revision: 6 | |
@@ -256,7 +256,7 b" Make sure our changes don't affect the r" | |||||
256 | $ hg --cwd a up 5 |
|
256 | $ hg --cwd a up 5 | |
257 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
257 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
258 | $ hg --cwd a --config extensions.strip= strip -r 6 |
|
258 | $ hg --cwd a --config extensions.strip= strip -r 6 | |
259 |
saved backup bundle to $TESTTMP/a/.hg/strip-backup/bd4f7b7a7067-ed505e42-backup.hg |
|
259 | saved backup bundle to $TESTTMP/a/.hg/strip-backup/bd4f7b7a7067-ed505e42-backup.hg | |
260 |
|
260 | |||
261 | #endif |
|
261 | #endif | |
262 |
|
262 | |||
@@ -312,7 +312,7 b' Executable in new directory' | |||||
312 | $ svnupanddisplay a-hg-wc 1 |
|
312 | $ svnupanddisplay a-hg-wc 1 | |
313 | 1 1 test . |
|
313 | 1 1 test . | |
314 | 1 1 test d1 |
|
314 | 1 1 test d1 | |
315 |
1 1 test d1/a |
|
315 | 1 1 test d1/a | |
316 | revision: 1 |
|
316 | revision: 1 | |
317 | author: test |
|
317 | author: test | |
318 | msg: add executable file in new directory |
|
318 | msg: add executable file in new directory | |
@@ -337,10 +337,10 b' Copy to new directory' | |||||
337 | 0 copy file to new directory |
|
337 | 0 copy file to new directory | |
338 | $ svnupanddisplay a-hg-wc 1 |
|
338 | $ svnupanddisplay a-hg-wc 1 | |
339 | 2 1 test d1 |
|
339 | 2 1 test d1 | |
340 |
2 1 test d1/a |
|
340 | 2 1 test d1/a | |
341 | 2 2 test . |
|
341 | 2 2 test . | |
342 | 2 2 test d2 |
|
342 | 2 2 test d2 | |
343 |
2 2 test d2/a |
|
343 | 2 2 test d2/a | |
344 | revision: 2 |
|
344 | revision: 2 | |
345 | author: test |
|
345 | author: test | |
346 | msg: copy file to new directory |
|
346 | msg: copy file to new directory |
@@ -32,8 +32,8 b' Initial svn import' | |||||
32 | $ cd .. |
|
32 | $ cd .. | |
33 |
|
33 | |||
34 | $ svn import -m "init projB" projB "$SVNREPOURL/proj%20B" | filter_svn_output | sort |
|
34 | $ svn import -m "init projB" projB "$SVNREPOURL/proj%20B" | filter_svn_output | sort | |
35 |
Adding projB/mytrunk |
|
35 | Adding projB/mytrunk | |
36 |
Adding projB/tags |
|
36 | Adding projB/tags | |
37 | Committed revision 1. |
|
37 | Committed revision 1. | |
38 |
|
38 | |||
39 | Update svn repository |
|
39 | Update svn repository |
@@ -476,7 +476,7 b' running from a devel copy, not a temp in' | |||||
476 | assuming destination emptydir-hg |
|
476 | assuming destination emptydir-hg | |
477 | initializing destination emptydir-hg repository |
|
477 | initializing destination emptydir-hg repository | |
478 | emptydir does not look like a CVS checkout |
|
478 | emptydir does not look like a CVS checkout | |
479 |
$TESTTMP/emptydir does not look like a Git repository |
|
479 | $TESTTMP/emptydir does not look like a Git repository | |
480 | emptydir does not look like a Subversion repository |
|
480 | emptydir does not look like a Subversion repository | |
481 | emptydir is not a local Mercurial repository |
|
481 | emptydir is not a local Mercurial repository | |
482 | emptydir does not look like a darcs repository |
|
482 | emptydir does not look like a darcs repository |
@@ -82,7 +82,7 b' Test disabling copy tracing' | |||||
82 |
|
82 | |||
83 | $ hg strip -r . --config extensions.strip= |
|
83 | $ hg strip -r . --config extensions.strip= | |
84 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
84 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
85 |
saved backup bundle to $TESTTMP/t/.hg/strip-backup/550bd84c0cd3-fc575957-backup.hg |
|
85 | saved backup bundle to $TESTTMP/t/.hg/strip-backup/550bd84c0cd3-fc575957-backup.hg | |
86 | $ hg up -qC 2 |
|
86 | $ hg up -qC 2 | |
87 | $ hg rebase --keep -d 1 -b 2 --config extensions.rebase= --config experimental.copytrace=off --config ui.interactive=True << EOF |
|
87 | $ hg rebase --keep -d 1 -b 2 --config extensions.rebase= --config experimental.copytrace=off --config ui.interactive=True << EOF | |
88 | > c |
|
88 | > c | |
@@ -122,7 +122,7 b' Verify disabling copy tracing still keep' | |||||
122 |
|
122 | |||
123 | $ hg rebase -d . -b 2 --config extensions.rebase= --config experimental.copytrace=off |
|
123 | $ hg rebase -d . -b 2 --config extensions.rebase= --config experimental.copytrace=off | |
124 | rebasing 2:6adcf8c12e7d "copy b->x" |
|
124 | rebasing 2:6adcf8c12e7d "copy b->x" | |
125 |
saved backup bundle to $TESTTMP/copydisable/.hg/strip-backup/6adcf8c12e7d-ce4b3e75-rebase.hg |
|
125 | saved backup bundle to $TESTTMP/copydisable/.hg/strip-backup/6adcf8c12e7d-ce4b3e75-rebase.hg | |
126 | $ hg up -q 3 |
|
126 | $ hg up -q 3 | |
127 | $ hg log -f x -T '{rev} {desc}\n' |
|
127 | $ hg log -f x -T '{rev} {desc}\n' | |
128 | 3 copy b->x |
|
128 | 3 copy b->x | |
@@ -155,7 +155,7 b' Verify we duplicate existing copies, ins' | |||||
155 |
|
155 | |||
156 | $ hg rebase -d 2 -s 3 --config extensions.rebase= --config experimental.copytrace=off |
|
156 | $ hg rebase -d 2 -s 3 --config extensions.rebase= --config experimental.copytrace=off | |
157 | rebasing 3:47e1a9e6273b "copy a->b (2)" (tip) |
|
157 | rebasing 3:47e1a9e6273b "copy a->b (2)" (tip) | |
158 |
saved backup bundle to $TESTTMP/copydisable3/.hg/strip-backup/47e1a9e6273b-2d099c59-rebase.hg |
|
158 | saved backup bundle to $TESTTMP/copydisable3/.hg/strip-backup/47e1a9e6273b-2d099c59-rebase.hg | |
159 |
|
159 | |||
160 | $ hg log -G -f b |
|
160 | $ hg log -G -f b | |
161 | @ changeset: 3:76024fb4b05b |
|
161 | @ changeset: 3:76024fb4b05b |
@@ -55,7 +55,7 b' Check filename heuristics (same dirname ' | |||||
55 | rebasing 2:557f403c0afd "mod a, mod dir/file.txt" (tip) |
|
55 | rebasing 2:557f403c0afd "mod a, mod dir/file.txt" (tip) | |
56 | merging b and a to b |
|
56 | merging b and a to b | |
57 | merging dir2/file.txt and dir/file.txt to dir2/file.txt |
|
57 | merging dir2/file.txt and dir/file.txt to dir2/file.txt | |
58 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/557f403c0afd-9926eeff-rebase.hg |
|
58 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/557f403c0afd-9926eeff-rebase.hg | |
59 | $ cd .. |
|
59 | $ cd .. | |
60 | $ rm -rf repo |
|
60 | $ rm -rf repo | |
61 |
|
61 | |||
@@ -125,7 +125,7 b" Test when lca didn't modified the file t" | |||||
125 | $ hg rebase -s . -d 2 |
|
125 | $ hg rebase -s . -d 2 | |
126 | rebasing 3:9d5cf99c3d9f "mod a" (tip) |
|
126 | rebasing 3:9d5cf99c3d9f "mod a" (tip) | |
127 | merging b and a to b |
|
127 | merging b and a to b | |
128 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/9d5cf99c3d9f-f02358cc-rebase.hg |
|
128 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/9d5cf99c3d9f-f02358cc-rebase.hg | |
129 | $ cd .. |
|
129 | $ cd .. | |
130 | $ rm -rf repo |
|
130 | $ rm -rf repo | |
131 |
|
131 | |||
@@ -160,7 +160,7 b' Rebase "backwards"' | |||||
160 | $ hg rebase -s . -d 0 |
|
160 | $ hg rebase -s . -d 0 | |
161 | rebasing 3:fbe97126b396 "mod b" (tip) |
|
161 | rebasing 3:fbe97126b396 "mod b" (tip) | |
162 | merging a and b to a |
|
162 | merging a and b to a | |
163 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/fbe97126b396-cf5452a1-rebase.hg |
|
163 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/fbe97126b396-cf5452a1-rebase.hg | |
164 | $ cd .. |
|
164 | $ cd .. | |
165 | $ rm -rf repo |
|
165 | $ rm -rf repo | |
166 |
|
166 | |||
@@ -197,7 +197,7 b' Check a few potential move candidates' | |||||
197 | $ hg rebase -s . -d 2 |
|
197 | $ hg rebase -s . -d 2 | |
198 | rebasing 3:6b2f4cece40f "mod dir/a" (tip) |
|
198 | rebasing 3:6b2f4cece40f "mod dir/a" (tip) | |
199 | merging dir/b and dir/a to dir/b |
|
199 | merging dir/b and dir/a to dir/b | |
200 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/6b2f4cece40f-503efe60-rebase.hg |
|
200 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/6b2f4cece40f-503efe60-rebase.hg | |
201 | $ cd .. |
|
201 | $ cd .. | |
202 | $ rm -rf repo |
|
202 | $ rm -rf repo | |
203 |
|
203 | |||
@@ -255,7 +255,7 b' With default limit which is 100' | |||||
255 | $ hg rebase -s 2 -d 1 |
|
255 | $ hg rebase -s 2 -d 1 | |
256 | rebasing 2:ef716627c70b "mod a" (tip) |
|
256 | rebasing 2:ef716627c70b "mod a" (tip) | |
257 | merging foo and a to foo |
|
257 | merging foo and a to foo | |
258 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/ef716627c70b-24681561-rebase.hg |
|
258 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/ef716627c70b-24681561-rebase.hg | |
259 |
|
259 | |||
260 | $ cd .. |
|
260 | $ cd .. | |
261 | $ rm -rf repo |
|
261 | $ rm -rf repo | |
@@ -286,7 +286,7 b' Move file in one branch and delete it in' | |||||
286 |
|
286 | |||
287 | $ hg rebase -s 1 -d 2 |
|
287 | $ hg rebase -s 1 -d 2 | |
288 | rebasing 1:472e38d57782 "mv a b" |
|
288 | rebasing 1:472e38d57782 "mv a b" | |
289 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/472e38d57782-17d50e29-rebase.hg |
|
289 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/472e38d57782-17d50e29-rebase.hg | |
290 | $ hg up -q c492ed3c7e35dcd1dc938053b8adf56e2cfbd062 |
|
290 | $ hg up -q c492ed3c7e35dcd1dc938053b8adf56e2cfbd062 | |
291 | $ ls |
|
291 | $ ls | |
292 | b |
|
292 | b | |
@@ -320,7 +320,7 b' Move a directory in draft branch' | |||||
320 | $ hg rebase -s . -d 1 |
|
320 | $ hg rebase -s . -d 1 | |
321 | rebasing 2:a33d80b6e352 "mv dir/ dir2/" (tip) |
|
321 | rebasing 2:a33d80b6e352 "mv dir/ dir2/" (tip) | |
322 | merging dir/a and dir2/a to dir2/a |
|
322 | merging dir/a and dir2/a to dir2/a | |
323 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/a33d80b6e352-fecb9ada-rebase.hg |
|
323 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/a33d80b6e352-fecb9ada-rebase.hg | |
324 | $ cd .. |
|
324 | $ cd .. | |
325 | $ rm -rf server |
|
325 | $ rm -rf server | |
326 | $ rm -rf repo |
|
326 | $ rm -rf repo | |
@@ -355,7 +355,7 b' Move file twice and rebase mod on top of' | |||||
355 | $ hg rebase -s . -d 2 |
|
355 | $ hg rebase -s . -d 2 | |
356 | rebasing 3:d41316942216 "mod a" (tip) |
|
356 | rebasing 3:d41316942216 "mod a" (tip) | |
357 | merging c and a to c |
|
357 | merging c and a to c | |
358 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/d41316942216-2b5949bc-rebase.hg |
|
358 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/d41316942216-2b5949bc-rebase.hg | |
359 |
|
359 | |||
360 | $ cd .. |
|
360 | $ cd .. | |
361 | $ rm -rf repo |
|
361 | $ rm -rf repo | |
@@ -391,7 +391,7 b' Move file twice and rebase moves on top ' | |||||
391 | merging a and b to b |
|
391 | merging a and b to b | |
392 | rebasing 2:d3efd280421d "mv b c" |
|
392 | rebasing 2:d3efd280421d "mv b c" | |
393 | merging b and c to c |
|
393 | merging b and c to c | |
394 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/472e38d57782-ab8d3c58-rebase.hg |
|
394 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/472e38d57782-ab8d3c58-rebase.hg | |
395 |
|
395 | |||
396 | $ cd .. |
|
396 | $ cd .. | |
397 | $ rm -rf repo |
|
397 | $ rm -rf repo | |
@@ -428,7 +428,7 b' Move one file and add another file in th' | |||||
428 | $ hg rebase -s . -d 2 |
|
428 | $ hg rebase -s . -d 2 | |
429 | rebasing 3:ef716627c70b "mod a" (tip) |
|
429 | rebasing 3:ef716627c70b "mod a" (tip) | |
430 | merging b and a to b |
|
430 | merging b and a to b | |
431 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/ef716627c70b-24681561-rebase.hg |
|
431 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/ef716627c70b-24681561-rebase.hg | |
432 | $ ls |
|
432 | $ ls | |
433 | b |
|
433 | b | |
434 | c |
|
434 | c | |
@@ -500,7 +500,7 b' Copy and move file' | |||||
500 | rebasing 2:ef716627c70b "mod a" (tip) |
|
500 | rebasing 2:ef716627c70b "mod a" (tip) | |
501 | merging b and a to b |
|
501 | merging b and a to b | |
502 | merging c and a to c |
|
502 | merging c and a to c | |
503 |
saved backup bundle to $TESTTMP/repo/repo/.hg/strip-backup/ef716627c70b-24681561-rebase.hg |
|
503 | saved backup bundle to $TESTTMP/repo/repo/.hg/strip-backup/ef716627c70b-24681561-rebase.hg | |
504 | $ ls |
|
504 | $ ls | |
505 | b |
|
505 | b | |
506 | c |
|
506 | c | |
@@ -624,7 +624,7 b' File directory and base name changed in ' | |||||
624 | $ hg rebase -s . -d 1 --config experimental.copytrace.sourcecommitlimit=100 |
|
624 | $ hg rebase -s . -d 1 --config experimental.copytrace.sourcecommitlimit=100 | |
625 | rebasing 2:6207d2d318e7 "mod a" (tip) |
|
625 | rebasing 2:6207d2d318e7 "mod a" (tip) | |
626 | merging dir2/b and dir1/a to dir2/b |
|
626 | merging dir2/b and dir1/a to dir2/b | |
627 |
saved backup bundle to $TESTTMP/repo/repo/.hg/strip-backup/6207d2d318e7-1c9779ad-rebase.hg |
|
627 | saved backup bundle to $TESTTMP/repo/repo/.hg/strip-backup/6207d2d318e7-1c9779ad-rebase.hg | |
628 | $ cat dir2/b |
|
628 | $ cat dir2/b | |
629 | a |
|
629 | a | |
630 | b |
|
630 | b | |
@@ -661,7 +661,7 b' in other merge parent. File moved on reb' | |||||
661 |
|
661 | |||
662 | $ hg rebase -s . -d 1 --config experimental.copytrace.sourcecommitlimit=100 |
|
662 | $ hg rebase -s . -d 1 --config experimental.copytrace.sourcecommitlimit=100 | |
663 | rebasing 2:e8919e7df8d0 "mv dir1 dir2" (tip) |
|
663 | rebasing 2:e8919e7df8d0 "mv dir1 dir2" (tip) | |
664 |
saved backup bundle to $TESTTMP/repo/repo/.hg/strip-backup/e8919e7df8d0-f62fab62-rebase.hg |
|
664 | saved backup bundle to $TESTTMP/repo/repo/.hg/strip-backup/e8919e7df8d0-f62fab62-rebase.hg | |
665 | $ ls dir2 |
|
665 | $ ls dir2 | |
666 | a |
|
666 | a | |
667 | dummy |
|
667 | dummy | |
@@ -711,6 +711,6 b' fullcopytracing' | |||||
711 | $ hg rebase -s 8b6e13696 -d . --config experimental.copytrace.sourcecommitlimit=100 |
|
711 | $ hg rebase -s 8b6e13696 -d . --config experimental.copytrace.sourcecommitlimit=100 | |
712 | rebasing 1:8b6e13696c38 "added more things to a" |
|
712 | rebasing 1:8b6e13696c38 "added more things to a" | |
713 | merging foo/bar and a to foo/bar |
|
713 | merging foo/bar and a to foo/bar | |
714 |
saved backup bundle to $TESTTMP/repo/repo/repo/.hg/strip-backup/8b6e13696c38-fc14ac83-rebase.hg |
|
714 | saved backup bundle to $TESTTMP/repo/repo/repo/.hg/strip-backup/8b6e13696c38-fc14ac83-rebase.hg | |
715 | $ cd .. |
|
715 | $ cd .. | |
716 | $ rm -rf repo |
|
716 | $ rm -rf repo |
@@ -27,7 +27,7 b" Push should provide a hint when both 'de" | |||||
27 | Push should push to 'default' when 'default-push' not set: |
|
27 | Push should push to 'default' when 'default-push' not set: | |
28 |
|
28 | |||
29 | $ hg --cwd b push |
|
29 | $ hg --cwd b push | |
30 |
pushing to $TESTTMP/a |
|
30 | pushing to $TESTTMP/a | |
31 | searching for changes |
|
31 | searching for changes | |
32 | adding changesets |
|
32 | adding changesets | |
33 | adding manifests |
|
33 | adding manifests | |
@@ -39,7 +39,7 b" Push should push to 'default-push' when " | |||||
39 | $ echo '[paths]' >> b/.hg/hgrc |
|
39 | $ echo '[paths]' >> b/.hg/hgrc | |
40 | $ echo 'default-push = ../c' >> b/.hg/hgrc |
|
40 | $ echo 'default-push = ../c' >> b/.hg/hgrc | |
41 | $ hg --cwd b push |
|
41 | $ hg --cwd b push | |
42 |
pushing to $TESTTMP/c |
|
42 | pushing to $TESTTMP/c | |
43 | searching for changes |
|
43 | searching for changes | |
44 | adding changesets |
|
44 | adding changesets | |
45 | adding manifests |
|
45 | adding manifests | |
@@ -49,7 +49,7 b" Push should push to 'default-push' when " | |||||
49 | But push should push to 'default' if explicitly specified (issue5000): |
|
49 | But push should push to 'default' if explicitly specified (issue5000): | |
50 |
|
50 | |||
51 | $ hg --cwd b push default |
|
51 | $ hg --cwd b push default | |
52 |
pushing to $TESTTMP/a |
|
52 | pushing to $TESTTMP/a | |
53 | searching for changes |
|
53 | searching for changes | |
54 | no changes found |
|
54 | no changes found | |
55 | [1] |
|
55 | [1] | |
@@ -63,7 +63,7 b" Push should push to 'default-push' when " | |||||
63 | $ touch foo |
|
63 | $ touch foo | |
64 | $ hg -q commit -A -m 'add foo' |
|
64 | $ hg -q commit -A -m 'add foo' | |
65 | $ hg --config paths.default-push=../a push |
|
65 | $ hg --config paths.default-push=../a push | |
66 |
pushing to $TESTTMP/a |
|
66 | pushing to $TESTTMP/a | |
67 | searching for changes |
|
67 | searching for changes | |
68 | adding changesets |
|
68 | adding changesets | |
69 | adding manifests |
|
69 | adding manifests |
@@ -100,7 +100,7 b' diffstat within directories:' | |||||
100 | 1 files changed, 1 insertions(+), 0 deletions(-) |
|
100 | 1 files changed, 1 insertions(+), 0 deletions(-) | |
101 |
|
101 | |||
102 | $ hg diff --stat --root ../dir1 ../dir2 |
|
102 | $ hg diff --stat --root ../dir1 ../dir2 | |
103 |
warning: ../dir2 not inside relative root . |
|
103 | warning: ../dir2 not inside relative root . | |
104 |
|
104 | |||
105 | $ hg diff --stat --root . -I old |
|
105 | $ hg diff --stat --root . -I old | |
106 |
|
106 |
@@ -45,7 +45,7 b' confused with a file with the exec bit s' | |||||
45 | #endif |
|
45 | #endif | |
46 |
|
46 | |||
47 | $ hg add b dir1 d e |
|
47 | $ hg add b dir1 d e | |
48 |
adding dir1/c |
|
48 | adding dir1/c | |
49 | $ hg commit -m test2 |
|
49 | $ hg commit -m test2 | |
50 |
|
50 | |||
51 | $ cat >> $TESTTMP/dirstaterace.py << EOF |
|
51 | $ cat >> $TESTTMP/dirstaterace.py << EOF |
@@ -11,9 +11,9 b'' | |||||
11 | adding a/b/c/d/y |
|
11 | adding a/b/c/d/y | |
12 | adding a/b/c/d/z |
|
12 | adding a/b/c/d/z | |
13 | $ hg mv a z |
|
13 | $ hg mv a z | |
14 |
moving a/b/c/d/x to z/b/c/d/x |
|
14 | moving a/b/c/d/x to z/b/c/d/x | |
15 |
moving a/b/c/d/y to z/b/c/d/y |
|
15 | moving a/b/c/d/y to z/b/c/d/y | |
16 |
moving a/b/c/d/z to z/b/c/d/z |
|
16 | moving a/b/c/d/z to z/b/c/d/z | |
17 |
|
17 | |||
18 | Test name collisions |
|
18 | Test name collisions | |
19 |
|
19 |
@@ -90,7 +90,7 b" However, we can't prevent it from loadin" | |||||
90 | $ mkdir -p badrepo/.hg |
|
90 | $ mkdir -p badrepo/.hg | |
91 | $ echo 'invalid-syntax' > badrepo/.hg/hgrc |
|
91 | $ echo 'invalid-syntax' > badrepo/.hg/hgrc | |
92 | $ hg log -b -Rbadrepo default |
|
92 | $ hg log -b -Rbadrepo default | |
93 |
hg: parse error at badrepo/.hg/hgrc:1: invalid-syntax |
|
93 | hg: parse error at badrepo/.hg/hgrc:1: invalid-syntax | |
94 | [255] |
|
94 | [255] | |
95 |
|
95 | |||
96 | $ hg log -b --cwd=inexistent default |
|
96 | $ hg log -b --cwd=inexistent default |
@@ -261,12 +261,12 b' Change file contents via comments' | |||||
261 | a |
|
261 | a | |
262 | FILE B |
|
262 | FILE B | |
263 | b |
|
263 | b | |
264 |
FILE dir1/a |
|
264 | FILE dir1/a | |
265 | 1 |
|
265 | 1 | |
266 | 2 |
|
266 | 2 | |
267 |
FILE dir1/c |
|
267 | FILE dir1/c | |
268 | 5 |
|
268 | 5 | |
269 |
FILE dir2/b |
|
269 | FILE dir2/b | |
270 | 34 |
|
270 | 34 | |
271 |
FILE dir2/c |
|
271 | FILE dir2/c | |
272 | 6 |
|
272 | 6 |
@@ -180,7 +180,7 b' Check "from __future__ import absolute_i' | |||||
180 | > EOF |
|
180 | > EOF | |
181 | $ (PYTHONPATH=${PYTHONPATH}${PATHSEP}${TESTTMP}/libroot; hg --config extensions.loadabs=loadabs.py root) |
|
181 | $ (PYTHONPATH=${PYTHONPATH}${PATHSEP}${TESTTMP}/libroot; hg --config extensions.loadabs=loadabs.py root) | |
182 | ambigabs.s=libroot/ambig.py |
|
182 | ambigabs.s=libroot/ambig.py | |
183 |
$TESTTMP/a |
|
183 | $TESTTMP/a | |
184 |
|
184 | |||
185 | #if no-py3k |
|
185 | #if no-py3k | |
186 | $ cat > $TESTTMP/libroot/mod/ambigrel.py <<EOF |
|
186 | $ cat > $TESTTMP/libroot/mod/ambigrel.py <<EOF | |
@@ -194,7 +194,7 b' Check "from __future__ import absolute_i' | |||||
194 | > EOF |
|
194 | > EOF | |
195 | $ (PYTHONPATH=${PYTHONPATH}${PATHSEP}${TESTTMP}/libroot; hg --config extensions.loadrel=loadrel.py root) |
|
195 | $ (PYTHONPATH=${PYTHONPATH}${PATHSEP}${TESTTMP}/libroot; hg --config extensions.loadrel=loadrel.py root) | |
196 | ambigrel.s=libroot/mod/ambig.py |
|
196 | ambigrel.s=libroot/mod/ambig.py | |
197 |
$TESTTMP/a |
|
197 | $TESTTMP/a | |
198 | #endif |
|
198 | #endif | |
199 |
|
199 | |||
200 | Check absolute/relative import of extension specific modules |
|
200 | Check absolute/relative import of extension specific modules | |
@@ -245,7 +245,7 b' Check absolute/relative import of extens' | |||||
245 | (extroot) import extroot: this is extroot.__init__ |
|
245 | (extroot) import extroot: this is extroot.__init__ | |
246 | (extroot) from extroot.bar import s: this is extroot.bar |
|
246 | (extroot) from extroot.bar import s: this is extroot.bar | |
247 | (extroot) import extroot.bar in func(): this is extroot.bar |
|
247 | (extroot) import extroot.bar in func(): this is extroot.bar | |
248 |
$TESTTMP/a |
|
248 | $TESTTMP/a | |
249 |
|
249 | |||
250 | #if no-py3k |
|
250 | #if no-py3k | |
251 | $ rm "$TESTTMP"/extroot/foo.* |
|
251 | $ rm "$TESTTMP"/extroot/foo.* | |
@@ -277,7 +277,7 b' Check absolute/relative import of extens' | |||||
277 | (extroot) import sub1: this is extroot.sub1.__init__ |
|
277 | (extroot) import sub1: this is extroot.sub1.__init__ | |
278 | (extroot) from bar import s: this is extroot.bar |
|
278 | (extroot) from bar import s: this is extroot.bar | |
279 | (extroot) import bar in func(): this is extroot.bar |
|
279 | (extroot) import bar in func(): this is extroot.bar | |
280 |
$TESTTMP/a |
|
280 | $TESTTMP/a | |
281 | #endif |
|
281 | #endif | |
282 |
|
282 | |||
283 | #if demandimport |
|
283 | #if demandimport | |
@@ -1225,7 +1225,7 b' Broken disabled extension and command:' | |||||
1225 | > cmdtable = None |
|
1225 | > cmdtable = None | |
1226 | > EOF |
|
1226 | > EOF | |
1227 | $ hg --config extensions.path=./path.py help foo > /dev/null |
|
1227 | $ hg --config extensions.path=./path.py help foo > /dev/null | |
1228 |
warning: error finding commands in $TESTTMP/hgext/forest.py |
|
1228 | warning: error finding commands in $TESTTMP/hgext/forest.py | |
1229 | abort: no such help topic: foo |
|
1229 | abort: no such help topic: foo | |
1230 | (try 'hg help --keyword foo') |
|
1230 | (try 'hg help --keyword foo') | |
1231 | [255] |
|
1231 | [255] | |
@@ -1503,17 +1503,17 b' Commands handling multiple repositories ' | |||||
1503 | $ echo '# enable extension locally' >> src/.hg/hgrc |
|
1503 | $ echo '# enable extension locally' >> src/.hg/hgrc | |
1504 | $ echo "reposetuptest = $TESTTMP/reposetuptest.py" >> src/.hg/hgrc |
|
1504 | $ echo "reposetuptest = $TESTTMP/reposetuptest.py" >> src/.hg/hgrc | |
1505 | $ hg -R src status |
|
1505 | $ hg -R src status | |
1506 |
reposetup() for $TESTTMP/reposetup-test/src |
|
1506 | reposetup() for $TESTTMP/reposetup-test/src | |
1507 |
reposetup() for $TESTTMP/reposetup-test/src ( |
|
1507 | reposetup() for $TESTTMP/reposetup-test/src (chg !) | |
1508 |
|
1508 | |||
1509 | $ hg clone -U src clone-dst1 |
|
1509 | $ hg clone -U src clone-dst1 | |
1510 |
reposetup() for $TESTTMP/reposetup-test/src |
|
1510 | reposetup() for $TESTTMP/reposetup-test/src | |
1511 | $ hg init push-dst1 |
|
1511 | $ hg init push-dst1 | |
1512 | $ hg -q -R src push push-dst1 |
|
1512 | $ hg -q -R src push push-dst1 | |
1513 |
reposetup() for $TESTTMP/reposetup-test/src |
|
1513 | reposetup() for $TESTTMP/reposetup-test/src | |
1514 | $ hg init pull-src1 |
|
1514 | $ hg init pull-src1 | |
1515 | $ hg -q -R pull-src1 pull src |
|
1515 | $ hg -q -R pull-src1 pull src | |
1516 |
reposetup() for $TESTTMP/reposetup-test/src |
|
1516 | reposetup() for $TESTTMP/reposetup-test/src | |
1517 |
|
1517 | |||
1518 | $ cat <<EOF >> $HGRCPATH |
|
1518 | $ cat <<EOF >> $HGRCPATH | |
1519 | > [extensions] |
|
1519 | > [extensions] | |
@@ -1521,13 +1521,13 b' Commands handling multiple repositories ' | |||||
1521 | > reposetuptest = ! |
|
1521 | > reposetuptest = ! | |
1522 | > EOF |
|
1522 | > EOF | |
1523 | $ hg clone -U src clone-dst2 |
|
1523 | $ hg clone -U src clone-dst2 | |
1524 |
reposetup() for $TESTTMP/reposetup-test/src |
|
1524 | reposetup() for $TESTTMP/reposetup-test/src | |
1525 | $ hg init push-dst2 |
|
1525 | $ hg init push-dst2 | |
1526 | $ hg -q -R src push push-dst2 |
|
1526 | $ hg -q -R src push push-dst2 | |
1527 |
reposetup() for $TESTTMP/reposetup-test/src |
|
1527 | reposetup() for $TESTTMP/reposetup-test/src | |
1528 | $ hg init pull-src2 |
|
1528 | $ hg init pull-src2 | |
1529 | $ hg -q -R pull-src2 pull src |
|
1529 | $ hg -q -R pull-src2 pull src | |
1530 |
reposetup() for $TESTTMP/reposetup-test/src |
|
1530 | reposetup() for $TESTTMP/reposetup-test/src | |
1531 |
|
1531 | |||
1532 | $ cat <<EOF >> $HGRCPATH |
|
1532 | $ cat <<EOF >> $HGRCPATH | |
1533 | > [extensions] |
|
1533 | > [extensions] | |
@@ -1535,32 +1535,32 b' Commands handling multiple repositories ' | |||||
1535 | > reposetuptest = $TESTTMP/reposetuptest.py |
|
1535 | > reposetuptest = $TESTTMP/reposetuptest.py | |
1536 | > EOF |
|
1536 | > EOF | |
1537 | $ hg clone -U src clone-dst3 |
|
1537 | $ hg clone -U src clone-dst3 | |
1538 |
reposetup() for $TESTTMP/reposetup-test/src |
|
1538 | reposetup() for $TESTTMP/reposetup-test/src | |
1539 |
reposetup() for $TESTTMP/reposetup-test/clone-dst3 |
|
1539 | reposetup() for $TESTTMP/reposetup-test/clone-dst3 | |
1540 | $ hg init push-dst3 |
|
1540 | $ hg init push-dst3 | |
1541 |
reposetup() for $TESTTMP/reposetup-test/push-dst3 |
|
1541 | reposetup() for $TESTTMP/reposetup-test/push-dst3 | |
1542 | $ hg -q -R src push push-dst3 |
|
1542 | $ hg -q -R src push push-dst3 | |
1543 |
reposetup() for $TESTTMP/reposetup-test/src |
|
1543 | reposetup() for $TESTTMP/reposetup-test/src | |
1544 |
reposetup() for $TESTTMP/reposetup-test/push-dst3 |
|
1544 | reposetup() for $TESTTMP/reposetup-test/push-dst3 | |
1545 | $ hg init pull-src3 |
|
1545 | $ hg init pull-src3 | |
1546 |
reposetup() for $TESTTMP/reposetup-test/pull-src3 |
|
1546 | reposetup() for $TESTTMP/reposetup-test/pull-src3 | |
1547 | $ hg -q -R pull-src3 pull src |
|
1547 | $ hg -q -R pull-src3 pull src | |
1548 |
reposetup() for $TESTTMP/reposetup-test/pull-src3 |
|
1548 | reposetup() for $TESTTMP/reposetup-test/pull-src3 | |
1549 |
reposetup() for $TESTTMP/reposetup-test/src |
|
1549 | reposetup() for $TESTTMP/reposetup-test/src | |
1550 |
|
1550 | |||
1551 | $ echo '[extensions]' >> src/.hg/hgrc |
|
1551 | $ echo '[extensions]' >> src/.hg/hgrc | |
1552 | $ echo '# disable extension locally' >> src/.hg/hgrc |
|
1552 | $ echo '# disable extension locally' >> src/.hg/hgrc | |
1553 | $ echo 'reposetuptest = !' >> src/.hg/hgrc |
|
1553 | $ echo 'reposetuptest = !' >> src/.hg/hgrc | |
1554 | $ hg clone -U src clone-dst4 |
|
1554 | $ hg clone -U src clone-dst4 | |
1555 |
reposetup() for $TESTTMP/reposetup-test/clone-dst4 |
|
1555 | reposetup() for $TESTTMP/reposetup-test/clone-dst4 | |
1556 | $ hg init push-dst4 |
|
1556 | $ hg init push-dst4 | |
1557 |
reposetup() for $TESTTMP/reposetup-test/push-dst4 |
|
1557 | reposetup() for $TESTTMP/reposetup-test/push-dst4 | |
1558 | $ hg -q -R src push push-dst4 |
|
1558 | $ hg -q -R src push push-dst4 | |
1559 |
reposetup() for $TESTTMP/reposetup-test/push-dst4 |
|
1559 | reposetup() for $TESTTMP/reposetup-test/push-dst4 | |
1560 | $ hg init pull-src4 |
|
1560 | $ hg init pull-src4 | |
1561 |
reposetup() for $TESTTMP/reposetup-test/pull-src4 |
|
1561 | reposetup() for $TESTTMP/reposetup-test/pull-src4 | |
1562 | $ hg -q -R pull-src4 pull src |
|
1562 | $ hg -q -R pull-src4 pull src | |
1563 |
reposetup() for $TESTTMP/reposetup-test/pull-src4 |
|
1563 | reposetup() for $TESTTMP/reposetup-test/pull-src4 | |
1564 |
|
1564 | |||
1565 | disabling in command line overlays with all configuration |
|
1565 | disabling in command line overlays with all configuration | |
1566 | $ hg --config extensions.reposetuptest=! clone -U src clone-dst5 |
|
1566 | $ hg --config extensions.reposetuptest=! clone -U src clone-dst5 | |
@@ -1605,8 +1605,8 b' disabling in command line overlays with ' | |||||
1605 | $ echo "reposetuptest = $TESTTMP/reposetuptest.py" >> parent/.hg/hgrc |
|
1605 | $ echo "reposetuptest = $TESTTMP/reposetuptest.py" >> parent/.hg/hgrc | |
1606 | $ cp parent/.hg/hgrc parent/sub2/.hg/hgrc |
|
1606 | $ cp parent/.hg/hgrc parent/sub2/.hg/hgrc | |
1607 | $ hg -R parent status -S -A |
|
1607 | $ hg -R parent status -S -A | |
1608 |
reposetup() for $TESTTMP/reposetup-test/parent |
|
1608 | reposetup() for $TESTTMP/reposetup-test/parent | |
1609 |
reposetup() for $TESTTMP/reposetup-test/parent/sub2 |
|
1609 | reposetup() for $TESTTMP/reposetup-test/parent/sub2 | |
1610 | C .hgsub |
|
1610 | C .hgsub | |
1611 | C .hgsubstate |
|
1611 | C .hgsubstate | |
1612 | C sub1/1 |
|
1612 | C sub1/1 |
@@ -81,7 +81,7 b'' | |||||
81 |
|
81 | |||
82 | # Push to the server |
|
82 | # Push to the server | |
83 | $ hg push |
|
83 | $ hg push | |
84 |
pushing to $TESTTMP/server |
|
84 | pushing to $TESTTMP/server | |
85 | searching for changes |
|
85 | searching for changes | |
86 | adding changesets |
|
86 | adding changesets | |
87 | adding manifests |
|
87 | adding manifests | |
@@ -101,7 +101,7 b'' | |||||
101 |
|
101 | |||
102 | # Pull from server and update to latest revision |
|
102 | # Pull from server and update to latest revision | |
103 | $ hg pull default |
|
103 | $ hg pull default | |
104 |
pulling from $TESTTMP/server |
|
104 | pulling from $TESTTMP/server | |
105 | requesting all changes |
|
105 | requesting all changes | |
106 | adding changesets |
|
106 | adding changesets | |
107 | adding manifests |
|
107 | adding manifests |
@@ -14,7 +14,7 b' Testing a.i/b:' | |||||
14 | $ mkdir a.i |
|
14 | $ mkdir a.i | |
15 | $ echo "some other text" > a.i/b |
|
15 | $ echo "some other text" > a.i/b | |
16 | $ hg add |
|
16 | $ hg add | |
17 |
adding a.i/b |
|
17 | adding a.i/b | |
18 | $ hg ci -m second |
|
18 | $ hg ci -m second | |
19 | $ cat .hg/store/fncache | sort |
|
19 | $ cat .hg/store/fncache | sort | |
20 | data/a.i |
|
20 | data/a.i | |
@@ -25,7 +25,7 b' Testing a.i.hg/c:' | |||||
25 | $ mkdir a.i.hg |
|
25 | $ mkdir a.i.hg | |
26 | $ echo "yet another text" > a.i.hg/c |
|
26 | $ echo "yet another text" > a.i.hg/c | |
27 | $ hg add |
|
27 | $ hg add | |
28 |
adding a.i.hg/c |
|
28 | adding a.i.hg/c | |
29 | $ hg ci -m third |
|
29 | $ hg ci -m third | |
30 | $ cat .hg/store/fncache | sort |
|
30 | $ cat .hg/store/fncache | sort | |
31 | data/a.i |
|
31 | data/a.i |
@@ -154,7 +154,7 b' Test format.aggressivemergedeltas' | |||||
154 | Test that strip bundle use bundle2 |
|
154 | Test that strip bundle use bundle2 | |
155 | $ hg --config extensions.strip= strip . |
|
155 | $ hg --config extensions.strip= strip . | |
156 | 0 files updated, 0 files merged, 5 files removed, 0 files unresolved |
|
156 | 0 files updated, 0 files merged, 5 files removed, 0 files unresolved | |
157 |
saved backup bundle to $TESTTMP/aggressive/.hg/strip-backup/1c5d4dc9a8b8-6c68e60c-backup.hg |
|
157 | saved backup bundle to $TESTTMP/aggressive/.hg/strip-backup/1c5d4dc9a8b8-6c68e60c-backup.hg | |
158 | $ hg debugbundle .hg/strip-backup/* |
|
158 | $ hg debugbundle .hg/strip-backup/* | |
159 | Stream params: {Compression: BZ} |
|
159 | Stream params: {Compression: BZ} | |
160 | changegroup -- {nbchanges: 1, version: 02} |
|
160 | changegroup -- {nbchanges: 1, version: 02} |
@@ -99,7 +99,7 b' Cross and same-directory copies with a r' | |||||
99 | warning: dir2 not inside relative root dir1 |
|
99 | warning: dir2 not inside relative root dir1 | |
100 |
|
100 | |||
101 | $ hg diff --git --root dir1 -r 1:tip 'dir2/{copy}' |
|
101 | $ hg diff --git --root dir1 -r 1:tip 'dir2/{copy}' | |
102 |
warning: dir2/{copy} not inside relative root dir1 |
|
102 | warning: dir2/{copy} not inside relative root dir1 | |
103 |
|
103 | |||
104 |
$ |
|
104 | $ cd dir1 | |
105 | $ hg diff --git --root .. -r 1:tip |
|
105 | $ hg diff --git --root .. -r 1:tip | |
@@ -161,7 +161,7 b' Cross and same-directory copies with a r' | |||||
161 | new |
|
161 | new | |
162 | +copy1 |
|
162 | +copy1 | |
163 | $ hg diff --git --root . -r 1:tip ../dir2 |
|
163 | $ hg diff --git --root . -r 1:tip ../dir2 | |
164 |
warning: ../dir2 not inside relative root . |
|
164 | warning: ../dir2 not inside relative root . | |
165 | $ hg diff --git --root . -r 1:tip '../dir2/*' |
|
165 | $ hg diff --git --root . -r 1:tip '../dir2/*' | |
166 | warning: ../dir2/* not inside relative root . (glob) |
|
166 | warning: ../dir2/* not inside relative root . (glob) | |
167 | $ cd .. |
|
167 | $ cd .. |
@@ -88,7 +88,7 b' Implicit -R:' | |||||
88 | abort: no repository found in '$TESTTMP' (.hg not found)! |
|
88 | abort: no repository found in '$TESTTMP' (.hg not found)! | |
89 | [255] |
|
89 | [255] | |
90 | $ hg -R b ann a/a |
|
90 | $ hg -R b ann a/a | |
91 |
abort: a/a not under root '$TESTTMP/b' |
|
91 | abort: a/a not under root '$TESTTMP/b' | |
92 | (consider using '--cwd b') |
|
92 | (consider using '--cwd b') | |
93 | [255] |
|
93 | [255] | |
94 | $ hg log |
|
94 | $ hg log |
@@ -811,7 +811,7 b' but do some destructive editing of the r' | |||||
811 | $ hg up -qC 7 |
|
811 | $ hg up -qC 7 | |
812 | $ hg tag -l -r 13 tmp |
|
812 | $ hg tag -l -r 13 tmp | |
813 | $ hg --config extensions.strip= strip 2 |
|
813 | $ hg --config extensions.strip= strip 2 | |
814 |
saved backup bundle to $TESTTMP/a/.hg/strip-backup/5c095ad7e90f-d323a1e4-backup.hg |
|
814 | saved backup bundle to $TESTTMP/a/.hg/strip-backup/5c095ad7e90f-d323a1e4-backup.hg | |
815 | $ hg graft tmp |
|
815 | $ hg graft tmp | |
816 | skipping already grafted revision 8:7a4785234d87 (2:ef0ef43d49e7 also has unknown origin 5c095ad7e90f) |
|
816 | skipping already grafted revision 8:7a4785234d87 (2:ef0ef43d49e7 also has unknown origin 5c095ad7e90f) | |
817 | [255] |
|
817 | [255] |
@@ -155,7 +155,7 b' Push to repo r1 should break up most har' | |||||
155 |
|
155 | |||
156 | $ cd r3 |
|
156 | $ cd r3 | |
157 | $ hg push |
|
157 | $ hg push | |
158 |
pushing to $TESTTMP/r1 |
|
158 | pushing to $TESTTMP/r1 | |
159 | searching for changes |
|
159 | searching for changes | |
160 | adding changesets |
|
160 | adding changesets | |
161 | adding manifests |
|
161 | adding manifests |
@@ -59,9 +59,9 b' Ensure given files are relative to cwd' | |||||
59 | I dir/c.o |
|
59 | I dir/c.o | |
60 |
|
60 | |||
61 | $ hg debugignore dir/c.o dir/missing.o |
|
61 | $ hg debugignore dir/c.o dir/missing.o | |
62 |
dir/c.o is ignored |
|
62 | dir/c.o is ignored | |
63 | (ignore rule in $TESTTMP/ignorerepo/.hgignore, line 1: 'dir/.*\.o') (glob) |
|
63 | (ignore rule in $TESTTMP/ignorerepo/.hgignore, line 1: 'dir/.*\.o') (glob) | |
64 |
dir/missing.o is ignored |
|
64 | dir/missing.o is ignored | |
65 | (ignore rule in $TESTTMP/ignorerepo/.hgignore, line 1: 'dir/.*\.o') (glob) |
|
65 | (ignore rule in $TESTTMP/ignorerepo/.hgignore, line 1: 'dir/.*\.o') (glob) | |
66 | $ cd dir |
|
66 | $ cd dir | |
67 | $ hg debugignore c.o missing.o |
|
67 | $ hg debugignore c.o missing.o | |
@@ -164,7 +164,7 b' Test relative ignore path (issue4473):' | |||||
164 |
|
164 | |||
165 | $ echo "syntax: invalid" > .hgignore |
|
165 | $ echo "syntax: invalid" > .hgignore | |
166 | $ hg status |
|
166 | $ hg status | |
167 |
$TESTTMP/ignorerepo/.hgignore: ignoring invalid syntax 'invalid' |
|
167 | $TESTTMP/ignorerepo/.hgignore: ignoring invalid syntax 'invalid' | |
168 | A dir/b.o |
|
168 | A dir/b.o | |
169 | ? .hgignore |
|
169 | ? .hgignore | |
170 | ? a.c |
|
170 | ? a.c | |
@@ -236,7 +236,7 b' Check recursive glob pattern matches no ' | |||||
236 | $ hg debugignore a.c |
|
236 | $ hg debugignore a.c | |
237 | a.c is not ignored |
|
237 | a.c is not ignored | |
238 | $ hg debugignore dir/c.o |
|
238 | $ hg debugignore dir/c.o | |
239 |
dir/c.o is ignored |
|
239 | dir/c.o is ignored | |
240 | (ignore rule in $TESTTMP/ignorerepo/.hgignore, line 2: 'dir/**/c.o') (glob) |
|
240 | (ignore rule in $TESTTMP/ignorerepo/.hgignore, line 2: 'dir/**/c.o') (glob) | |
241 |
|
241 | |||
242 | Check using 'include:' in ignore file |
|
242 | Check using 'include:' in ignore file | |
@@ -322,7 +322,7 b' Check include subignore at the same leve' | |||||
322 | $ hg status | grep file2 |
|
322 | $ hg status | grep file2 | |
323 | [1] |
|
323 | [1] | |
324 | $ hg debugignore dir1/file2 |
|
324 | $ hg debugignore dir1/file2 | |
325 |
dir1/file2 is ignored |
|
325 | dir1/file2 is ignored | |
326 | (ignore rule in dir2/.hgignore, line 1: 'file*2') |
|
326 | (ignore rule in dir2/.hgignore, line 1: 'file*2') | |
327 |
|
327 | |||
328 | #if windows |
|
328 | #if windows |
@@ -30,7 +30,7 b" Issue1199: Can't use '%' in hgrc (eg url" | |||||
30 | $ cat .hg/hgrc |
|
30 | $ cat .hg/hgrc | |
31 | # example repository config (see 'hg help config' for more info) |
|
31 | # example repository config (see 'hg help config' for more info) | |
32 | [paths] |
|
32 | [paths] | |
33 |
default = $TESTTMP/foo%bar |
|
33 | default = $TESTTMP/foo%bar | |
34 |
|
34 | |||
35 | # path aliases to other clones of this repo in URLs or filesystem paths |
|
35 | # path aliases to other clones of this repo in URLs or filesystem paths | |
36 | # (see 'hg help config.paths' for more info) |
|
36 | # (see 'hg help config.paths' for more info) | |
@@ -43,10 +43,10 b" Issue1199: Can't use '%' in hgrc (eg url" | |||||
43 | # name and email (local to this repository, optional), e.g. |
|
43 | # name and email (local to this repository, optional), e.g. | |
44 | # username = Jane Doe <jdoe@example.com> |
|
44 | # username = Jane Doe <jdoe@example.com> | |
45 | $ hg paths |
|
45 | $ hg paths | |
46 |
default = $TESTTMP/foo%bar |
|
46 | default = $TESTTMP/foo%bar | |
47 | $ hg showconfig |
|
47 | $ hg showconfig | |
48 |
bundle.mainreporoot=$TESTTMP/foobar |
|
48 | bundle.mainreporoot=$TESTTMP/foobar | |
49 |
paths.default=$TESTTMP/foo%bar |
|
49 | paths.default=$TESTTMP/foo%bar | |
50 | $ cd .. |
|
50 | $ cd .. | |
51 |
|
51 | |||
52 | issue1829: wrong indentation |
|
52 | issue1829: wrong indentation | |
@@ -242,4 +242,4 b' source of paths is not mangled' | |||||
242 | $ hg showconfig --debug paths |
|
242 | $ hg showconfig --debug paths | |
243 | plain: True |
|
243 | plain: True | |
244 | read config from: $TESTTMP/hgrc |
|
244 | read config from: $TESTTMP/hgrc | |
245 |
$TESTTMP/hgrc:17: paths.foo=$TESTTMP/bar |
|
245 | $TESTTMP/hgrc:17: paths.foo=$TESTTMP/bar |
@@ -18,7 +18,7 b' Produce a bundle to use' | |||||
18 |
|
18 | |||
19 | $ hg strip -r 1 |
|
19 | $ hg strip -r 1 | |
20 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
20 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
21 |
saved backup bundle to $TESTTMP/server/.hg/strip-backup/ed602e697e0f-cc9fff6a-backup.hg |
|
21 | saved backup bundle to $TESTTMP/server/.hg/strip-backup/ed602e697e0f-cc9fff6a-backup.hg | |
22 |
|
22 | |||
23 | Serve from a bundle file |
|
23 | Serve from a bundle file | |
24 |
|
24 |
@@ -148,7 +148,7 b' temporarily.' | |||||
148 | $ mv .hg/histedit-state.back .hg/histedit-state |
|
148 | $ mv .hg/histedit-state.back .hg/histedit-state | |
149 |
|
149 | |||
150 | $ hg histedit --continue |
|
150 | $ hg histedit --continue | |
151 |
saved backup bundle to $TESTTMP/foo/.hg/strip-backup/08d98a8350f3-02594089-histedit.hg |
|
151 | saved backup bundle to $TESTTMP/foo/.hg/strip-backup/08d98a8350f3-02594089-histedit.hg | |
152 | $ hg log -G -T '{rev} {shortest(node)} {desc}\n' -r 2:: |
|
152 | $ hg log -G -T '{rev} {shortest(node)} {desc}\n' -r 2:: | |
153 | @ 4 f5ed five |
|
153 | @ 4 f5ed five | |
154 | | |
|
154 | | | |
@@ -265,7 +265,7 b' short hash. This tests issue3893.' | |||||
265 | HG: user: test |
|
265 | HG: user: test | |
266 | HG: branch 'default' |
|
266 | HG: branch 'default' | |
267 | HG: changed alpha |
|
267 | HG: changed alpha | |
268 |
saved backup bundle to $TESTTMP/foo/.hg/strip-backup/c8e68270e35a-63d8b8d8-histedit.hg |
|
268 | saved backup bundle to $TESTTMP/foo/.hg/strip-backup/c8e68270e35a-63d8b8d8-histedit.hg | |
269 |
|
269 | |||
270 | $ hg update -q 2 |
|
270 | $ hg update -q 2 | |
271 | $ echo x > x |
|
271 | $ echo x > x |
@@ -88,7 +88,7 b'' | |||||
88 | > fold e860deea161a 4 e |
|
88 | > fold e860deea161a 4 e | |
89 | > pick 652413bf663e 5 f |
|
89 | > pick 652413bf663e 5 f | |
90 | > EOF |
|
90 | > EOF | |
91 |
saved backup bundle to $TESTTMP/r/.hg/strip-backup/96e494a2d553-45c027ab-histedit.hg |
|
91 | saved backup bundle to $TESTTMP/r/.hg/strip-backup/96e494a2d553-45c027ab-histedit.hg | |
92 | $ hg log --graph |
|
92 | $ hg log --graph | |
93 | @ changeset: 3:cacdfd884a93 |
|
93 | @ changeset: 3:cacdfd884a93 | |
94 | | bookmark: five |
|
94 | | bookmark: five | |
@@ -143,7 +143,7 b'' | |||||
143 | > pick cacdfd884a93 3 f |
|
143 | > pick cacdfd884a93 3 f | |
144 | > pick 59d9f330561f 2 d |
|
144 | > pick 59d9f330561f 2 d | |
145 | > EOF |
|
145 | > EOF | |
146 |
saved backup bundle to $TESTTMP/r/.hg/strip-backup/59d9f330561f-073008af-histedit.hg |
|
146 | saved backup bundle to $TESTTMP/r/.hg/strip-backup/59d9f330561f-073008af-histedit.hg | |
147 |
|
147 | |||
148 | We expect 'five' to stay at tip, since the tipmost bookmark is most |
|
148 | We expect 'five' to stay at tip, since the tipmost bookmark is most | |
149 | likely the useful signal. |
|
149 | likely the useful signal. |
@@ -420,7 +420,7 b" Now, let's try to fold the second commit" | |||||
420 | > EOF |
|
420 | > EOF | |
421 |
|
421 | |||
422 | $ HGEDITOR="sh ./editor.sh" hg histedit 0 |
|
422 | $ HGEDITOR="sh ./editor.sh" hg histedit 0 | |
423 |
saved backup bundle to $TESTTMP/issue4251/.hg/strip-backup/b0f4233702ca-4cf5af69-histedit.hg |
|
423 | saved backup bundle to $TESTTMP/issue4251/.hg/strip-backup/b0f4233702ca-4cf5af69-histedit.hg | |
424 |
|
424 | |||
425 | $ hg --config diff.git=yes export 0 |
|
425 | $ hg --config diff.git=yes export 0 | |
426 | # HG changeset patch |
|
426 | # HG changeset patch |
@@ -273,7 +273,7 b' check histedit_source' | |||||
273 | HG: user: test |
|
273 | HG: user: test | |
274 | HG: branch 'default' |
|
274 | HG: branch 'default' | |
275 | HG: added f |
|
275 | HG: added f | |
276 |
saved backup bundle to $TESTTMP/r/.hg/strip-backup/b5f70786f9b0-c28d9c86-histedit.hg |
|
276 | saved backup bundle to $TESTTMP/r/.hg/strip-backup/b5f70786f9b0-c28d9c86-histedit.hg | |
277 |
|
277 | |||
278 | $ hg status |
|
278 | $ hg status | |
279 |
|
279 | |||
@@ -437,7 +437,7 b' rollback should not work after a histedi' | |||||
437 | (hg histedit --continue to resume) |
|
437 | (hg histedit --continue to resume) | |
438 | [1] |
|
438 | [1] | |
439 | $ HGEDITOR=true hg histedit --continue |
|
439 | $ HGEDITOR=true hg histedit --continue | |
440 |
saved backup bundle to $TESTTMP/r0/.hg/strip-backup/cb9a9f314b8b-cc5ccb0b-histedit.hg |
|
440 | saved backup bundle to $TESTTMP/r0/.hg/strip-backup/cb9a9f314b8b-cc5ccb0b-histedit.hg | |
441 |
|
441 | |||
442 | $ hg log -G |
|
442 | $ hg log -G | |
443 | @ changeset: 0:0efcea34f18a |
|
443 | @ changeset: 0:0efcea34f18a |
@@ -317,7 +317,7 b' should effectively drop the changes from' | |||||
317 | continue: hg histedit --continue |
|
317 | continue: hg histedit --continue | |
318 | $ hg histedit --continue |
|
318 | $ hg histedit --continue | |
319 | 251d831eeec5: empty changeset |
|
319 | 251d831eeec5: empty changeset | |
320 |
saved backup bundle to $TESTTMP/fold-to-empty-test/.hg/strip-backup/888f9082bf99-daa0b8b3-histedit.hg |
|
320 | saved backup bundle to $TESTTMP/fold-to-empty-test/.hg/strip-backup/888f9082bf99-daa0b8b3-histedit.hg | |
321 | $ hg logt --graph |
|
321 | $ hg logt --graph | |
322 | @ 1:617f94f13c0f +4 |
|
322 | @ 1:617f94f13c0f +4 | |
323 | | |
|
323 | | | |
@@ -394,7 +394,7 b' dropped revision.' | |||||
394 | HG: user: test |
|
394 | HG: user: test | |
395 | HG: branch 'default' |
|
395 | HG: branch 'default' | |
396 | HG: changed file |
|
396 | HG: changed file | |
397 |
saved backup bundle to $TESTTMP/fold-with-dropped/.hg/strip-backup/617f94f13c0f-3d69522c-histedit.hg |
|
397 | saved backup bundle to $TESTTMP/fold-with-dropped/.hg/strip-backup/617f94f13c0f-3d69522c-histedit.hg | |
398 | $ hg logt -G |
|
398 | $ hg logt -G | |
399 | @ 1:10c647b2cdd5 +4 |
|
399 | @ 1:10c647b2cdd5 +4 | |
400 | | |
|
400 | | |
@@ -526,7 +526,7 b' attempted later.' | |||||
526 |
|
526 | |||
527 | $ hg histedit --abort |
|
527 | $ hg histedit --abort | |
528 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
528 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
529 |
saved backup bundle to $TESTTMP/abort/.hg/strip-backup/4dc06258baa6-dff4ef05-backup.hg |
|
529 | saved backup bundle to $TESTTMP/abort/.hg/strip-backup/4dc06258baa6-dff4ef05-backup.hg | |
530 |
|
530 | |||
531 | $ hg log -G |
|
531 | $ hg log -G | |
532 | @ 18:ee118ab9fa44 (secret) k |
|
532 | @ 18:ee118ab9fa44 (secret) k |
@@ -792,7 +792,7 b' new commits must be visible in pretxncha' | |||||
792 | $ echo aa >> from/a |
|
792 | $ echo aa >> from/a | |
793 | $ hg --cwd from ci -mb |
|
793 | $ hg --cwd from ci -mb | |
794 | $ hg --cwd from push |
|
794 | $ hg --cwd from push | |
795 |
pushing to $TESTTMP/to |
|
795 | pushing to $TESTTMP/to | |
796 | searching for changes |
|
796 | searching for changes | |
797 | changeset: 0:cb9a9f314b8b |
|
797 | changeset: 0:cb9a9f314b8b | |
798 | tag: tip |
|
798 | tag: tip |
@@ -648,8 +648,8 b" prefix '.' is the same as no prefix" | |||||
648 | d |
|
648 | d | |
649 | dddd |
|
649 | dddd | |
650 | $ hg revert -aC |
|
650 | $ hg revert -aC | |
651 |
forgetting dir/a |
|
651 | forgetting dir/a | |
652 |
reverting dir/d |
|
652 | reverting dir/d | |
653 | $ rm dir/a |
|
653 | $ rm dir/a | |
654 |
|
654 | |||
655 | prefix with default strip |
|
655 | prefix with default strip | |
@@ -673,8 +673,8 b' prefix with default strip' | |||||
673 | d |
|
673 | d | |
674 | dd |
|
674 | dd | |
675 | $ hg revert -aC |
|
675 | $ hg revert -aC | |
676 |
forgetting dir/a |
|
676 | forgetting dir/a | |
677 |
reverting dir/d |
|
677 | reverting dir/d | |
678 | $ rm dir/a |
|
678 | $ rm dir/a | |
679 | (test that prefixes are relative to the cwd) |
|
679 | (test that prefixes are relative to the cwd) | |
680 | $ mkdir tmpdir |
|
680 | $ mkdir tmpdir | |
@@ -714,11 +714,11 b' prefix with default strip' | |||||
714 | Renames, similarity and git diff |
|
714 | Renames, similarity and git diff | |
715 |
|
715 | |||
716 | $ hg revert -aC |
|
716 | $ hg revert -aC | |
717 |
forgetting dir/a |
|
717 | forgetting dir/a | |
718 |
undeleting dir/d |
|
718 | undeleting dir/d | |
719 |
undeleting dir/dir2/b |
|
719 | undeleting dir/dir2/b | |
720 |
forgetting dir/dir2/b2 |
|
720 | forgetting dir/dir2/b2 | |
721 |
reverting dir/dir2/c |
|
721 | reverting dir/dir2/c | |
722 | $ rm dir/a dir/dir2/b2 |
|
722 | $ rm dir/a dir/dir2/b2 | |
723 | $ hg import --similarity 90 --no-commit - <<EOF |
|
723 | $ hg import --similarity 90 --no-commit - <<EOF | |
724 | > diff --git a/a b/b |
|
724 | > diff --git a/a b/b |
@@ -938,7 +938,7 b' test paths outside repo root' | |||||
938 | > rename to bar |
|
938 | > rename to bar | |
939 | > EOF |
|
939 | > EOF | |
940 | applying patch from stdin |
|
940 | applying patch from stdin | |
941 |
abort: path contains illegal component: ../outside/foo |
|
941 | abort: path contains illegal component: ../outside/foo | |
942 | [255] |
|
942 | [255] | |
943 | $ cd .. |
|
943 | $ cd .. | |
944 |
|
944 |
@@ -7,7 +7,7 b' https://bz.mercurial-scm.org/1089' | |||||
7 | adding a/b |
|
7 | adding a/b | |
8 |
|
8 | |||
9 | $ hg rm a |
|
9 | $ hg rm a | |
10 |
removing a/b |
|
10 | removing a/b | |
11 | $ hg ci -m m a |
|
11 | $ hg ci -m m a | |
12 |
|
12 | |||
13 | $ mkdir a b |
|
13 | $ mkdir a b | |
@@ -16,7 +16,7 b' https://bz.mercurial-scm.org/1089' | |||||
16 | adding a/b |
|
16 | adding a/b | |
17 |
|
17 | |||
18 | $ hg rm a |
|
18 | $ hg rm a | |
19 |
removing a/b |
|
19 | removing a/b | |
20 | $ cd b |
|
20 | $ cd b | |
21 |
|
21 | |||
22 | Relative delete: |
|
22 | Relative delete: |
@@ -13,7 +13,7 b' Initialize repository' | |||||
13 | $ echo "bar" > foo1/a && hg -R foo1 commit -m "edit a in foo1" |
|
13 | $ echo "bar" > foo1/a && hg -R foo1 commit -m "edit a in foo1" | |
14 | $ echo "hi" > foo/a && hg -R foo commit -m "edited a foo" |
|
14 | $ echo "hi" > foo/a && hg -R foo commit -m "edited a foo" | |
15 | $ hg -R foo1 pull |
|
15 | $ hg -R foo1 pull | |
16 |
pulling from $TESTTMP/foo |
|
16 | pulling from $TESTTMP/foo | |
17 | searching for changes |
|
17 | searching for changes | |
18 | adding changesets |
|
18 | adding changesets | |
19 | adding manifests |
|
19 | adding manifests | |
@@ -30,7 +30,7 b' Pull. Bookmark should not jump to new he' | |||||
30 |
|
30 | |||
31 | $ echo "there" >> foo/a && hg -R foo commit -m "edited a again" |
|
31 | $ echo "there" >> foo/a && hg -R foo commit -m "edited a again" | |
32 | $ hg -R foo1 pull |
|
32 | $ hg -R foo1 pull | |
33 |
pulling from $TESTTMP/foo |
|
33 | pulling from $TESTTMP/foo | |
34 | searching for changes |
|
34 | searching for changes | |
35 | adding changesets |
|
35 | adding changesets | |
36 | adding manifests |
|
36 | adding manifests |
@@ -7,7 +7,7 b' https://bz.mercurial-scm.org/612' | |||||
7 | adding src/a.c |
|
7 | adding src/a.c | |
8 |
|
8 | |||
9 | $ hg mv src source |
|
9 | $ hg mv src source | |
10 |
moving src/a.c to source/a.c |
|
10 | moving src/a.c to source/a.c | |
11 |
|
11 | |||
12 | $ hg ci -Ammove |
|
12 | $ hg ci -Ammove | |
13 |
|
13 |
@@ -67,9 +67,9 b' Revert all - should succeed:' | |||||
67 |
|
67 | |||
68 | $ hg revert --all |
|
68 | $ hg revert --all | |
69 | undeleting a |
|
69 | undeleting a | |
70 |
forgetting a/a |
|
70 | forgetting a/a | |
71 | forgetting b |
|
71 | forgetting b | |
72 |
undeleting b/b |
|
72 | undeleting b/b | |
73 |
|
73 | |||
74 | $ hg st |
|
74 | $ hg st | |
75 |
|
75 |
@@ -272,7 +272,7 b' Pull from bundle and trigger notify' | |||||
272 | Message-Id: <hg.a2392c293916*> (glob) |
|
272 | Message-Id: <hg.a2392c293916*> (glob) | |
273 | To: Test |
|
273 | To: Test | |
274 |
|
274 | |||
275 |
changeset a2392c293916 in $TESTTMP/Test |
|
275 | changeset a2392c293916 in $TESTTMP/Test | |
276 | details: $TESTTMP/Test?cmd=changeset;node=a2392c293916 |
|
276 | details: $TESTTMP/Test?cmd=changeset;node=a2392c293916 | |
277 | description: |
|
277 | description: | |
278 | addsym |
|
278 | addsym | |
@@ -295,7 +295,7 b' Pull from bundle and trigger notify' | |||||
295 | Message-Id: <hg.ef63ca68695b*> (glob) |
|
295 | Message-Id: <hg.ef63ca68695b*> (glob) | |
296 | To: Test |
|
296 | To: Test | |
297 |
|
297 | |||
298 |
changeset ef63ca68695b in $TESTTMP/Test |
|
298 | changeset ef63ca68695b in $TESTTMP/Test | |
299 | details: $TESTTMP/Test?cmd=changeset;node=ef63ca68695b |
|
299 | details: $TESTTMP/Test?cmd=changeset;node=ef63ca68695b | |
300 | description: |
|
300 | description: | |
301 | absym |
|
301 | absym | |
@@ -929,7 +929,7 b' Clone to test incoming' | |||||
929 | > default = ../Test |
|
929 | > default = ../Test | |
930 | > EOF |
|
930 | > EOF | |
931 | $ hg incoming |
|
931 | $ hg incoming | |
932 |
comparing with $TESTTMP/Test |
|
932 | comparing with $TESTTMP/Test | |
933 | searching for changes |
|
933 | searching for changes | |
934 | changeset: 2:bb948857c743 |
|
934 | changeset: 2:bb948857c743 | |
935 | tag: tip |
|
935 | tag: tip |
@@ -207,7 +207,7 b' Inject corruption into the largefiles st' | |||||
207 | $ echo corruption > .hg/largefiles/e2fb5f2139d086ded2cb600d5a91a196e76bf020 |
|
207 | $ echo corruption > .hg/largefiles/e2fb5f2139d086ded2cb600d5a91a196e76bf020 | |
208 | $ hg up -C |
|
208 | $ hg up -C | |
209 | getting changed largefiles |
|
209 | getting changed largefiles | |
210 |
large: data corruption in $TESTTMP/src/.hg/largefiles/e2fb5f2139d086ded2cb600d5a91a196e76bf020 with hash 6a7bb2556144babe3899b25e5428123735bb1e27 |
|
210 | large: data corruption in $TESTTMP/src/.hg/largefiles/e2fb5f2139d086ded2cb600d5a91a196e76bf020 with hash 6a7bb2556144babe3899b25e5428123735bb1e27 | |
211 | 0 largefiles updated, 0 removed |
|
211 | 0 largefiles updated, 0 removed | |
212 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
212 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
213 | updated to "cd24c147f45c: modified" |
|
213 | updated to "cd24c147f45c: modified" | |
@@ -228,7 +228,7 b' Test coverage of error handling from put' | |||||
228 | $ hg push http://localhost:$HGPORT1 -f --config files.usercache=nocache |
|
228 | $ hg push http://localhost:$HGPORT1 -f --config files.usercache=nocache | |
229 | pushing to http://localhost:$HGPORT1/ |
|
229 | pushing to http://localhost:$HGPORT1/ | |
230 | searching for changes |
|
230 | searching for changes | |
231 |
abort: remotestore: could not open file $TESTTMP/src/.hg/largefiles/e2fb5f2139d086ded2cb600d5a91a196e76bf020: HTTP Error 403: ssl required |
|
231 | abort: remotestore: could not open file $TESTTMP/src/.hg/largefiles/e2fb5f2139d086ded2cb600d5a91a196e76bf020: HTTP Error 403: ssl required | |
232 | [255] |
|
232 | [255] | |
233 |
|
233 | |||
234 | $ rm .hg/largefiles/e2fb5f2139d086ded2cb600d5a91a196e76bf020 |
|
234 | $ rm .hg/largefiles/e2fb5f2139d086ded2cb600d5a91a196e76bf020 |
@@ -66,8 +66,8 b' TODO: Ideally, this should mention the l' | |||||
66 | ./dirb/largefile |
|
66 | ./dirb/largefile | |
67 | $ cd .. |
|
67 | $ cd .. | |
68 | $ hg mv dira dirc |
|
68 | $ hg mv dira dirc | |
69 |
moving .hglf/dira/baz/largefile to .hglf/dirc/baz/largefile |
|
69 | moving .hglf/dira/baz/largefile to .hglf/dirc/baz/largefile | |
70 |
moving .hglf/dira/dirb/largefile to .hglf/dirc/dirb/largefile |
|
70 | moving .hglf/dira/dirb/largefile to .hglf/dirc/dirb/largefile | |
71 | $ find * | sort |
|
71 | $ find * | sort | |
72 | dirc |
|
72 | dirc | |
73 | dirc/baz |
|
73 | dirc/baz | |
@@ -292,9 +292,9 b' Add a normal file to the subrepo, then t' | |||||
292 | ? subrepo/renamed-large.txt |
|
292 | ? subrepo/renamed-large.txt | |
293 |
|
293 | |||
294 | $ hg addremove --dry-run subrepo |
|
294 | $ hg addremove --dry-run subrepo | |
295 |
removing subrepo/large.txt |
|
295 | removing subrepo/large.txt | |
296 |
adding subrepo/normal.txt |
|
296 | adding subrepo/normal.txt | |
297 |
adding subrepo/renamed-large.txt |
|
297 | adding subrepo/renamed-large.txt | |
298 | $ hg status -S |
|
298 | $ hg status -S | |
299 | ! subrepo/large.txt |
|
299 | ! subrepo/large.txt | |
300 | ? large.dat |
|
300 | ? large.dat | |
@@ -303,9 +303,9 b' Add a normal file to the subrepo, then t' | |||||
303 | $ cd .. |
|
303 | $ cd .. | |
304 |
|
304 | |||
305 | $ hg -R statusmatch addremove --dry-run statusmatch/subrepo |
|
305 | $ hg -R statusmatch addremove --dry-run statusmatch/subrepo | |
306 |
removing statusmatch/subrepo/large.txt |
|
306 | removing statusmatch/subrepo/large.txt | |
307 |
adding statusmatch/subrepo/normal.txt |
|
307 | adding statusmatch/subrepo/normal.txt | |
308 |
adding statusmatch/subrepo/renamed-large.txt |
|
308 | adding statusmatch/subrepo/renamed-large.txt | |
309 | $ hg -R statusmatch status -S |
|
309 | $ hg -R statusmatch status -S | |
310 | ! subrepo/large.txt |
|
310 | ! subrepo/large.txt | |
311 | ? large.dat |
|
311 | ? large.dat | |
@@ -321,7 +321,7 b' Add a normal file to the subrepo, then t' | |||||
321 |
|
321 | |||
322 | $ mv subrepo/renamed-large.txt subrepo/large.txt |
|
322 | $ mv subrepo/renamed-large.txt subrepo/large.txt | |
323 | $ hg addremove subrepo |
|
323 | $ hg addremove subrepo | |
324 |
adding subrepo/normal.txt |
|
324 | adding subrepo/normal.txt | |
325 | $ hg forget subrepo/normal.txt |
|
325 | $ hg forget subrepo/normal.txt | |
326 |
|
326 | |||
327 | $ hg addremove -S |
|
327 | $ hg addremove -S | |
@@ -393,7 +393,7 b' Test update with subrepos.' | |||||
393 | Forget doesn't change the content of the file |
|
393 | Forget doesn't change the content of the file | |
394 | $ echo 'pre-forget content' > subrepo/large.txt |
|
394 | $ echo 'pre-forget content' > subrepo/large.txt | |
395 | $ hg forget -v subrepo/large.txt |
|
395 | $ hg forget -v subrepo/large.txt | |
396 |
removing subrepo/large.txt |
|
396 | removing subrepo/large.txt | |
397 | $ cat subrepo/large.txt |
|
397 | $ cat subrepo/large.txt | |
398 | pre-forget content |
|
398 | pre-forget content | |
399 |
|
399 | |||
@@ -403,7 +403,7 b' Test reverting a forgotten file' | |||||
403 | C subrepo/large.txt |
|
403 | C subrepo/large.txt | |
404 |
|
404 | |||
405 | $ hg rm -v subrepo/large.txt |
|
405 | $ hg rm -v subrepo/large.txt | |
406 |
removing subrepo/large.txt |
|
406 | removing subrepo/large.txt | |
407 | $ hg revert -R subrepo subrepo/large.txt |
|
407 | $ hg revert -R subrepo subrepo/large.txt | |
408 | $ rm subrepo/large.txt |
|
408 | $ rm subrepo/large.txt | |
409 | $ hg addremove -S |
|
409 | $ hg addremove -S | |
@@ -532,10 +532,10 b' Test actions on largefiles using relativ' | |||||
532 | Test orig files go where we want them |
|
532 | Test orig files go where we want them | |
533 | $ echo moremore >> anotherlarge |
|
533 | $ echo moremore >> anotherlarge | |
534 | $ hg revert anotherlarge -v --config 'ui.origbackuppath=.hg/origbackups' |
|
534 | $ hg revert anotherlarge -v --config 'ui.origbackuppath=.hg/origbackups' | |
535 |
creating directory: $TESTTMP/addrm2/.hg/origbackups/.hglf/sub |
|
535 | creating directory: $TESTTMP/addrm2/.hg/origbackups/.hglf/sub | |
536 |
saving current version of ../.hglf/sub/anotherlarge as $TESTTMP/addrm2/.hg/origbackups/.hglf/sub/anotherlarge |
|
536 | saving current version of ../.hglf/sub/anotherlarge as $TESTTMP/addrm2/.hg/origbackups/.hglf/sub/anotherlarge | |
537 |
reverting ../.hglf/sub/anotherlarge |
|
537 | reverting ../.hglf/sub/anotherlarge | |
538 |
creating directory: $TESTTMP/addrm2/.hg/origbackups/sub |
|
538 | creating directory: $TESTTMP/addrm2/.hg/origbackups/sub | |
539 | found 90c622cf65cebe75c5842f9136c459333faf392e in store |
|
539 | found 90c622cf65cebe75c5842f9136c459333faf392e in store | |
540 | found 90c622cf65cebe75c5842f9136c459333faf392e in store |
|
540 | found 90c622cf65cebe75c5842f9136c459333faf392e in store | |
541 | $ ls ../.hg/origbackups/sub |
|
541 | $ ls ../.hg/origbackups/sub | |
@@ -608,7 +608,7 b' check messages when there is no files to' | |||||
608 |
|
608 | |||
609 | $ hg -q clone src clone2 |
|
609 | $ hg -q clone src clone2 | |
610 | $ hg -R clone2 paths | grep default |
|
610 | $ hg -R clone2 paths | grep default | |
611 |
default = $TESTTMP/issue3651/src |
|
611 | default = $TESTTMP/issue3651/src | |
612 |
|
612 | |||
613 | $ hg -R clone2 summary --large |
|
613 | $ hg -R clone2 summary --large | |
614 | parent: 0:fc0bd45326d3 tip |
|
614 | parent: 0:fc0bd45326d3 tip | |
@@ -619,14 +619,14 b' check messages when there is no files to' | |||||
619 | phases: 1 draft |
|
619 | phases: 1 draft | |
620 | largefiles: (no files to upload) |
|
620 | largefiles: (no files to upload) | |
621 | $ hg -R clone2 outgoing --large |
|
621 | $ hg -R clone2 outgoing --large | |
622 |
comparing with $TESTTMP/issue3651/src |
|
622 | comparing with $TESTTMP/issue3651/src | |
623 | searching for changes |
|
623 | searching for changes | |
624 | no changes found |
|
624 | no changes found | |
625 | largefiles: no files to upload |
|
625 | largefiles: no files to upload | |
626 | [1] |
|
626 | [1] | |
627 |
|
627 | |||
628 | $ hg -R clone2 outgoing --large --graph --template "{rev}" |
|
628 | $ hg -R clone2 outgoing --large --graph --template "{rev}" | |
629 |
comparing with $TESTTMP/issue3651/src |
|
629 | comparing with $TESTTMP/issue3651/src | |
630 | searching for changes |
|
630 | searching for changes | |
631 | no changes found |
|
631 | no changes found | |
632 | largefiles: no files to upload |
|
632 | largefiles: no files to upload | |
@@ -647,7 +647,7 b' check messages when there are files to u' | |||||
647 | phases: 2 draft |
|
647 | phases: 2 draft | |
648 | largefiles: 1 entities for 1 files to upload |
|
648 | largefiles: 1 entities for 1 files to upload | |
649 | $ hg -R clone2 outgoing --large |
|
649 | $ hg -R clone2 outgoing --large | |
650 |
comparing with $TESTTMP/issue3651/src |
|
650 | comparing with $TESTTMP/issue3651/src | |
651 | searching for changes |
|
651 | searching for changes | |
652 | changeset: 1:1acbe71ce432 |
|
652 | changeset: 1:1acbe71ce432 | |
653 | tag: tip |
|
653 | tag: tip | |
@@ -659,7 +659,7 b' check messages when there are files to u' | |||||
659 | b |
|
659 | b | |
660 |
|
660 | |||
661 | $ hg -R clone2 outgoing --large --graph --template "{rev}" |
|
661 | $ hg -R clone2 outgoing --large --graph --template "{rev}" | |
662 |
comparing with $TESTTMP/issue3651/src |
|
662 | comparing with $TESTTMP/issue3651/src | |
663 | searching for changes |
|
663 | searching for changes | |
664 | @ 1 |
|
664 | @ 1 | |
665 |
|
665 | |||
@@ -683,7 +683,7 b' check messages when there are files to u' | |||||
683 | phases: 3 draft |
|
683 | phases: 3 draft | |
684 | largefiles: 1 entities for 3 files to upload |
|
684 | largefiles: 1 entities for 3 files to upload | |
685 | $ hg -R clone2 outgoing --large -T "{rev}:{node|short}\n" |
|
685 | $ hg -R clone2 outgoing --large -T "{rev}:{node|short}\n" | |
686 |
comparing with $TESTTMP/issue3651/src |
|
686 | comparing with $TESTTMP/issue3651/src | |
687 | searching for changes |
|
687 | searching for changes | |
688 | 1:1acbe71ce432 |
|
688 | 1:1acbe71ce432 | |
689 | 2:6095d0695d70 |
|
689 | 2:6095d0695d70 | |
@@ -695,7 +695,7 b' check messages when there are files to u' | |||||
695 | $ hg -R clone2 cat -r 1 clone2/.hglf/b |
|
695 | $ hg -R clone2 cat -r 1 clone2/.hglf/b | |
696 | 89e6c98d92887913cadf06b2adb97f26cde4849b |
|
696 | 89e6c98d92887913cadf06b2adb97f26cde4849b | |
697 | $ hg -R clone2 outgoing --large -T "{rev}:{node|short}\n" --debug --config progress.debug=true |
|
697 | $ hg -R clone2 outgoing --large -T "{rev}:{node|short}\n" --debug --config progress.debug=true | |
698 |
comparing with $TESTTMP/issue3651/src |
|
698 | comparing with $TESTTMP/issue3651/src | |
699 | query 1; heads |
|
699 | query 1; heads | |
700 | searching for changes |
|
700 | searching for changes | |
701 | all remote heads known locally |
|
701 | all remote heads known locally | |
@@ -733,7 +733,7 b' check messages when there are files to u' | |||||
733 | phases: 6 draft |
|
733 | phases: 6 draft | |
734 | largefiles: 3 entities for 3 files to upload |
|
734 | largefiles: 3 entities for 3 files to upload | |
735 | $ hg -R clone2 outgoing --large -T "{rev}:{node|short}\n" |
|
735 | $ hg -R clone2 outgoing --large -T "{rev}:{node|short}\n" | |
736 |
comparing with $TESTTMP/issue3651/src |
|
736 | comparing with $TESTTMP/issue3651/src | |
737 | searching for changes |
|
737 | searching for changes | |
738 | 1:1acbe71ce432 |
|
738 | 1:1acbe71ce432 | |
739 | 2:6095d0695d70 |
|
739 | 2:6095d0695d70 | |
@@ -750,7 +750,7 b' check messages when there are files to u' | |||||
750 | $ hg -R clone2 cat -r 4 clone2/.hglf/b |
|
750 | $ hg -R clone2 cat -r 4 clone2/.hglf/b | |
751 | 13f9ed0898e315bf59dc2973fec52037b6f441a2 |
|
751 | 13f9ed0898e315bf59dc2973fec52037b6f441a2 | |
752 | $ hg -R clone2 outgoing --large -T "{rev}:{node|short}\n" --debug --config progress.debug=true |
|
752 | $ hg -R clone2 outgoing --large -T "{rev}:{node|short}\n" --debug --config progress.debug=true | |
753 |
comparing with $TESTTMP/issue3651/src |
|
753 | comparing with $TESTTMP/issue3651/src | |
754 | query 1; heads |
|
754 | query 1; heads | |
755 | searching for changes |
|
755 | searching for changes | |
756 | all remote heads known locally |
|
756 | all remote heads known locally | |
@@ -792,7 +792,7 b' and #5 refer it.' | |||||
792 | phases: 6 draft |
|
792 | phases: 6 draft | |
793 | largefiles: 2 entities for 1 files to upload |
|
793 | largefiles: 2 entities for 1 files to upload | |
794 | $ hg -R clone2 outgoing --large -T "{rev}:{node|short}\n" |
|
794 | $ hg -R clone2 outgoing --large -T "{rev}:{node|short}\n" | |
795 |
comparing with $TESTTMP/issue3651/src |
|
795 | comparing with $TESTTMP/issue3651/src | |
796 | searching for changes |
|
796 | searching for changes | |
797 | 2:6095d0695d70 |
|
797 | 2:6095d0695d70 | |
798 | 3:7983dce246cc |
|
798 | 3:7983dce246cc | |
@@ -802,7 +802,7 b' and #5 refer it.' | |||||
802 | b |
|
802 | b | |
803 |
|
803 | |||
804 | $ hg -R clone2 outgoing --large -T "{rev}:{node|short}\n" --debug --config progress.debug=true |
|
804 | $ hg -R clone2 outgoing --large -T "{rev}:{node|short}\n" --debug --config progress.debug=true | |
805 |
comparing with $TESTTMP/issue3651/src |
|
805 | comparing with $TESTTMP/issue3651/src | |
806 | query 1; heads |
|
806 | query 1; heads | |
807 | searching for changes |
|
807 | searching for changes | |
808 | all remote heads known locally |
|
808 | all remote heads known locally | |
@@ -843,7 +843,7 b" merge action 'd' for 'local renamed dire" | |||||
843 | A d1/g |
|
843 | A d1/g | |
844 | $ hg up -qr0 |
|
844 | $ hg up -qr0 | |
845 | $ hg mv d1 d2 |
|
845 | $ hg mv d1 d2 | |
846 |
moving d1/f to d2/f |
|
846 | moving d1/f to d2/f | |
847 | $ hg ci -qm2 |
|
847 | $ hg ci -qm2 | |
848 | Invoking status precommit hook |
|
848 | Invoking status precommit hook | |
849 | A d2/f |
|
849 | A d2/f | |
@@ -962,7 +962,7 b' enabling largefiles extension.' | |||||
962 | > largefiles= |
|
962 | > largefiles= | |
963 | > EOF |
|
963 | > EOF | |
964 | $ hg -R enabledlocally root |
|
964 | $ hg -R enabledlocally root | |
965 |
$TESTTMP/individualenabling/enabledlocally |
|
965 | $TESTTMP/individualenabling/enabledlocally | |
966 | $ hg -R notenabledlocally root |
|
966 | $ hg -R notenabledlocally root | |
967 | abort: repository requires features unknown to this Mercurial: largefiles! |
|
967 | abort: repository requires features unknown to this Mercurial: largefiles! | |
968 | (see https://mercurial-scm.org/wiki/MissingRequirement for more information) |
|
968 | (see https://mercurial-scm.org/wiki/MissingRequirement for more information) | |
@@ -1088,9 +1088,9 b' largefiles (issue4547)' | |||||
1088 | */no-largefiles/normal1 */no-largefiles/normal1 (glob) (no-windows !) |
|
1088 | */no-largefiles/normal1 */no-largefiles/normal1 (glob) (no-windows !) | |
1089 | [1] |
|
1089 | [1] | |
1090 | $ hg -R subrepo-root revert --all |
|
1090 | $ hg -R subrepo-root revert --all | |
1091 |
reverting subrepo-root/.hglf/large |
|
1091 | reverting subrepo-root/.hglf/large | |
1092 | reverting subrepo no-largefiles |
|
1092 | reverting subrepo no-largefiles | |
1093 |
reverting subrepo-root/no-largefiles/normal1 |
|
1093 | reverting subrepo-root/no-largefiles/normal1 | |
1094 |
|
1094 | |||
1095 | Move (and then undo) a directory move with only largefiles. |
|
1095 | Move (and then undo) a directory move with only largefiles. | |
1096 |
|
1096 | |||
@@ -1108,7 +1108,7 b' Move (and then undo) a directory move wi' | |||||
1108 | large.orig |
|
1108 | large.orig | |
1109 |
|
1109 | |||
1110 | $ hg mv dir/subdir dir/subdir2 |
|
1110 | $ hg mv dir/subdir dir/subdir2 | |
1111 |
moving .hglf/dir/subdir/large.bin to .hglf/dir/subdir2/large.bin |
|
1111 | moving .hglf/dir/subdir/large.bin to .hglf/dir/subdir2/large.bin | |
1112 |
|
1112 | |||
1113 | $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large* |
|
1113 | $ $PYTHON $TESTDIR/list-tree.py .hglf dir* large* | |
1114 | .hglf/ |
|
1114 | .hglf/ | |
@@ -1135,8 +1135,8 b' Move (and then undo) a directory move wi' | |||||
1135 | ? large.orig |
|
1135 | ? large.orig | |
1136 |
|
1136 | |||
1137 | $ hg revert --all |
|
1137 | $ hg revert --all | |
1138 |
undeleting .hglf/dir/subdir/large.bin |
|
1138 | undeleting .hglf/dir/subdir/large.bin | |
1139 |
forgetting .hglf/dir/subdir2/large.bin |
|
1139 | forgetting .hglf/dir/subdir2/large.bin | |
1140 | reverting subrepo no-largefiles |
|
1140 | reverting subrepo no-largefiles | |
1141 |
|
1141 | |||
1142 | $ hg status -C |
|
1142 | $ hg status -C | |
@@ -1169,7 +1169,7 b' The standin for subdir2 should be delete' | |||||
1169 | 'subdir' should not be in the destination. It would be if the subdir2 directory |
|
1169 | 'subdir' should not be in the destination. It would be if the subdir2 directory | |
1170 | existed under .hglf/. |
|
1170 | existed under .hglf/. | |
1171 | $ hg mv dir/subdir dir/subdir2 |
|
1171 | $ hg mv dir/subdir dir/subdir2 | |
1172 |
moving .hglf/dir/subdir/large.bin to .hglf/dir/subdir2/large.bin |
|
1172 | moving .hglf/dir/subdir/large.bin to .hglf/dir/subdir2/large.bin | |
1173 |
|
1173 | |||
1174 | $ hg status -C |
|
1174 | $ hg status -C | |
1175 | A dir/subdir2/large.bin |
|
1175 | A dir/subdir2/large.bin | |
@@ -1195,7 +1195,7 b' Start from scratch, and rename something' | |||||
1195 | $ hg --config extensions.purge= purge |
|
1195 | $ hg --config extensions.purge= purge | |
1196 |
|
1196 | |||
1197 | $ hg mv dir/subdir dir2/subdir |
|
1197 | $ hg mv dir/subdir dir2/subdir | |
1198 |
moving .hglf/dir/subdir/large.bin to .hglf/dir2/subdir/large.bin |
|
1198 | moving .hglf/dir/subdir/large.bin to .hglf/dir2/subdir/large.bin | |
1199 |
|
1199 | |||
1200 | $ hg status -C |
|
1200 | $ hg status -C | |
1201 | A dir2/subdir/large.bin |
|
1201 | A dir2/subdir/large.bin | |
@@ -1214,8 +1214,8 b' Start from scratch, and rename something' | |||||
1214 | large |
|
1214 | large | |
1215 |
|
1215 | |||
1216 | $ hg revert --all |
|
1216 | $ hg revert --all | |
1217 |
undeleting .hglf/dir/subdir/large.bin |
|
1217 | undeleting .hglf/dir/subdir/large.bin | |
1218 |
forgetting .hglf/dir2/subdir/large.bin |
|
1218 | forgetting .hglf/dir2/subdir/large.bin | |
1219 | reverting subrepo no-largefiles |
|
1219 | reverting subrepo no-largefiles | |
1220 |
|
1220 | |||
1221 | $ hg status -C |
|
1221 | $ hg status -C | |
@@ -1257,7 +1257,7 b' Test "pull --rebase" when rebase is enab' | |||||
1257 | > largefiles= |
|
1257 | > largefiles= | |
1258 | > EOF |
|
1258 | > EOF | |
1259 | $ hg -R dst pull --rebase |
|
1259 | $ hg -R dst pull --rebase | |
1260 |
pulling from $TESTTMP/issue3861/src |
|
1260 | pulling from $TESTTMP/issue3861/src | |
1261 | requesting all changes |
|
1261 | requesting all changes | |
1262 | adding changesets |
|
1262 | adding changesets | |
1263 | adding manifests |
|
1263 | adding manifests |
@@ -440,7 +440,7 b' Test that the internal linear merging wo' | |||||
440 |
|
440 | |||
441 | $ hg update -q -C 2 |
|
441 | $ hg update -q -C 2 | |
442 | $ hg strip 3 4 |
|
442 | $ hg strip 3 4 | |
443 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/9530e27857f7-2e7b195d-backup.hg |
|
443 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/9530e27857f7-2e7b195d-backup.hg | |
444 | $ mv .hg/strip-backup/9530e27857f7-2e7b195d-backup.hg $TESTTMP |
|
444 | $ mv .hg/strip-backup/9530e27857f7-2e7b195d-backup.hg $TESTTMP | |
445 |
|
445 | |||
446 | (internal linear merging at "hg pull --update") |
|
446 | (internal linear merging at "hg pull --update") | |
@@ -448,7 +448,7 b' Test that the internal linear merging wo' | |||||
448 | $ echo 'large1 for linear merge (conflict)' > large1 |
|
448 | $ echo 'large1 for linear merge (conflict)' > large1 | |
449 | $ echo 'large2 for linear merge (conflict with normal file)' > large2 |
|
449 | $ echo 'large2 for linear merge (conflict with normal file)' > large2 | |
450 | $ hg pull --update --config debug.dirstate.delaywrite=2 $TESTTMP/9530e27857f7-2e7b195d-backup.hg |
|
450 | $ hg pull --update --config debug.dirstate.delaywrite=2 $TESTTMP/9530e27857f7-2e7b195d-backup.hg | |
451 |
pulling from $TESTTMP/9530e27857f7-2e7b195d-backup.hg |
|
451 | pulling from $TESTTMP/9530e27857f7-2e7b195d-backup.hg | |
452 | searching for changes |
|
452 | searching for changes | |
453 | adding changesets |
|
453 | adding changesets | |
454 | adding manifests |
|
454 | adding manifests |
@@ -181,7 +181,7 b' Corrupt the cached largefile in r7 and m' | |||||
181 | pushing to http://localhost:$HGPORT1/ |
|
181 | pushing to http://localhost:$HGPORT1/ | |
182 | searching for changes |
|
182 | searching for changes | |
183 | remote: largefiles: failed to put 4cdac4d8b084d0b599525cf732437fb337d422a8 into store: largefile contents do not match hash |
|
183 | remote: largefiles: failed to put 4cdac4d8b084d0b599525cf732437fb337d422a8 into store: largefile contents do not match hash | |
184 |
abort: remotestore: could not put $TESTTMP/r7/.hg/largefiles/4cdac4d8b084d0b599525cf732437fb337d422a8 to remote store http://localhost:$HGPORT1/ |
|
184 | abort: remotestore: could not put $TESTTMP/r7/.hg/largefiles/4cdac4d8b084d0b599525cf732437fb337d422a8 to remote store http://localhost:$HGPORT1/ | |
185 | [255] |
|
185 | [255] | |
186 | $ mv 4cdac4d8b084d0b599525cf732437fb337d422a8 r7/.hg/largefiles/4cdac4d8b084d0b599525cf732437fb337d422a8 |
|
186 | $ mv 4cdac4d8b084d0b599525cf732437fb337d422a8 r7/.hg/largefiles/4cdac4d8b084d0b599525cf732437fb337d422a8 | |
187 | Push of file that exists on server but is corrupted - magic healing would be nice ... but too magic |
|
187 | Push of file that exists on server but is corrupted - magic healing would be nice ... but too magic |
@@ -343,8 +343,8 b' Corner cases for adding largefiles.' | |||||
343 | $ echo large6 > sub2/large6 |
|
343 | $ echo large6 > sub2/large6 | |
344 | $ echo large7 > sub2/large7 |
|
344 | $ echo large7 > sub2/large7 | |
345 | $ hg add --large sub2 |
|
345 | $ hg add --large sub2 | |
346 |
adding sub2/large6 as a largefile |
|
346 | adding sub2/large6 as a largefile | |
347 |
adding sub2/large7 as a largefile |
|
347 | adding sub2/large7 as a largefile | |
348 | $ hg st |
|
348 | $ hg st | |
349 | M large3 |
|
349 | M large3 | |
350 | A large5 |
|
350 | A large5 | |
@@ -661,7 +661,7 b" Test that a standin can't be added as a " | |||||
661 |
|
661 | |||
662 | Test that outgoing --large works (with revsets too) |
|
662 | Test that outgoing --large works (with revsets too) | |
663 | $ hg outgoing --rev '.^' --large |
|
663 | $ hg outgoing --rev '.^' --large | |
664 |
comparing with $TESTTMP/a |
|
664 | comparing with $TESTTMP/a | |
665 | searching for changes |
|
665 | searching for changes | |
666 | changeset: 8:c02fd3b77ec4 |
|
666 | changeset: 8:c02fd3b77ec4 | |
667 | user: test |
|
667 | user: test | |
@@ -1098,7 +1098,7 b" downloaded from 'default' instead of 'de" | |||||
1098 | $ rm "${USERCACHE}"/* |
|
1098 | $ rm "${USERCACHE}"/* | |
1099 | $ cd a-backup |
|
1099 | $ cd a-backup | |
1100 | $ hg pull --all-largefiles --config paths.default-push=bogus/path |
|
1100 | $ hg pull --all-largefiles --config paths.default-push=bogus/path | |
1101 |
pulling from $TESTTMP/a |
|
1101 | pulling from $TESTTMP/a | |
1102 | searching for changes |
|
1102 | searching for changes | |
1103 | adding changesets |
|
1103 | adding changesets | |
1104 | adding manifests |
|
1104 | adding manifests | |
@@ -1113,7 +1113,7 b' redo pull with --lfrev and check it pull' | |||||
1113 | $ hg rollback |
|
1113 | $ hg rollback | |
1114 | repository tip rolled back to revision 1 (undo pull) |
|
1114 | repository tip rolled back to revision 1 (undo pull) | |
1115 | $ hg pull -v --lfrev 'heads(pulled())+min(pulled())' |
|
1115 | $ hg pull -v --lfrev 'heads(pulled())+min(pulled())' | |
1116 |
pulling from $TESTTMP/a |
|
1116 | pulling from $TESTTMP/a | |
1117 | searching for changes |
|
1117 | searching for changes | |
1118 | all local heads known remotely |
|
1118 | all local heads known remotely | |
1119 | 6 changesets found |
|
1119 | 6 changesets found | |
@@ -1199,7 +1199,7 b' rebased or not.' | |||||
1199 |
|
1199 | |||
1200 | $ [ ! -f .hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 ] |
|
1200 | $ [ ! -f .hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 ] | |
1201 | $ hg pull --rebase --all-largefiles --config paths.default-push=bogus/path --config paths.default=../b |
|
1201 | $ hg pull --rebase --all-largefiles --config paths.default-push=bogus/path --config paths.default=../b | |
1202 |
pulling from $TESTTMP/b |
|
1202 | pulling from $TESTTMP/b | |
1203 | searching for changes |
|
1203 | searching for changes | |
1204 | adding changesets |
|
1204 | adding changesets | |
1205 | adding manifests |
|
1205 | adding manifests | |
@@ -1210,7 +1210,7 b' rebased or not.' | |||||
1210 | Invoking status precommit hook |
|
1210 | Invoking status precommit hook | |
1211 | M sub/normal4 |
|
1211 | M sub/normal4 | |
1212 | M sub2/large6 |
|
1212 | M sub2/large6 | |
1213 |
saved backup bundle to $TESTTMP/d/.hg/strip-backup/f574fb32bb45-dd1d9f80-rebase.hg |
|
1213 | saved backup bundle to $TESTTMP/d/.hg/strip-backup/f574fb32bb45-dd1d9f80-rebase.hg | |
1214 | 0 largefiles cached |
|
1214 | 0 largefiles cached | |
1215 | $ [ -f .hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 ] |
|
1215 | $ [ -f .hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 ] | |
1216 | $ hg log --template '{rev}:{node|short} {desc|firstline}\n' |
|
1216 | $ hg log --template '{rev}:{node|short} {desc|firstline}\n' | |
@@ -1270,7 +1270,7 b' rebased or not.' | |||||
1270 | Invoking status precommit hook |
|
1270 | Invoking status precommit hook | |
1271 | M sub/normal4 |
|
1271 | M sub/normal4 | |
1272 | M sub2/large6 |
|
1272 | M sub2/large6 | |
1273 |
saved backup bundle to $TESTTMP/e/.hg/strip-backup/f574fb32bb45-dd1d9f80-rebase.hg |
|
1273 | saved backup bundle to $TESTTMP/e/.hg/strip-backup/f574fb32bb45-dd1d9f80-rebase.hg | |
1274 | $ hg log --template '{rev}:{node|short} {desc|firstline}\n' |
|
1274 | $ hg log --template '{rev}:{node|short} {desc|firstline}\n' | |
1275 | 9:598410d3eb9a modify normal file largefile in repo d |
|
1275 | 9:598410d3eb9a modify normal file largefile in repo d | |
1276 | 8:a381d2c8c80e modify normal file and largefile in repo b |
|
1276 | 8:a381d2c8c80e modify normal file and largefile in repo b | |
@@ -1500,8 +1500,8 b' Test hg remove removes empty largefiles ' | |||||
1500 | # XXX we don't really want to report that we're reverting the standin; |
|
1500 | # XXX we don't really want to report that we're reverting the standin; | |
1501 | # that's just an implementation detail. But I don't see an obvious fix. ;-( |
|
1501 | # that's just an implementation detail. But I don't see an obvious fix. ;-( | |
1502 | $ hg revert sub |
|
1502 | $ hg revert sub | |
1503 |
reverting .hglf/sub/large4 |
|
1503 | reverting .hglf/sub/large4 | |
1504 |
reverting sub/normal4 |
|
1504 | reverting sub/normal4 | |
1505 | $ hg status |
|
1505 | $ hg status | |
1506 | M normal3 |
|
1506 | M normal3 | |
1507 | A sub2/large8 |
|
1507 | A sub2/large8 | |
@@ -1513,8 +1513,8 b' Test hg remove removes empty largefiles ' | |||||
1513 | $ cat sub/large4 |
|
1513 | $ cat sub/large4 | |
1514 | large4-modified |
|
1514 | large4-modified | |
1515 | $ hg revert -a --no-backup |
|
1515 | $ hg revert -a --no-backup | |
1516 |
undeleting .hglf/sub2/large6 |
|
1516 | undeleting .hglf/sub2/large6 | |
1517 |
forgetting .hglf/sub2/large8 |
|
1517 | forgetting .hglf/sub2/large8 | |
1518 | reverting normal3 |
|
1518 | reverting normal3 | |
1519 | $ hg status |
|
1519 | $ hg status | |
1520 | ? sub/large4.orig |
|
1520 | ? sub/large4.orig | |
@@ -1528,12 +1528,12 b' Test hg remove removes empty largefiles ' | |||||
1528 |
|
1528 | |||
1529 | revert some files to an older revision |
|
1529 | revert some files to an older revision | |
1530 | $ hg revert --no-backup -r 8 sub2 |
|
1530 | $ hg revert --no-backup -r 8 sub2 | |
1531 |
reverting .hglf/sub2/large6 |
|
1531 | reverting .hglf/sub2/large6 | |
1532 | $ cat sub2/large6 |
|
1532 | $ cat sub2/large6 | |
1533 | large6 |
|
1533 | large6 | |
1534 | $ hg revert --no-backup -C -r '.^' sub2 |
|
1534 | $ hg revert --no-backup -C -r '.^' sub2 | |
1535 | $ hg revert --no-backup sub2 |
|
1535 | $ hg revert --no-backup sub2 | |
1536 |
reverting .hglf/sub2/large6 |
|
1536 | reverting .hglf/sub2/large6 | |
1537 | $ hg status |
|
1537 | $ hg status | |
1538 |
|
1538 | |||
1539 | "verify --large" actually verifies largefiles |
|
1539 | "verify --large" actually verifies largefiles | |
@@ -1542,7 +1542,7 b' revert some files to an older revision' | |||||
1542 | $ pwd |
|
1542 | $ pwd | |
1543 | $TESTTMP/e |
|
1543 | $TESTTMP/e | |
1544 | $ hg paths |
|
1544 | $ hg paths | |
1545 |
default = $TESTTMP/d |
|
1545 | default = $TESTTMP/d | |
1546 |
|
1546 | |||
1547 | $ hg verify --large |
|
1547 | $ hg verify --large | |
1548 | checking changesets |
|
1548 | checking changesets | |
@@ -1565,14 +1565,14 b' and make sure that this is caught:' | |||||
1565 | checking files |
|
1565 | checking files | |
1566 | 10 files, 10 changesets, 28 total revisions |
|
1566 | 10 files, 10 changesets, 28 total revisions | |
1567 | searching 1 changesets for largefiles |
|
1567 | searching 1 changesets for largefiles | |
1568 |
changeset 9:598410d3eb9a: sub/large4 references missing $TESTTMP/d/.hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 |
|
1568 | changeset 9:598410d3eb9a: sub/large4 references missing $TESTTMP/d/.hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 | |
1569 | verified existence of 3 revisions of 3 largefiles |
|
1569 | verified existence of 3 revisions of 3 largefiles | |
1570 | [1] |
|
1570 | [1] | |
1571 |
|
1571 | |||
1572 | - introduce corruption and make sure that it is caught when checking content: |
|
1572 | - introduce corruption and make sure that it is caught when checking content: | |
1573 | $ echo '5 cents' > $TESTTMP/d/.hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 |
|
1573 | $ echo '5 cents' > $TESTTMP/d/.hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 | |
1574 | $ hg verify -q --large --lfc |
|
1574 | $ hg verify -q --large --lfc | |
1575 |
changeset 9:598410d3eb9a: sub/large4 references corrupted $TESTTMP/d/.hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 |
|
1575 | changeset 9:598410d3eb9a: sub/large4 references corrupted $TESTTMP/d/.hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 | |
1576 | [1] |
|
1576 | [1] | |
1577 |
|
1577 | |||
1578 | - cleanup |
|
1578 | - cleanup | |
@@ -1582,16 +1582,16 b' and make sure that this is caught:' | |||||
1582 | - verifying all revisions will fail because we didn't clone all largefiles to d: |
|
1582 | - verifying all revisions will fail because we didn't clone all largefiles to d: | |
1583 | $ echo 'T-shirt' > $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 |
|
1583 | $ echo 'T-shirt' > $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 | |
1584 | $ hg verify -q --lfa --lfc |
|
1584 | $ hg verify -q --lfa --lfc | |
1585 |
changeset 0:30d30fe6a5be: large1 references missing $TESTTMP/d/.hg/largefiles/4669e532d5b2c093a78eca010077e708a071bb64 |
|
1585 | changeset 0:30d30fe6a5be: large1 references missing $TESTTMP/d/.hg/largefiles/4669e532d5b2c093a78eca010077e708a071bb64 | |
1586 |
changeset 0:30d30fe6a5be: sub/large2 references missing $TESTTMP/d/.hg/largefiles/1deebade43c8c498a3c8daddac0244dc55d1331d |
|
1586 | changeset 0:30d30fe6a5be: sub/large2 references missing $TESTTMP/d/.hg/largefiles/1deebade43c8c498a3c8daddac0244dc55d1331d | |
1587 |
changeset 1:ce8896473775: large1 references missing $TESTTMP/d/.hg/largefiles/5f78770c0e77ba4287ad6ef3071c9bf9c379742f |
|
1587 | changeset 1:ce8896473775: large1 references missing $TESTTMP/d/.hg/largefiles/5f78770c0e77ba4287ad6ef3071c9bf9c379742f | |
1588 |
changeset 1:ce8896473775: sub/large2 references corrupted $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 |
|
1588 | changeset 1:ce8896473775: sub/large2 references corrupted $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 | |
1589 |
changeset 3:9e8fbc4bce62: large1 references corrupted $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 |
|
1589 | changeset 3:9e8fbc4bce62: large1 references corrupted $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 | |
1590 |
changeset 4:74c02385b94c: large3 references corrupted $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 |
|
1590 | changeset 4:74c02385b94c: large3 references corrupted $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 | |
1591 |
changeset 4:74c02385b94c: sub/large4 references corrupted $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 |
|
1591 | changeset 4:74c02385b94c: sub/large4 references corrupted $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 | |
1592 |
changeset 5:9d5af5072dbd: large3 references missing $TESTTMP/d/.hg/largefiles/baaf12afde9d8d67f25dab6dced0d2bf77dba47c |
|
1592 | changeset 5:9d5af5072dbd: large3 references missing $TESTTMP/d/.hg/largefiles/baaf12afde9d8d67f25dab6dced0d2bf77dba47c | |
1593 |
changeset 5:9d5af5072dbd: sub/large4 references missing $TESTTMP/d/.hg/largefiles/aeb2210d19f02886dde00dac279729a48471e2f9 |
|
1593 | changeset 5:9d5af5072dbd: sub/large4 references missing $TESTTMP/d/.hg/largefiles/aeb2210d19f02886dde00dac279729a48471e2f9 | |
1594 |
changeset 6:4355d653f84f: large3 references missing $TESTTMP/d/.hg/largefiles/7838695e10da2bb75ac1156565f40a2595fa2fa0 |
|
1594 | changeset 6:4355d653f84f: large3 references missing $TESTTMP/d/.hg/largefiles/7838695e10da2bb75ac1156565f40a2595fa2fa0 | |
1595 | [1] |
|
1595 | [1] | |
1596 |
|
1596 | |||
1597 | - cleanup |
|
1597 | - cleanup | |
@@ -1655,7 +1655,7 b' Merge with revision with missing largefi' | |||||
1655 | Pulling 0 revisions with --all-largefiles should not fetch for all revisions |
|
1655 | Pulling 0 revisions with --all-largefiles should not fetch for all revisions | |
1656 |
|
1656 | |||
1657 | $ hg pull --all-largefiles |
|
1657 | $ hg pull --all-largefiles | |
1658 |
pulling from $TESTTMP/d |
|
1658 | pulling from $TESTTMP/d | |
1659 | searching for changes |
|
1659 | searching for changes | |
1660 | no changes found |
|
1660 | no changes found | |
1661 |
|
1661 | |||
@@ -1752,8 +1752,8 b' Test status after merging with a branch ' | |||||
1752 |
|
1752 | |||
1753 | - revert should be able to revert files introduced in a pending merge |
|
1753 | - revert should be able to revert files introduced in a pending merge | |
1754 | $ hg revert --all -r . |
|
1754 | $ hg revert --all -r . | |
1755 |
removing .hglf/large |
|
1755 | removing .hglf/large | |
1756 |
undeleting .hglf/sub2/large6 |
|
1756 | undeleting .hglf/sub2/large6 | |
1757 |
|
1757 | |||
1758 | Test that a normal file and a largefile with the same name and path cannot |
|
1758 | Test that a normal file and a largefile with the same name and path cannot | |
1759 | coexist. |
|
1759 | coexist. | |
@@ -1761,7 +1761,7 b' coexist.' | |||||
1761 | $ rm sub2/large7 |
|
1761 | $ rm sub2/large7 | |
1762 | $ echo "largeasnormal" > sub2/large7 |
|
1762 | $ echo "largeasnormal" > sub2/large7 | |
1763 | $ hg add sub2/large7 |
|
1763 | $ hg add sub2/large7 | |
1764 |
sub2/large7 already a largefile |
|
1764 | sub2/large7 already a largefile | |
1765 |
|
1765 | |||
1766 | Test that transplanting a largefile change works correctly. |
|
1766 | Test that transplanting a largefile change works correctly. | |
1767 |
|
1767 | |||
@@ -1832,7 +1832,7 b' Cat a standin' | |||||
1832 | $ hg cat .hglf/sub/large4 |
|
1832 | $ hg cat .hglf/sub/large4 | |
1833 | e166e74c7303192238d60af5a9c4ce9bef0b7928 |
|
1833 | e166e74c7303192238d60af5a9c4ce9bef0b7928 | |
1834 | $ hg cat .hglf/normal3 |
|
1834 | $ hg cat .hglf/normal3 | |
1835 |
.hglf/normal3: no such file in rev 598410d3eb9a |
|
1835 | .hglf/normal3: no such file in rev 598410d3eb9a | |
1836 | [1] |
|
1836 | [1] | |
1837 |
|
1837 | |||
1838 | Test that renaming a largefile results in correct output for status |
|
1838 | Test that renaming a largefile results in correct output for status |
@@ -215,7 +215,7 b' lfconvert with rename, merge, and remove' | |||||
215 | $ hg share -q -U bigfile-repo shared |
|
215 | $ hg share -q -U bigfile-repo shared | |
216 | $ printf 'bogus' > shared/.hg/sharedpath |
|
216 | $ printf 'bogus' > shared/.hg/sharedpath | |
217 | $ hg lfconvert shared foo |
|
217 | $ hg lfconvert shared foo | |
218 |
abort: .hg/sharedpath points to nonexistent directory $TESTTMP/bogus! |
|
218 | abort: .hg/sharedpath points to nonexistent directory $TESTTMP/bogus! | |
219 | [255] |
|
219 | [255] | |
220 | $ hg lfconvert bigfile-repo largefiles-repo |
|
220 | $ hg lfconvert bigfile-repo largefiles-repo | |
221 | initializing destination largefiles-repo |
|
221 | initializing destination largefiles-repo | |
@@ -340,12 +340,12 b' process.' | |||||
340 | checking files |
|
340 | checking files | |
341 | 9 files, 8 changesets, 13 total revisions |
|
341 | 9 files, 8 changesets, 13 total revisions | |
342 | searching 7 changesets for largefiles |
|
342 | searching 7 changesets for largefiles | |
343 |
changeset 0:d4892ec57ce2: large references missing $TESTTMP/largefiles-repo-hg/.hg/largefiles/2e000fa7e85759c7f4c254d4d9c33ef481e459a7 |
|
343 | changeset 0:d4892ec57ce2: large references missing $TESTTMP/largefiles-repo-hg/.hg/largefiles/2e000fa7e85759c7f4c254d4d9c33ef481e459a7 | |
344 |
changeset 1:334e5237836d: sub/maybelarge.dat references missing $TESTTMP/largefiles-repo-hg/.hg/largefiles/34e163be8e43c5631d8b92e9c43ab0bf0fa62b9c |
|
344 | changeset 1:334e5237836d: sub/maybelarge.dat references missing $TESTTMP/largefiles-repo-hg/.hg/largefiles/34e163be8e43c5631d8b92e9c43ab0bf0fa62b9c | |
345 |
changeset 2:261ad3f3f037: stuff/maybelarge.dat references missing $TESTTMP/largefiles-repo-hg/.hg/largefiles/34e163be8e43c5631d8b92e9c43ab0bf0fa62b9c |
|
345 | changeset 2:261ad3f3f037: stuff/maybelarge.dat references missing $TESTTMP/largefiles-repo-hg/.hg/largefiles/34e163be8e43c5631d8b92e9c43ab0bf0fa62b9c | |
346 |
changeset 3:55759520c76f: sub/maybelarge.dat references missing $TESTTMP/largefiles-repo-hg/.hg/largefiles/76236b6a2c6102826c61af4297dd738fb3b1de38 |
|
346 | changeset 3:55759520c76f: sub/maybelarge.dat references missing $TESTTMP/largefiles-repo-hg/.hg/largefiles/76236b6a2c6102826c61af4297dd738fb3b1de38 | |
347 |
changeset 5:9cc5aa7204f0: stuff/maybelarge.dat references missing $TESTTMP/largefiles-repo-hg/.hg/largefiles/76236b6a2c6102826c61af4297dd738fb3b1de38 |
|
347 | changeset 5:9cc5aa7204f0: stuff/maybelarge.dat references missing $TESTTMP/largefiles-repo-hg/.hg/largefiles/76236b6a2c6102826c61af4297dd738fb3b1de38 | |
348 |
changeset 6:17126745edfd: anotherlarge references missing $TESTTMP/largefiles-repo-hg/.hg/largefiles/3b71f43ff30f4b15b5cd85dd9e95ebc7e84eb5a3 |
|
348 | changeset 6:17126745edfd: anotherlarge references missing $TESTTMP/largefiles-repo-hg/.hg/largefiles/3b71f43ff30f4b15b5cd85dd9e95ebc7e84eb5a3 | |
349 | verified existence of 6 revisions of 4 largefiles |
|
349 | verified existence of 6 revisions of 4 largefiles | |
350 | [1] |
|
350 | [1] | |
351 | $ hg -R largefiles-repo-hg showconfig paths |
|
351 | $ hg -R largefiles-repo-hg showconfig paths |
@@ -46,7 +46,7 b'' | |||||
46 | # Push changes to the server |
|
46 | # Push changes to the server | |
47 |
|
47 | |||
48 | $ hg push |
|
48 | $ hg push | |
49 |
pushing to $TESTTMP/server |
|
49 | pushing to $TESTTMP/server | |
50 | searching for changes |
|
50 | searching for changes | |
51 | abort: lfs.url needs to be configured |
|
51 | abort: lfs.url needs to be configured | |
52 | [255] |
|
52 | [255] | |
@@ -57,7 +57,7 b'' | |||||
57 | > EOF |
|
57 | > EOF | |
58 |
|
58 | |||
59 | $ hg push -v | egrep -v '^(uncompressed| )' |
|
59 | $ hg push -v | egrep -v '^(uncompressed| )' | |
60 |
pushing to $TESTTMP/server |
|
60 | pushing to $TESTTMP/server | |
61 | searching for changes |
|
61 | searching for changes | |
62 | 2 changesets found |
|
62 | 2 changesets found | |
63 | adding changesets |
|
63 | adding changesets | |
@@ -83,7 +83,7 b'' | |||||
83 |
|
83 | |||
84 | # Pull from server |
|
84 | # Pull from server | |
85 | $ hg pull default |
|
85 | $ hg pull default | |
86 |
pulling from $TESTTMP/server |
|
86 | pulling from $TESTTMP/server | |
87 | requesting all changes |
|
87 | requesting all changes | |
88 | adding changesets |
|
88 | adding changesets | |
89 | adding manifests |
|
89 | adding manifests |
@@ -90,16 +90,16 b' Issue294: hg remove --after dir fails wh' | |||||
90 | $ hg rm t/b |
|
90 | $ hg rm t/b | |
91 |
|
91 | |||
92 | $ hg locate 't/**' |
|
92 | $ hg locate 't/**' | |
93 | t/b (glob) |
|
93 | t/b | |
94 |
t/e.h |
|
94 | t/e.h | |
95 | t/x (glob) |
|
95 | t/x | |
96 |
|
96 | |||
97 | $ hg files |
|
97 | $ hg files | |
98 | b |
|
98 | b | |
99 |
dir.h/foo |
|
99 | dir.h/foo | |
100 | t.h |
|
100 | t.h | |
101 |
t/e.h |
|
101 | t/e.h | |
102 | t/x (glob) |
|
102 | t/x | |
103 | $ hg files b |
|
103 | $ hg files b | |
104 | b |
|
104 | b | |
105 |
|
105 | |||
@@ -107,47 +107,47 b' Issue294: hg remove --after dir fails wh' | |||||
107 | $ cd otherdir |
|
107 | $ cd otherdir | |
108 |
|
108 | |||
109 | $ hg files path: |
|
109 | $ hg files path: | |
110 |
../b |
|
110 | ../b | |
111 |
../dir.h/foo |
|
111 | ../dir.h/foo | |
112 |
../t.h |
|
112 | ../t.h | |
113 |
../t/e.h |
|
113 | ../t/e.h | |
114 |
../t/x |
|
114 | ../t/x | |
115 | $ hg files path:. |
|
115 | $ hg files path:. | |
116 |
../b |
|
116 | ../b | |
117 |
../dir.h/foo |
|
117 | ../dir.h/foo | |
118 |
../t.h |
|
118 | ../t.h | |
119 |
../t/e.h |
|
119 | ../t/e.h | |
120 |
../t/x |
|
120 | ../t/x | |
121 |
|
121 | |||
122 | $ hg locate b |
|
122 | $ hg locate b | |
123 |
../b |
|
123 | ../b | |
124 |
../t/b |
|
124 | ../t/b | |
125 | $ hg locate '*.h' |
|
125 | $ hg locate '*.h' | |
126 |
../t.h |
|
126 | ../t.h | |
127 |
../t/e.h |
|
127 | ../t/e.h | |
128 | $ hg locate path:t/x |
|
128 | $ hg locate path:t/x | |
129 |
../t/x |
|
129 | ../t/x | |
130 | $ hg locate 're:.*\.h$' |
|
130 | $ hg locate 're:.*\.h$' | |
131 |
../t.h |
|
131 | ../t.h | |
132 |
../t/e.h |
|
132 | ../t/e.h | |
133 | $ hg locate -r 0 b |
|
133 | $ hg locate -r 0 b | |
134 |
../b |
|
134 | ../b | |
135 |
../t/b |
|
135 | ../t/b | |
136 | $ hg locate -r 0 '*.h' |
|
136 | $ hg locate -r 0 '*.h' | |
137 |
../t.h |
|
137 | ../t.h | |
138 |
../t/e.h |
|
138 | ../t/e.h | |
139 | $ hg locate -r 0 path:t/x |
|
139 | $ hg locate -r 0 path:t/x | |
140 |
../t/x |
|
140 | ../t/x | |
141 | $ hg locate -r 0 're:.*\.h$' |
|
141 | $ hg locate -r 0 're:.*\.h$' | |
142 |
../t.h |
|
142 | ../t.h | |
143 |
../t/e.h |
|
143 | ../t/e.h | |
144 |
|
144 | |||
145 | $ hg files |
|
145 | $ hg files | |
146 |
../b |
|
146 | ../b | |
147 |
../dir.h/foo |
|
147 | ../dir.h/foo | |
148 |
../t.h |
|
148 | ../t.h | |
149 |
../t/e.h |
|
149 | ../t/e.h | |
150 |
../t/x |
|
150 | ../t/x | |
151 | $ hg files . |
|
151 | $ hg files . | |
152 | [1] |
|
152 | [1] | |
153 |
|
153 |
@@ -26,7 +26,7 b' The next call is expected to return noth' | |||||
26 |
|
26 | |||
27 | $ hg files -vr . |
|
27 | $ hg files -vr . | |
28 | 2 a |
|
28 | 2 a | |
29 |
2 x b/a |
|
29 | 2 x b/a | |
30 | 1 l l |
|
30 | 1 l l | |
31 | $ hg files -r . -X b |
|
31 | $ hg files -r . -X b | |
32 | a |
|
32 | a |
@@ -116,11 +116,11 b' Criss cross merging' | |||||
116 |
|
116 | |||
117 | $ f --dump --recurse * |
|
117 | $ f --dump --recurse * | |
118 | d2: directory with 2 files |
|
118 | d2: directory with 2 files | |
119 |
d2/f3: |
|
119 | d2/f3: | |
120 | >>> |
|
120 | >>> | |
121 | 0 base |
|
121 | 0 base | |
122 | <<< |
|
122 | <<< | |
123 |
d2/f4: |
|
123 | d2/f4: | |
124 | >>> |
|
124 | >>> | |
125 | 0 base |
|
125 | 0 base | |
126 | <<< |
|
126 | <<< | |
@@ -222,11 +222,11 b' Redo merge with merge.preferancestor="*"' | |||||
222 |
|
222 | |||
223 | $ f --dump --recurse * |
|
223 | $ f --dump --recurse * | |
224 | d2: directory with 2 files |
|
224 | d2: directory with 2 files | |
225 |
d2/f3: |
|
225 | d2/f3: | |
226 | >>> |
|
226 | >>> | |
227 | 0 base |
|
227 | 0 base | |
228 | <<< |
|
228 | <<< | |
229 |
d2/f4: |
|
229 | d2/f4: | |
230 | >>> |
|
230 | >>> | |
231 | 0 base |
|
231 | 0 base | |
232 | <<< |
|
232 | <<< | |
@@ -308,11 +308,11 b' The other way around:' | |||||
308 |
|
308 | |||
309 | $ f --dump --recurse * |
|
309 | $ f --dump --recurse * | |
310 | d2: directory with 2 files |
|
310 | d2: directory with 2 files | |
311 |
d2/f3: |
|
311 | d2/f3: | |
312 | >>> |
|
312 | >>> | |
313 | 0 base |
|
313 | 0 base | |
314 | <<< |
|
314 | <<< | |
315 |
d2/f4: |
|
315 | d2/f4: | |
316 | >>> |
|
316 | >>> | |
317 | 0 base |
|
317 | 0 base | |
318 | <<< |
|
318 | <<< |
@@ -122,7 +122,7 b" XXX: There's a difference between wdir()" | |||||
122 | $ hg files -R subrepo |
|
122 | $ hg files -R subrepo | |
123 | [1] |
|
123 | [1] | |
124 | $ hg files -R subrepo -r '.' |
|
124 | $ hg files -R subrepo -r '.' | |
125 |
subrepo/b |
|
125 | subrepo/b | |
126 |
|
126 | |||
127 | $ hg bookmark -r tip @other |
|
127 | $ hg bookmark -r tip @other | |
128 | $ echo xyz > subrepo/c |
|
128 | $ echo xyz > subrepo/c |
@@ -58,7 +58,7 b' Create a patch removing a:' | |||||
58 | Save the patch queue so we can merge it later: |
|
58 | Save the patch queue so we can merge it later: | |
59 |
|
59 | |||
60 | $ hg qsave -c -e |
|
60 | $ hg qsave -c -e | |
61 |
copy $TESTTMP/t/.hg/patches to $TESTTMP/t/.hg/patches.1 |
|
61 | copy $TESTTMP/t/.hg/patches to $TESTTMP/t/.hg/patches.1 | |
62 | $ checkundo |
|
62 | $ checkundo | |
63 |
|
63 | |||
64 | Update b and commit in an "update" changeset: |
|
64 | Update b and commit in an "update" changeset: | |
@@ -78,7 +78,7 b' Update b and commit in an "update" chang' | |||||
78 | b |
|
78 | b | |
79 |
|
79 | |||
80 | $ hg qpush -a -m |
|
80 | $ hg qpush -a -m | |
81 |
merging with queue at: $TESTTMP/t/.hg/patches.1 |
|
81 | merging with queue at: $TESTTMP/t/.hg/patches.1 | |
82 | applying rm_a |
|
82 | applying rm_a | |
83 | now at: rm_a |
|
83 | now at: rm_a | |
84 |
|
84 | |||
@@ -117,14 +117,14 b' Classic MQ merge sequence *with an expli' | |||||
117 | Create the reference queue: |
|
117 | Create the reference queue: | |
118 |
|
118 | |||
119 | $ hg qsave -c -e -n refqueue |
|
119 | $ hg qsave -c -e -n refqueue | |
120 |
copy $TESTTMP/t2/.hg/patches to $TESTTMP/t2/.hg/refqueue |
|
120 | copy $TESTTMP/t2/.hg/patches to $TESTTMP/t2/.hg/refqueue | |
121 | $ hg up -C 1 |
|
121 | $ hg up -C 1 | |
122 | 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
122 | 1 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
123 |
|
123 | |||
124 | Merge: |
|
124 | Merge: | |
125 |
|
125 | |||
126 | $ HGMERGE=internal:other hg qpush -a -m -n refqueue |
|
126 | $ HGMERGE=internal:other hg qpush -a -m -n refqueue | |
127 |
merging with queue at: $TESTTMP/t2/.hg/refqueue |
|
127 | merging with queue at: $TESTTMP/t2/.hg/refqueue | |
128 | applying patcha |
|
128 | applying patcha | |
129 | patching file a |
|
129 | patching file a | |
130 | Hunk #1 succeeded at 2 with fuzz 1 (offset 0 lines). |
|
130 | Hunk #1 succeeded at 2 with fuzz 1 (offset 0 lines). |
@@ -117,7 +117,7 b' plain headers' | |||||
117 | abort: patch name cannot begin or end with whitespace |
|
117 | abort: patch name cannot begin or end with whitespace | |
118 | abort: patch name cannot begin or end with whitespace |
|
118 | abort: patch name cannot begin or end with whitespace | |
119 | % qnew with name containing slash |
|
119 | % qnew with name containing slash | |
120 |
abort: path ends in directory separator: foo/ |
|
120 | abort: path ends in directory separator: foo/ | |
121 | abort: "foo" already exists as a directory |
|
121 | abort: "foo" already exists as a directory | |
122 | foo/bar.patch |
|
122 | foo/bar.patch | |
123 | popping foo/bar.patch |
|
123 | popping foo/bar.patch | |
@@ -187,7 +187,7 b' hg headers' | |||||
187 | abort: patch name cannot begin or end with whitespace |
|
187 | abort: patch name cannot begin or end with whitespace | |
188 | abort: patch name cannot begin or end with whitespace |
|
188 | abort: patch name cannot begin or end with whitespace | |
189 | % qnew with name containing slash |
|
189 | % qnew with name containing slash | |
190 |
abort: path ends in directory separator: foo/ |
|
190 | abort: path ends in directory separator: foo/ | |
191 | abort: "foo" already exists as a directory |
|
191 | abort: "foo" already exists as a directory | |
192 | foo/bar.patch |
|
192 | foo/bar.patch | |
193 | popping foo/bar.patch |
|
193 | popping foo/bar.patch |
@@ -68,7 +68,7 b' qpop/qrefresh on the wrong revision' | |||||
68 | abort: popping would remove a revision not managed by this patch queue |
|
68 | abort: popping would remove a revision not managed by this patch queue | |
69 | [255] |
|
69 | [255] | |
70 | $ hg qpop -n patches |
|
70 | $ hg qpop -n patches | |
71 |
using patch queue: $TESTTMP/repo/.hg/patches |
|
71 | using patch queue: $TESTTMP/repo/.hg/patches | |
72 | abort: popping would remove a revision not managed by this patch queue |
|
72 | abort: popping would remove a revision not managed by this patch queue | |
73 | [255] |
|
73 | [255] | |
74 | $ hg qrefresh |
|
74 | $ hg qrefresh |
@@ -247,7 +247,7 b' qpop' | |||||
247 | [255] |
|
247 | [255] | |
248 | $ hg revert sub |
|
248 | $ hg revert sub | |
249 | reverting subrepo sub |
|
249 | reverting subrepo sub | |
250 |
adding sub/a |
|
250 | adding sub/a | |
251 | $ hg qpop |
|
251 | $ hg qpop | |
252 | popping 1 |
|
252 | popping 1 | |
253 | now at: 0 |
|
253 | now at: 0 | |
@@ -266,7 +266,7 b' qpush' | |||||
266 | [255] |
|
266 | [255] | |
267 | $ hg revert sub |
|
267 | $ hg revert sub | |
268 | reverting subrepo sub |
|
268 | reverting subrepo sub | |
269 |
adding sub/a |
|
269 | adding sub/a | |
270 | $ hg qpush |
|
270 | $ hg qpush | |
271 | applying 1 |
|
271 | applying 1 | |
272 | subrepository sub diverged (local revision: b2fdb12cd82b, remote revision: aa037b301eba) |
|
272 | subrepository sub diverged (local revision: b2fdb12cd82b, remote revision: aa037b301eba) |
@@ -154,7 +154,7 b' qinit -c should create both files if the' | |||||
154 | guards |
|
154 | guards | |
155 | $ cat .hg/patches/series |
|
155 | $ cat .hg/patches/series | |
156 | $ hg qinit -c |
|
156 | $ hg qinit -c | |
157 |
abort: repository $TESTTMP/d/.hg/patches already exists! |
|
157 | abort: repository $TESTTMP/d/.hg/patches already exists! | |
158 | [255] |
|
158 | [255] | |
159 | $ cd .. |
|
159 | $ cd .. | |
160 |
|
160 | |||
@@ -177,8 +177,8 b' qinit -c should create both files if the' | |||||
177 | $ echo status >> .hg/patches/.hgignore |
|
177 | $ echo status >> .hg/patches/.hgignore | |
178 | $ echo bleh >> .hg/patches/.hgignore |
|
178 | $ echo bleh >> .hg/patches/.hgignore | |
179 | $ hg qinit -c |
|
179 | $ hg qinit -c | |
180 |
adding .hg/patches/A |
|
180 | adding .hg/patches/A | |
181 |
adding .hg/patches/B |
|
181 | adding .hg/patches/B | |
182 | $ hg -R .hg/patches status |
|
182 | $ hg -R .hg/patches status | |
183 | A .hgignore |
|
183 | A .hgignore | |
184 | A A |
|
184 | A A | |
@@ -800,7 +800,7 b' strip with local changes, should complai' | |||||
800 |
|
800 | |||
801 | $ hg strip -f tip |
|
801 | $ hg strip -f tip | |
802 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
802 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
803 |
saved backup bundle to $TESTTMP/b/.hg/strip-backup/770eb8fce608-0ddcae0f-backup.hg |
|
803 | saved backup bundle to $TESTTMP/b/.hg/strip-backup/770eb8fce608-0ddcae0f-backup.hg | |
804 | $ cd .. |
|
804 | $ cd .. | |
805 |
|
805 | |||
806 |
|
806 | |||
@@ -1247,7 +1247,7 b' repo with unversioned patch dir' | |||||
1247 |
|
1247 | |||
1248 | $ cd qclonesource |
|
1248 | $ cd qclonesource | |
1249 | $ hg qinit -c |
|
1249 | $ hg qinit -c | |
1250 |
adding .hg/patches/patch1 |
|
1250 | adding .hg/patches/patch1 | |
1251 | $ hg qci -m checkpoint |
|
1251 | $ hg qci -m checkpoint | |
1252 | $ qlog |
|
1252 | $ qlog | |
1253 | main repo: |
|
1253 | main repo: | |
@@ -1388,8 +1388,8 b' apply force, should discard changes in h' | |||||
1388 |
|
1388 | |||
1389 | $ hg qpush -f --verbose --config 'ui.origbackuppath=.hg/origbackups' |
|
1389 | $ hg qpush -f --verbose --config 'ui.origbackuppath=.hg/origbackups' | |
1390 | applying empty |
|
1390 | applying empty | |
1391 |
creating directory: $TESTTMP/forcepush/.hg/origbackups |
|
1391 | creating directory: $TESTTMP/forcepush/.hg/origbackups | |
1392 |
saving current version of hello.txt as $TESTTMP/forcepush/.hg/origbackups/hello.txt |
|
1392 | saving current version of hello.txt as $TESTTMP/forcepush/.hg/origbackups/hello.txt | |
1393 | patching file hello.txt |
|
1393 | patching file hello.txt | |
1394 | committing files: |
|
1394 | committing files: | |
1395 | hello.txt |
|
1395 | hello.txt |
@@ -1339,7 +1339,7 b' directory move' | |||||
1339 | % hg ci -m t0 |
|
1339 | % hg ci -m t0 | |
1340 | created new head |
|
1340 | created new head | |
1341 | % hg mv x y |
|
1341 | % hg mv x y | |
1342 |
moving x/x to y/x |
|
1342 | moving x/x to y/x | |
1343 | % hg ci -m t1 |
|
1343 | % hg ci -m t1 | |
1344 | % add y/x x1 |
|
1344 | % add y/x x1 | |
1345 | % hg ci -m t2 |
|
1345 | % hg ci -m t2 |
@@ -14,16 +14,16 b' Should print nothing:' | |||||
14 | Should fail: |
|
14 | Should fail: | |
15 |
|
15 | |||
16 | $ hg st b/x |
|
16 | $ hg st b/x | |
17 |
abort: path 'b/x' is inside nested repo 'b' |
|
17 | abort: path 'b/x' is inside nested repo 'b' | |
18 | [255] |
|
18 | [255] | |
19 | $ hg add b/x |
|
19 | $ hg add b/x | |
20 |
abort: path 'b/x' is inside nested repo 'b' |
|
20 | abort: path 'b/x' is inside nested repo 'b' | |
21 | [255] |
|
21 | [255] | |
22 |
|
22 | |||
23 | Should fail: |
|
23 | Should fail: | |
24 |
|
24 | |||
25 | $ hg add b b/x |
|
25 | $ hg add b b/x | |
26 |
abort: path 'b/x' is inside nested repo 'b' |
|
26 | abort: path 'b/x' is inside nested repo 'b' | |
27 | [255] |
|
27 | [255] | |
28 | $ hg st |
|
28 | $ hg st | |
29 |
|
29 | |||
@@ -37,7 +37,7 b' Should arguably print nothing:' | |||||
37 | Should fail: |
|
37 | Should fail: | |
38 |
|
38 | |||
39 | $ hg mv a b |
|
39 | $ hg mv a b | |
40 |
abort: path 'b/a' is inside nested repo 'b' |
|
40 | abort: path 'b/a' is inside nested repo 'b' | |
41 | [255] |
|
41 | [255] | |
42 | $ hg st |
|
42 | $ hg st | |
43 |
|
43 |
@@ -56,11 +56,11 b' push' | |||||
56 | Message-Id: <*> (glob) |
|
56 | Message-Id: <*> (glob) | |
57 | To: baz, foo@bar |
|
57 | To: baz, foo@bar | |
58 |
|
58 | |||
59 |
changeset cb9a9f314b8b in $TESTTMP/a |
|
59 | changeset cb9a9f314b8b in $TESTTMP/a | |
60 | details: $TESTTMP/a?cmd=changeset;node=cb9a9f314b8b |
|
60 | details: $TESTTMP/a?cmd=changeset;node=cb9a9f314b8b | |
61 | summary: a |
|
61 | summary: a | |
62 |
|
62 | |||
63 |
changeset ba677d0156c1 in $TESTTMP/a |
|
63 | changeset ba677d0156c1 in $TESTTMP/a | |
64 | details: $TESTTMP/a?cmd=changeset;node=ba677d0156c1 |
|
64 | details: $TESTTMP/a?cmd=changeset;node=ba677d0156c1 | |
65 | summary: b |
|
65 | summary: b | |
66 |
|
66 | |||
@@ -109,11 +109,11 b' unbundle with correct source' | |||||
109 | Message-Id: <*> (glob) |
|
109 | Message-Id: <*> (glob) | |
110 | To: baz, foo@bar |
|
110 | To: baz, foo@bar | |
111 |
|
111 | |||
112 |
changeset cb9a9f314b8b in $TESTTMP/a |
|
112 | changeset cb9a9f314b8b in $TESTTMP/a | |
113 | details: $TESTTMP/a?cmd=changeset;node=cb9a9f314b8b |
|
113 | details: $TESTTMP/a?cmd=changeset;node=cb9a9f314b8b | |
114 | summary: a |
|
114 | summary: a | |
115 |
|
115 | |||
116 |
changeset ba677d0156c1 in $TESTTMP/a |
|
116 | changeset ba677d0156c1 in $TESTTMP/a | |
117 | details: $TESTTMP/a?cmd=changeset;node=ba677d0156c1 |
|
117 | details: $TESTTMP/a?cmd=changeset;node=ba677d0156c1 | |
118 | summary: b |
|
118 | summary: b | |
119 |
|
119 | |||
@@ -186,19 +186,19 b' push' | |||||
186 | Message-Id: <*> (glob) |
|
186 | Message-Id: <*> (glob) | |
187 | To: baz, foo@bar |
|
187 | To: baz, foo@bar | |
188 |
|
188 | |||
189 |
changeset 84e487dddc58 in $TESTTMP/a |
|
189 | changeset 84e487dddc58 in $TESTTMP/a | |
190 | details: $TESTTMP/a?cmd=changeset;node=84e487dddc58 |
|
190 | details: $TESTTMP/a?cmd=changeset;node=84e487dddc58 | |
191 | summary: newfile |
|
191 | summary: newfile | |
192 |
|
192 | |||
193 |
changeset b29c7a2b6b0c in $TESTTMP/a |
|
193 | changeset b29c7a2b6b0c in $TESTTMP/a | |
194 | details: $TESTTMP/a?cmd=changeset;node=b29c7a2b6b0c |
|
194 | details: $TESTTMP/a?cmd=changeset;node=b29c7a2b6b0c | |
195 | summary: x |
|
195 | summary: x | |
196 |
|
196 | |||
197 |
changeset 0957c7d64886 in $TESTTMP/a |
|
197 | changeset 0957c7d64886 in $TESTTMP/a | |
198 | details: $TESTTMP/a?cmd=changeset;node=0957c7d64886 |
|
198 | details: $TESTTMP/a?cmd=changeset;node=0957c7d64886 | |
199 | summary: y |
|
199 | summary: y | |
200 |
|
200 | |||
201 |
changeset 485b4e6b0249 in $TESTTMP/a |
|
201 | changeset 485b4e6b0249 in $TESTTMP/a | |
202 | details: $TESTTMP/a?cmd=changeset;node=485b4e6b0249 |
|
202 | details: $TESTTMP/a?cmd=changeset;node=485b4e6b0249 | |
203 | summary: merged |
|
203 | summary: merged | |
204 |
|
204 |
@@ -199,7 +199,7 b' pull (minimal config)' | |||||
199 | Message-Id: <*> (glob) |
|
199 | Message-Id: <*> (glob) | |
200 | To: baz, foo@bar |
|
200 | To: baz, foo@bar | |
201 |
|
201 | |||
202 |
changeset 0647d048b600 in $TESTTMP/b |
|
202 | changeset 0647d048b600 in $TESTTMP/b | |
203 | details: $TESTTMP/b?cmd=changeset;node=0647d048b600 |
|
203 | details: $TESTTMP/b?cmd=changeset;node=0647d048b600 | |
204 | description: b |
|
204 | description: b | |
205 |
|
205 | |||
@@ -563,7 +563,7 b' default template:' | |||||
563 | Message-Id: <hg.f5e8ec95bf59.*.*@*> (glob) |
|
563 | Message-Id: <hg.f5e8ec95bf59.*.*@*> (glob) | |
564 | To: baz@test.com, foo@bar |
|
564 | To: baz@test.com, foo@bar | |
565 |
|
565 | |||
566 |
changeset f5e8ec95bf59 in $TESTTMP/b |
|
566 | changeset f5e8ec95bf59 in $TESTTMP/b | |
567 | details: http://test/b?cmd=changeset;node=f5e8ec95bf59 |
|
567 | details: http://test/b?cmd=changeset;node=f5e8ec95bf59 | |
568 | description: default template |
|
568 | description: default template | |
569 |
|
569 |
@@ -1419,7 +1419,7 b' Test setup' | |||||
1419 |
|
1419 | |||
1420 | $ cd $TESTTMP/templates-local-remote-markers-2 |
|
1420 | $ cd $TESTTMP/templates-local-remote-markers-2 | |
1421 | $ hg pull |
|
1421 | $ hg pull | |
1422 |
pulling from $TESTTMP/templates-local-remote-markers-1 |
|
1422 | pulling from $TESTTMP/templates-local-remote-markers-1 | |
1423 | searching for changes |
|
1423 | searching for changes | |
1424 | adding changesets |
|
1424 | adding changesets | |
1425 | adding manifests |
|
1425 | adding manifests |
@@ -158,7 +158,7 b' Actual testing' | |||||
158 | ### diff <relevant> <bundled> ### |
|
158 | ### diff <relevant> <bundled> ### | |
159 | ################################# |
|
159 | ################################# | |
160 | ### Exclusive markers ### |
|
160 | ### Exclusive markers ### | |
161 |
# stripping: saved backup bundle to $TESTTMP/simple-chain/.hg/strip-backup/84fcb0dfe17b-6454bbdc-backup.hg |
|
161 | # stripping: saved backup bundle to $TESTTMP/simple-chain/.hg/strip-backup/84fcb0dfe17b-6454bbdc-backup.hg | |
162 | ### Backup markers ### |
|
162 | ### Backup markers ### | |
163 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 84fcb0dfe17b256ebae52e05572993b9194c018a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
163 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 84fcb0dfe17b256ebae52e05572993b9194c018a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
164 | ### diff <relevant> <backed-up> ### |
|
164 | ### diff <relevant> <backed-up> ### | |
@@ -189,7 +189,7 b' Actual testing' | |||||
189 | ### Exclusive markers ### |
|
189 | ### Exclusive markers ### | |
190 | 84fcb0dfe17b256ebae52e05572993b9194c018a a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
190 | 84fcb0dfe17b256ebae52e05572993b9194c018a a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
191 | a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1 cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
191 | a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1 cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
192 |
# stripping: saved backup bundle to $TESTTMP/simple-chain/.hg/strip-backup/cf2c22470d67-fa0f07b0-backup.hg |
|
192 | # stripping: saved backup bundle to $TESTTMP/simple-chain/.hg/strip-backup/cf2c22470d67-fa0f07b0-backup.hg | |
193 | ### Backup markers ### |
|
193 | ### Backup markers ### | |
194 | 84fcb0dfe17b256ebae52e05572993b9194c018a a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
194 | 84fcb0dfe17b256ebae52e05572993b9194c018a a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
195 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 84fcb0dfe17b256ebae52e05572993b9194c018a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
195 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 84fcb0dfe17b256ebae52e05572993b9194c018a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
@@ -229,7 +229,7 b' Actual testing' | |||||
229 | 84fcb0dfe17b256ebae52e05572993b9194c018a a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
229 | 84fcb0dfe17b256ebae52e05572993b9194c018a a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
230 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 84fcb0dfe17b256ebae52e05572993b9194c018a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
230 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 84fcb0dfe17b256ebae52e05572993b9194c018a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
231 | a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1 cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
231 | a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1 cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
232 |
# stripping: saved backup bundle to $TESTTMP/simple-chain/.hg/strip-backup/cf2c22470d67-fce4fc64-backup.hg |
|
232 | # stripping: saved backup bundle to $TESTTMP/simple-chain/.hg/strip-backup/cf2c22470d67-fce4fc64-backup.hg | |
233 | ### Backup markers ### |
|
233 | ### Backup markers ### | |
234 | 84fcb0dfe17b256ebae52e05572993b9194c018a a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
234 | 84fcb0dfe17b256ebae52e05572993b9194c018a a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
235 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 84fcb0dfe17b256ebae52e05572993b9194c018a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
235 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 84fcb0dfe17b256ebae52e05572993b9194c018a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
@@ -324,7 +324,7 b' problematic)' | |||||
324 | ################################# |
|
324 | ################################# | |
325 | ### Exclusive markers ### |
|
325 | ### Exclusive markers ### | |
326 | 29f93b1df87baee1824e014080d8adf145f81783 0 {84fcb0dfe17b256ebae52e05572993b9194c018a} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
326 | 29f93b1df87baee1824e014080d8adf145f81783 0 {84fcb0dfe17b256ebae52e05572993b9194c018a} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
327 |
# stripping: saved backup bundle to $TESTTMP/prune/.hg/strip-backup/29f93b1df87b-7fb32101-backup.hg |
|
327 | # stripping: saved backup bundle to $TESTTMP/prune/.hg/strip-backup/29f93b1df87b-7fb32101-backup.hg | |
328 | ### Backup markers ### |
|
328 | ### Backup markers ### | |
329 | 29f93b1df87baee1824e014080d8adf145f81783 0 {84fcb0dfe17b256ebae52e05572993b9194c018a} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
329 | 29f93b1df87baee1824e014080d8adf145f81783 0 {84fcb0dfe17b256ebae52e05572993b9194c018a} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
330 | ### diff <relevant> <backed-up> ### |
|
330 | ### diff <relevant> <backed-up> ### | |
@@ -356,7 +356,7 b' problematic)' | |||||
356 | ################################# |
|
356 | ################################# | |
357 | ### Exclusive markers ### |
|
357 | ### Exclusive markers ### | |
358 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
358 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
359 |
# stripping: saved backup bundle to $TESTTMP/prune/.hg/strip-backup/cf2c22470d67-fa0f07b0-backup.hg |
|
359 | # stripping: saved backup bundle to $TESTTMP/prune/.hg/strip-backup/cf2c22470d67-fa0f07b0-backup.hg | |
360 | ### Backup markers ### |
|
360 | ### Backup markers ### | |
361 | 29f93b1df87baee1824e014080d8adf145f81783 0 {84fcb0dfe17b256ebae52e05572993b9194c018a} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
361 | 29f93b1df87baee1824e014080d8adf145f81783 0 {84fcb0dfe17b256ebae52e05572993b9194c018a} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
362 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
362 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
@@ -417,7 +417,7 b' bundling multiple revisions' | |||||
417 | 29f93b1df87baee1824e014080d8adf145f81783 0 {84fcb0dfe17b256ebae52e05572993b9194c018a} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
417 | 29f93b1df87baee1824e014080d8adf145f81783 0 {84fcb0dfe17b256ebae52e05572993b9194c018a} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
418 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
418 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
419 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 84fcb0dfe17b256ebae52e05572993b9194c018a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
419 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 84fcb0dfe17b256ebae52e05572993b9194c018a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
420 |
# stripping: saved backup bundle to $TESTTMP/prune/.hg/strip-backup/cf2c22470d67-884c33b0-backup.hg |
|
420 | # stripping: saved backup bundle to $TESTTMP/prune/.hg/strip-backup/cf2c22470d67-884c33b0-backup.hg | |
421 | ### Backup markers ### |
|
421 | ### Backup markers ### | |
422 | 29f93b1df87baee1824e014080d8adf145f81783 0 {84fcb0dfe17b256ebae52e05572993b9194c018a} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
422 | 29f93b1df87baee1824e014080d8adf145f81783 0 {84fcb0dfe17b256ebae52e05572993b9194c018a} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
423 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
423 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
@@ -489,7 +489,7 b' Actual testing' | |||||
489 | ### diff <relevant> <bundled> ### |
|
489 | ### diff <relevant> <bundled> ### | |
490 | ################################# |
|
490 | ################################# | |
491 | ### Exclusive markers ### |
|
491 | ### Exclusive markers ### | |
492 |
# stripping: saved backup bundle to $TESTTMP/prune-inline/.hg/strip-backup/84fcb0dfe17b-6454bbdc-backup.hg |
|
492 | # stripping: saved backup bundle to $TESTTMP/prune-inline/.hg/strip-backup/84fcb0dfe17b-6454bbdc-backup.hg | |
493 | ### Backup markers ### |
|
493 | ### Backup markers ### | |
494 | 84fcb0dfe17b256ebae52e05572993b9194c018a 0 {ea207398892eb49e06441f10dda2a731f0450f20} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
494 | 84fcb0dfe17b256ebae52e05572993b9194c018a 0 {ea207398892eb49e06441f10dda2a731f0450f20} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
495 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 84fcb0dfe17b256ebae52e05572993b9194c018a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
495 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 84fcb0dfe17b256ebae52e05572993b9194c018a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
@@ -520,7 +520,7 b' Actual testing' | |||||
520 | ################################# |
|
520 | ################################# | |
521 | ### Exclusive markers ### |
|
521 | ### Exclusive markers ### | |
522 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
522 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
523 |
# stripping: saved backup bundle to $TESTTMP/prune-inline/.hg/strip-backup/cf2c22470d67-fa0f07b0-backup.hg |
|
523 | # stripping: saved backup bundle to $TESTTMP/prune-inline/.hg/strip-backup/cf2c22470d67-fa0f07b0-backup.hg | |
524 | ### Backup markers ### |
|
524 | ### Backup markers ### | |
525 | 84fcb0dfe17b256ebae52e05572993b9194c018a 0 {ea207398892eb49e06441f10dda2a731f0450f20} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
525 | 84fcb0dfe17b256ebae52e05572993b9194c018a 0 {ea207398892eb49e06441f10dda2a731f0450f20} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
526 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
526 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
@@ -558,7 +558,7 b' Actual testing' | |||||
558 | 84fcb0dfe17b256ebae52e05572993b9194c018a 0 {ea207398892eb49e06441f10dda2a731f0450f20} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
558 | 84fcb0dfe17b256ebae52e05572993b9194c018a 0 {ea207398892eb49e06441f10dda2a731f0450f20} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
559 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
559 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
560 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 84fcb0dfe17b256ebae52e05572993b9194c018a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
560 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 84fcb0dfe17b256ebae52e05572993b9194c018a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
561 |
# stripping: saved backup bundle to $TESTTMP/prune-inline/.hg/strip-backup/cf2c22470d67-fce4fc64-backup.hg |
|
561 | # stripping: saved backup bundle to $TESTTMP/prune-inline/.hg/strip-backup/cf2c22470d67-fce4fc64-backup.hg | |
562 | ### Backup markers ### |
|
562 | ### Backup markers ### | |
563 | 84fcb0dfe17b256ebae52e05572993b9194c018a 0 {ea207398892eb49e06441f10dda2a731f0450f20} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
563 | 84fcb0dfe17b256ebae52e05572993b9194c018a 0 {ea207398892eb49e06441f10dda2a731f0450f20} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
564 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
564 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
@@ -641,7 +641,7 b' Actual testing' | |||||
641 | 29f93b1df87baee1824e014080d8adf145f81783 0 {84fcb0dfe17b256ebae52e05572993b9194c018a} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
641 | 29f93b1df87baee1824e014080d8adf145f81783 0 {84fcb0dfe17b256ebae52e05572993b9194c018a} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
642 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
642 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
643 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 84fcb0dfe17b256ebae52e05572993b9194c018a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
643 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 84fcb0dfe17b256ebae52e05572993b9194c018a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
644 |
# stripping: saved backup bundle to $TESTTMP/missing-prune/.hg/strip-backup/cf2c22470d67-fa0f07b0-backup.hg |
|
644 | # stripping: saved backup bundle to $TESTTMP/missing-prune/.hg/strip-backup/cf2c22470d67-fa0f07b0-backup.hg | |
645 | ### Backup markers ### |
|
645 | ### Backup markers ### | |
646 | 29f93b1df87baee1824e014080d8adf145f81783 0 {84fcb0dfe17b256ebae52e05572993b9194c018a} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
646 | 29f93b1df87baee1824e014080d8adf145f81783 0 {84fcb0dfe17b256ebae52e05572993b9194c018a} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
647 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
647 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
@@ -721,7 +721,7 b' Actual testing' | |||||
721 | 84fcb0dfe17b256ebae52e05572993b9194c018a 0 {ea207398892eb49e06441f10dda2a731f0450f20} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
721 | 84fcb0dfe17b256ebae52e05572993b9194c018a 0 {ea207398892eb49e06441f10dda2a731f0450f20} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
722 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
722 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
723 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 84fcb0dfe17b256ebae52e05572993b9194c018a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
723 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 84fcb0dfe17b256ebae52e05572993b9194c018a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
724 |
# stripping: saved backup bundle to $TESTTMP/prune-inline-missing/.hg/strip-backup/cf2c22470d67-fa0f07b0-backup.hg |
|
724 | # stripping: saved backup bundle to $TESTTMP/prune-inline-missing/.hg/strip-backup/cf2c22470d67-fa0f07b0-backup.hg | |
725 | ### Backup markers ### |
|
725 | ### Backup markers ### | |
726 | 84fcb0dfe17b256ebae52e05572993b9194c018a 0 {ea207398892eb49e06441f10dda2a731f0450f20} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
726 | 84fcb0dfe17b256ebae52e05572993b9194c018a 0 {ea207398892eb49e06441f10dda2a731f0450f20} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
727 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
727 | 84fcb0dfe17b256ebae52e05572993b9194c018a cf2c22470d67233004e934a31184ac2b35389914 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
@@ -820,7 +820,7 b' Actual testing' | |||||
820 | ### diff <relevant> <bundled> ### |
|
820 | ### diff <relevant> <bundled> ### | |
821 | ################################# |
|
821 | ################################# | |
822 | ### Exclusive markers ### |
|
822 | ### Exclusive markers ### | |
823 |
# stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/9ac430e15fca-81204eba-backup.hg |
|
823 | # stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/9ac430e15fca-81204eba-backup.hg | |
824 | ### Backup markers ### |
|
824 | ### Backup markers ### | |
825 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 9ac430e15fca923b0ba027ca85d4d75c5c9cb73c 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
825 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 9ac430e15fca923b0ba027ca85d4d75c5c9cb73c 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
826 | ### diff <relevant> <backed-up> ### |
|
826 | ### diff <relevant> <backed-up> ### | |
@@ -847,7 +847,7 b' Actual testing' | |||||
847 | ### diff <relevant> <bundled> ### |
|
847 | ### diff <relevant> <bundled> ### | |
848 | ################################# |
|
848 | ################################# | |
849 | ### Exclusive markers ### |
|
849 | ### Exclusive markers ### | |
850 |
# stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/a9b9da38ed96-7465d6e9-backup.hg |
|
850 | # stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/a9b9da38ed96-7465d6e9-backup.hg | |
851 | ### Backup markers ### |
|
851 | ### Backup markers ### | |
852 | 9ac430e15fca923b0ba027ca85d4d75c5c9cb73c a9b9da38ed96f8c6c14f429441f625a344eb4696 27ec657ca21dd27c36c99fa75586f72ff0d442f1 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
852 | 9ac430e15fca923b0ba027ca85d4d75c5c9cb73c a9b9da38ed96f8c6c14f429441f625a344eb4696 27ec657ca21dd27c36c99fa75586f72ff0d442f1 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
853 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 9ac430e15fca923b0ba027ca85d4d75c5c9cb73c 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
853 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 9ac430e15fca923b0ba027ca85d4d75c5c9cb73c 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
@@ -875,7 +875,7 b' Actual testing' | |||||
875 | ### diff <relevant> <bundled> ### |
|
875 | ### diff <relevant> <bundled> ### | |
876 | ################################# |
|
876 | ################################# | |
877 | ### Exclusive markers ### |
|
877 | ### Exclusive markers ### | |
878 |
# stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/27ec657ca21d-d5dd1c7c-backup.hg |
|
878 | # stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/27ec657ca21d-d5dd1c7c-backup.hg | |
879 | ### Backup markers ### |
|
879 | ### Backup markers ### | |
880 | 9ac430e15fca923b0ba027ca85d4d75c5c9cb73c a9b9da38ed96f8c6c14f429441f625a344eb4696 27ec657ca21dd27c36c99fa75586f72ff0d442f1 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
880 | 9ac430e15fca923b0ba027ca85d4d75c5c9cb73c a9b9da38ed96f8c6c14f429441f625a344eb4696 27ec657ca21dd27c36c99fa75586f72ff0d442f1 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
881 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 9ac430e15fca923b0ba027ca85d4d75c5c9cb73c 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
881 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 9ac430e15fca923b0ba027ca85d4d75c5c9cb73c 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
@@ -903,7 +903,7 b' Actual testing' | |||||
903 | ### diff <relevant> <bundled> ### |
|
903 | ### diff <relevant> <bundled> ### | |
904 | ################################# |
|
904 | ################################# | |
905 | ### Exclusive markers ### |
|
905 | ### Exclusive markers ### | |
906 |
# stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/06dc9da25ef0-9b1c0a91-backup.hg |
|
906 | # stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/06dc9da25ef0-9b1c0a91-backup.hg | |
907 | ### Backup markers ### |
|
907 | ### Backup markers ### | |
908 | 9ac430e15fca923b0ba027ca85d4d75c5c9cb73c 06dc9da25ef03e1ff7864dded5fcba42eff2a3f0 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
908 | 9ac430e15fca923b0ba027ca85d4d75c5c9cb73c 06dc9da25ef03e1ff7864dded5fcba42eff2a3f0 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
909 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 9ac430e15fca923b0ba027ca85d4d75c5c9cb73c 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
909 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 9ac430e15fca923b0ba027ca85d4d75c5c9cb73c 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
@@ -951,7 +951,7 b' Actual testing' | |||||
951 | a9b9da38ed96f8c6c14f429441f625a344eb4696 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
951 | a9b9da38ed96f8c6c14f429441f625a344eb4696 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
952 | b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
952 | b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
953 | c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
953 | c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
954 |
# stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/2f20ff6509f0-8adeb22d-backup.hg |
|
954 | # stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/2f20ff6509f0-8adeb22d-backup.hg | |
955 | ### Backup markers ### |
|
955 | ### Backup markers ### | |
956 | 06dc9da25ef03e1ff7864dded5fcba42eff2a3f0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
956 | 06dc9da25ef03e1ff7864dded5fcba42eff2a3f0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
957 | 27ec657ca21dd27c36c99fa75586f72ff0d442f1 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
957 | 27ec657ca21dd27c36c99fa75586f72ff0d442f1 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
@@ -1000,7 +1000,7 b' Bundle multiple revisions' | |||||
1000 | ### diff <relevant> <bundled> ### |
|
1000 | ### diff <relevant> <bundled> ### | |
1001 | ################################# |
|
1001 | ################################# | |
1002 | ### Exclusive markers ### |
|
1002 | ### Exclusive markers ### | |
1003 |
# stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/a9b9da38ed96-0daf625a-backup.hg |
|
1003 | # stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/a9b9da38ed96-0daf625a-backup.hg | |
1004 | ### Backup markers ### |
|
1004 | ### Backup markers ### | |
1005 | 9ac430e15fca923b0ba027ca85d4d75c5c9cb73c a9b9da38ed96f8c6c14f429441f625a344eb4696 27ec657ca21dd27c36c99fa75586f72ff0d442f1 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1005 | 9ac430e15fca923b0ba027ca85d4d75c5c9cb73c a9b9da38ed96f8c6c14f429441f625a344eb4696 27ec657ca21dd27c36c99fa75586f72ff0d442f1 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1006 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 9ac430e15fca923b0ba027ca85d4d75c5c9cb73c 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1006 | a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0 9ac430e15fca923b0ba027ca85d4d75c5c9cb73c 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
@@ -1052,7 +1052,7 b' Bundle multiple revisions' | |||||
1052 | a9b9da38ed96f8c6c14f429441f625a344eb4696 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1052 | a9b9da38ed96f8c6c14f429441f625a344eb4696 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1053 | b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1053 | b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1054 | c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1054 | c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1055 |
# stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/2f20ff6509f0-bf1b80f4-backup.hg |
|
1055 | # stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/2f20ff6509f0-bf1b80f4-backup.hg | |
1056 | ### Backup markers ### |
|
1056 | ### Backup markers ### | |
1057 | 06dc9da25ef03e1ff7864dded5fcba42eff2a3f0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1057 | 06dc9da25ef03e1ff7864dded5fcba42eff2a3f0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1058 | 27ec657ca21dd27c36c99fa75586f72ff0d442f1 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1058 | 27ec657ca21dd27c36c99fa75586f72ff0d442f1 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
@@ -1120,7 +1120,7 b' Bundle multiple revisions' | |||||
1120 | a9b9da38ed96f8c6c14f429441f625a344eb4696 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1120 | a9b9da38ed96f8c6c14f429441f625a344eb4696 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1121 | b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1121 | b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1122 | c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1122 | c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1123 |
# stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/9ac430e15fca-36b6476a-backup.hg |
|
1123 | # stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/9ac430e15fca-36b6476a-backup.hg | |
1124 | ### Backup markers ### |
|
1124 | ### Backup markers ### | |
1125 | 06dc9da25ef03e1ff7864dded5fcba42eff2a3f0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1125 | 06dc9da25ef03e1ff7864dded5fcba42eff2a3f0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1126 | 27ec657ca21dd27c36c99fa75586f72ff0d442f1 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1126 | 27ec657ca21dd27c36c99fa75586f72ff0d442f1 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
@@ -1188,7 +1188,7 b' Bundle multiple revisions' | |||||
1188 | a9b9da38ed96f8c6c14f429441f625a344eb4696 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1188 | a9b9da38ed96f8c6c14f429441f625a344eb4696 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1189 | b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1189 | b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1190 | c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1190 | c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1191 |
# stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/2f20ff6509f0-5fdfcd7d-backup.hg |
|
1191 | # stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/2f20ff6509f0-5fdfcd7d-backup.hg | |
1192 | ### Backup markers ### |
|
1192 | ### Backup markers ### | |
1193 | 06dc9da25ef03e1ff7864dded5fcba42eff2a3f0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1193 | 06dc9da25ef03e1ff7864dded5fcba42eff2a3f0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1194 | 27ec657ca21dd27c36c99fa75586f72ff0d442f1 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1194 | 27ec657ca21dd27c36c99fa75586f72ff0d442f1 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
@@ -1262,7 +1262,7 b' Bundle multiple revisions' | |||||
1262 | a9b9da38ed96f8c6c14f429441f625a344eb4696 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1262 | a9b9da38ed96f8c6c14f429441f625a344eb4696 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1263 | b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1263 | b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1264 | c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1264 | c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1265 |
# stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/a9b9da38ed96-eeb4258f-backup.hg |
|
1265 | # stripping: saved backup bundle to $TESTTMP/split-fold/.hg/strip-backup/a9b9da38ed96-eeb4258f-backup.hg | |
1266 | ### Backup markers ### |
|
1266 | ### Backup markers ### | |
1267 | 06dc9da25ef03e1ff7864dded5fcba42eff2a3f0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1267 | 06dc9da25ef03e1ff7864dded5fcba42eff2a3f0 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1268 | 27ec657ca21dd27c36c99fa75586f72ff0d442f1 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1268 | 27ec657ca21dd27c36c99fa75586f72ff0d442f1 2f20ff6509f0e013e90c5c8efd996131c918b0ca 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
@@ -1352,7 +1352,7 b' Actual testing' | |||||
1352 | ################################# |
|
1352 | ################################# | |
1353 | ### Exclusive markers ### |
|
1353 | ### Exclusive markers ### | |
1354 | cefb651fc2fdc7bb75e588781de5e432c134e8a5 0 {9ac430e15fca923b0ba027ca85d4d75c5c9cb73c} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1354 | cefb651fc2fdc7bb75e588781de5e432c134e8a5 0 {9ac430e15fca923b0ba027ca85d4d75c5c9cb73c} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1355 |
# stripping: saved backup bundle to $TESTTMP/lonely-prune/.hg/strip-backup/cefb651fc2fd-345c8dfa-backup.hg |
|
1355 | # stripping: saved backup bundle to $TESTTMP/lonely-prune/.hg/strip-backup/cefb651fc2fd-345c8dfa-backup.hg | |
1356 | ### Backup markers ### |
|
1356 | ### Backup markers ### | |
1357 | cefb651fc2fdc7bb75e588781de5e432c134e8a5 0 {9ac430e15fca923b0ba027ca85d4d75c5c9cb73c} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1357 | cefb651fc2fdc7bb75e588781de5e432c134e8a5 0 {9ac430e15fca923b0ba027ca85d4d75c5c9cb73c} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1358 | ### diff <relevant> <backed-up> ### |
|
1358 | ### diff <relevant> <backed-up> ### | |
@@ -1380,7 +1380,7 b' Actual testing' | |||||
1380 | ################################# |
|
1380 | ################################# | |
1381 | ### Exclusive markers ### |
|
1381 | ### Exclusive markers ### | |
1382 | cefb651fc2fdc7bb75e588781de5e432c134e8a5 0 {9ac430e15fca923b0ba027ca85d4d75c5c9cb73c} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1382 | cefb651fc2fdc7bb75e588781de5e432c134e8a5 0 {9ac430e15fca923b0ba027ca85d4d75c5c9cb73c} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1383 |
# stripping: saved backup bundle to $TESTTMP/lonely-prune/.hg/strip-backup/9ac430e15fca-b9855b02-backup.hg |
|
1383 | # stripping: saved backup bundle to $TESTTMP/lonely-prune/.hg/strip-backup/9ac430e15fca-b9855b02-backup.hg | |
1384 | ### Backup markers ### |
|
1384 | ### Backup markers ### | |
1385 | cefb651fc2fdc7bb75e588781de5e432c134e8a5 0 {9ac430e15fca923b0ba027ca85d4d75c5c9cb73c} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
|
1385 | cefb651fc2fdc7bb75e588781de5e432c134e8a5 0 {9ac430e15fca923b0ba027ca85d4d75c5c9cb73c} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |
1386 | ### diff <relevant> <backed-up> ### |
|
1386 | ### diff <relevant> <backed-up> ### |
@@ -142,7 +142,7 b' client only pulls down 1 changeset' | |||||
142 |
|
142 | |||
143 | $ cd pull-hidden-common-client |
|
143 | $ cd pull-hidden-common-client | |
144 | $ hg pull --debug |
|
144 | $ hg pull --debug | |
145 |
pulling from $TESTTMP/pull-hidden-common |
|
145 | pulling from $TESTTMP/pull-hidden-common | |
146 | query 1; heads |
|
146 | query 1; heads | |
147 | searching for changes |
|
147 | searching for changes | |
148 | taking quick initial sample |
|
148 | taking quick initial sample |
@@ -37,7 +37,7 b' setup' | |||||
37 |
|
37 | |||
38 | $ mkcommit old |
|
38 | $ mkcommit old | |
39 | $ hg push |
|
39 | $ hg push | |
40 |
pushing to $TESTTMP/remote |
|
40 | pushing to $TESTTMP/remote | |
41 | searching for changes |
|
41 | searching for changes | |
42 | adding changesets |
|
42 | adding changesets | |
43 | adding manifests |
|
43 | adding manifests | |
@@ -61,7 +61,7 b' old exists remotely as draft. It is obso' | |||||
61 | Push should not warn about creating new head |
|
61 | Push should not warn about creating new head | |
62 |
|
62 | |||
63 | $ hg push |
|
63 | $ hg push | |
64 |
pushing to $TESTTMP/remote |
|
64 | pushing to $TESTTMP/remote | |
65 | searching for changes |
|
65 | searching for changes | |
66 | adding changesets |
|
66 | adding changesets | |
67 | adding manifests |
|
67 | adding manifests | |
@@ -77,7 +77,7 b' setup' | |||||
77 | $ cp -R ../backup1 ../remote |
|
77 | $ cp -R ../backup1 ../remote | |
78 | $ hg -R ../remote phase --public c70b08862e08 |
|
78 | $ hg -R ../remote phase --public c70b08862e08 | |
79 | $ hg pull -v |
|
79 | $ hg pull -v | |
80 |
pulling from $TESTTMP/remote |
|
80 | pulling from $TESTTMP/remote | |
81 | searching for changes |
|
81 | searching for changes | |
82 | no changes found |
|
82 | no changes found | |
83 | $ hg log -G --hidden |
|
83 | $ hg log -G --hidden | |
@@ -91,7 +91,7 b' setup' | |||||
91 | Abort: old will still be an head because it's public. |
|
91 | Abort: old will still be an head because it's public. | |
92 |
|
92 | |||
93 | $ hg push |
|
93 | $ hg push | |
94 |
pushing to $TESTTMP/remote |
|
94 | pushing to $TESTTMP/remote | |
95 | searching for changes |
|
95 | searching for changes | |
96 | abort: push creates new remote head 71e3228bffe1! |
|
96 | abort: push creates new remote head 71e3228bffe1! | |
97 | (merge or see 'hg help push' for details about pushing new heads) |
|
97 | (merge or see 'hg help push' for details about pushing new heads) | |
@@ -151,7 +151,7 b' old exists remotely as draft. It is obso' | |||||
151 | Push should abort on new head |
|
151 | Push should abort on new head | |
152 |
|
152 | |||
153 | $ hg push -r 'desc("other")' |
|
153 | $ hg push -r 'desc("other")' | |
154 |
pushing to $TESTTMP/remote |
|
154 | pushing to $TESTTMP/remote | |
155 | searching for changes |
|
155 | searching for changes | |
156 | abort: push creates new remote head d7d41ccbd4de! |
|
156 | abort: push creates new remote head d7d41ccbd4de! | |
157 | (merge or see 'hg help push' for details about pushing new heads) |
|
157 | (merge or see 'hg help push' for details about pushing new heads) | |
@@ -178,7 +178,7 b' setup. (The obsolete marker is known loc' | |||||
178 | $ mkcommit new |
|
178 | $ mkcommit new | |
179 | created new head |
|
179 | created new head | |
180 | $ hg push -f |
|
180 | $ hg push -f | |
181 |
pushing to $TESTTMP/remote |
|
181 | pushing to $TESTTMP/remote | |
182 | searching for changes |
|
182 | searching for changes | |
183 | adding changesets |
|
183 | adding changesets | |
184 | adding manifests |
|
184 | adding manifests | |
@@ -214,7 +214,7 b' Push should not warn about adding new he' | |||||
214 | one anyway. |
|
214 | one anyway. | |
215 |
|
215 | |||
216 | $ hg push |
|
216 | $ hg push | |
217 |
pushing to $TESTTMP/remote |
|
217 | pushing to $TESTTMP/remote | |
218 | searching for changes |
|
218 | searching for changes | |
219 | adding changesets |
|
219 | adding changesets | |
220 | adding manifests |
|
220 | adding manifests | |
@@ -260,7 +260,7 b' setup' | |||||
260 | We do not have enought data to take the right decision, we should fail |
|
260 | We do not have enought data to take the right decision, we should fail | |
261 |
|
261 | |||
262 | $ hg push |
|
262 | $ hg push | |
263 |
pushing to $TESTTMP/remote |
|
263 | pushing to $TESTTMP/remote | |
264 | searching for changes |
|
264 | searching for changes | |
265 | remote has heads on branch 'default' that are not known locally: c70b08862e08 |
|
265 | remote has heads on branch 'default' that are not known locally: c70b08862e08 | |
266 | abort: push creates new remote head 71e3228bffe1! |
|
266 | abort: push creates new remote head 71e3228bffe1! | |
@@ -270,7 +270,7 b' We do not have enought data to take the ' | |||||
270 | Pulling the missing data makes it work |
|
270 | Pulling the missing data makes it work | |
271 |
|
271 | |||
272 | $ hg pull |
|
272 | $ hg pull | |
273 |
pulling from $TESTTMP/remote |
|
273 | pulling from $TESTTMP/remote | |
274 | searching for changes |
|
274 | searching for changes | |
275 | adding changesets |
|
275 | adding changesets | |
276 | adding manifests |
|
276 | adding manifests | |
@@ -278,7 +278,7 b' Pulling the missing data makes it work' | |||||
278 | added 1 changesets with 1 changes to 1 files (+1 heads) |
|
278 | added 1 changesets with 1 changes to 1 files (+1 heads) | |
279 | (run 'hg heads' to see heads) |
|
279 | (run 'hg heads' to see heads) | |
280 | $ hg push |
|
280 | $ hg push | |
281 |
pushing to $TESTTMP/remote |
|
281 | pushing to $TESTTMP/remote | |
282 | searching for changes |
|
282 | searching for changes | |
283 | adding changesets |
|
283 | adding changesets | |
284 | adding manifests |
|
284 | adding manifests | |
@@ -309,7 +309,7 b' setup' | |||||
309 |
|
309 | |||
310 |
|
310 | |||
311 | $ hg push |
|
311 | $ hg push | |
312 |
pushing to $TESTTMP/remote |
|
312 | pushing to $TESTTMP/remote | |
313 | searching for changes |
|
313 | searching for changes | |
314 | abort: push creates new remote head 350a93b716be! |
|
314 | abort: push creates new remote head 350a93b716be! | |
315 | (merge or see 'hg help push' for details about pushing new heads) |
|
315 | (merge or see 'hg help push' for details about pushing new heads) |
@@ -136,7 +136,7 b' client side: pull from the server' | |||||
136 | $ hg up 'desc("ROOT")' |
|
136 | $ hg up 'desc("ROOT")' | |
137 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
137 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
138 | $ hg pull |
|
138 | $ hg pull | |
139 |
pulling from $TESTTMP/distributed-chain-building/server |
|
139 | pulling from $TESTTMP/distributed-chain-building/server | |
140 | searching for changes |
|
140 | searching for changes | |
141 | adding changesets |
|
141 | adding changesets | |
142 | adding manifests |
|
142 | adding manifests | |
@@ -174,7 +174,7 b' obsolete on the server side but the mark' | |||||
174 | $ hg rollback |
|
174 | $ hg rollback | |
175 | repository tip rolled back to revision 3 (undo pull) |
|
175 | repository tip rolled back to revision 3 (undo pull) | |
176 | $ hg push -f |
|
176 | $ hg push -f | |
177 |
pushing to $TESTTMP/distributed-chain-building/server |
|
177 | pushing to $TESTTMP/distributed-chain-building/server | |
178 | searching for changes |
|
178 | searching for changes | |
179 | adding changesets |
|
179 | adding changesets | |
180 | adding manifests |
|
180 | adding manifests | |
@@ -362,7 +362,7 b' Celeste now pushes to the server' | |||||
362 | However using a central server seems more common) |
|
362 | However using a central server seems more common) | |
363 |
|
363 | |||
364 | $ hg push |
|
364 | $ hg push | |
365 |
pushing to $TESTTMP/distributed-chain-building/distributed-chain-building/server |
|
365 | pushing to $TESTTMP/distributed-chain-building/distributed-chain-building/server | |
366 | searching for changes |
|
366 | searching for changes | |
367 | adding changesets |
|
367 | adding changesets | |
368 | adding manifests |
|
368 | adding manifests | |
@@ -380,7 +380,7 b' from the server (note: could be from Cel' | |||||
380 | $ hg up 'desc(ROOT)' |
|
380 | $ hg up 'desc(ROOT)' | |
381 | 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
381 | 0 files updated, 0 files merged, 2 files removed, 0 files unresolved | |
382 | $ hg pull |
|
382 | $ hg pull | |
383 |
pulling from $TESTTMP/distributed-chain-building/distributed-chain-building/server |
|
383 | pulling from $TESTTMP/distributed-chain-building/distributed-chain-building/server | |
384 | searching for changes |
|
384 | searching for changes | |
385 | adding changesets |
|
385 | adding changesets | |
386 | adding manifests |
|
386 | adding manifests |
@@ -1083,15 +1083,15 b' This test issue 3805' | |||||
1083 | o 0:d20a80d4def3 (draft) [ ] base |
|
1083 | o 0:d20a80d4def3 (draft) [ ] base | |
1084 |
|
1084 | |||
1085 | $ hg incoming |
|
1085 | $ hg incoming | |
1086 |
comparing with $TESTTMP/tmpe/repo-issue3805 |
|
1086 | comparing with $TESTTMP/tmpe/repo-issue3805 | |
1087 | searching for changes |
|
1087 | searching for changes | |
1088 | 2:323a9c3ddd91 (draft) [tip ] A |
|
1088 | 2:323a9c3ddd91 (draft) [tip ] A | |
1089 | $ hg incoming --bundle ../issue3805.hg |
|
1089 | $ hg incoming --bundle ../issue3805.hg | |
1090 |
comparing with $TESTTMP/tmpe/repo-issue3805 |
|
1090 | comparing with $TESTTMP/tmpe/repo-issue3805 | |
1091 | searching for changes |
|
1091 | searching for changes | |
1092 | 2:323a9c3ddd91 (draft) [tip ] A |
|
1092 | 2:323a9c3ddd91 (draft) [tip ] A | |
1093 | $ hg outgoing |
|
1093 | $ hg outgoing | |
1094 |
comparing with $TESTTMP/tmpe/repo-issue3805 |
|
1094 | comparing with $TESTTMP/tmpe/repo-issue3805 | |
1095 | searching for changes |
|
1095 | searching for changes | |
1096 | 1:29f0c6921ddd (draft) [tip ] A |
|
1096 | 1:29f0c6921ddd (draft) [tip ] A | |
1097 |
|
1097 | |||
@@ -1369,7 +1369,7 b' Test ability to pull changeset with loca' | |||||
1369 |
|
1369 | |||
1370 |
|
1370 | |||
1371 | $ hg strip --hidden -r 2 --config extensions.strip= --config devel.strip-obsmarkers=no |
|
1371 | $ hg strip --hidden -r 2 --config extensions.strip= --config devel.strip-obsmarkers=no | |
1372 |
saved backup bundle to $TESTTMP/tmpe/issue4845/.hg/strip-backup/e008cf283490-ede36964-backup.hg |
|
1372 | saved backup bundle to $TESTTMP/tmpe/issue4845/.hg/strip-backup/e008cf283490-ede36964-backup.hg | |
1373 | $ hg debugobsolete |
|
1373 | $ hg debugobsolete | |
1374 | e008cf2834908e5d6b0f792a9d4b0e2272260fb8 b0551702f918510f01ae838ab03a463054c67b46 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'} |
|
1374 | e008cf2834908e5d6b0f792a9d4b0e2272260fb8 b0551702f918510f01ae838ab03a463054c67b46 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'} | |
1375 | $ hg log -G |
|
1375 | $ hg log -G | |
@@ -1418,7 +1418,7 b' Testing that strip remove markers:' | |||||
1418 |
|
1418 | |||
1419 | $ hg strip -r 1 --config extensions.strip= |
|
1419 | $ hg strip -r 1 --config extensions.strip= | |
1420 | 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
1420 | 0 files updated, 0 files merged, 2 files removed, 0 files unresolved | |
1421 |
saved backup bundle to $TESTTMP/tmpe/issue4845/.hg/strip-backup/e016b03fd86f-65ede734-backup.hg |
|
1421 | saved backup bundle to $TESTTMP/tmpe/issue4845/.hg/strip-backup/e016b03fd86f-65ede734-backup.hg | |
1422 | $ hg debugobsolete |
|
1422 | $ hg debugobsolete | |
1423 | $ hg log -G |
|
1423 | $ hg log -G | |
1424 | @ 0:a78f55e5508c (draft) [tip ] 0 |
|
1424 | @ 0:a78f55e5508c (draft) [tip ] 0 | |
@@ -1525,7 +1525,7 b' Test adding changeset after obsmarkers a' | |||||
1525 | $ getid . |
|
1525 | $ getid . | |
1526 | $ hg --config extensions.strip= strip -r . |
|
1526 | $ hg --config extensions.strip= strip -r . | |
1527 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
1527 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
1528 |
saved backup bundle to $TESTTMP/tmpe/issue4845/doindexrev/.hg/strip-backup/9bc153528424-ee80edd4-backup.hg |
|
1528 | saved backup bundle to $TESTTMP/tmpe/issue4845/doindexrev/.hg/strip-backup/9bc153528424-ee80edd4-backup.hg | |
1529 | $ hg debugobsolete 9bc153528424ea266d13e57f9ff0d799dfe61e4b |
|
1529 | $ hg debugobsolete 9bc153528424ea266d13e57f9ff0d799dfe61e4b | |
1530 | $ hg unbundle ../bundle-2.hg |
|
1530 | $ hg unbundle ../bundle-2.hg | |
1531 | adding changesets |
|
1531 | adding changesets |
@@ -30,7 +30,7 b' Peform an update that causes b/c to be b' | |||||
30 | resolving manifests |
|
30 | resolving manifests | |
31 | b/c: replacing untracked file |
|
31 | b/c: replacing untracked file | |
32 | getting b/c |
|
32 | getting b/c | |
33 |
creating directory: $TESTTMP/repo/.hg/origbackups/b |
|
33 | creating directory: $TESTTMP/repo/.hg/origbackups/b | |
34 | getting d |
|
34 | getting d | |
35 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
35 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
36 | (activating bookmark c1) |
|
36 | (activating bookmark c1) | |
@@ -54,7 +54,7 b' Perform an update that causes b to be ba' | |||||
54 | resolving manifests |
|
54 | resolving manifests | |
55 | b: replacing untracked file |
|
55 | b: replacing untracked file | |
56 | getting b |
|
56 | getting b | |
57 |
removing conflicting directory: $TESTTMP/repo/.hg/origbackups/b |
|
57 | removing conflicting directory: $TESTTMP/repo/.hg/origbackups/b | |
58 | getting d |
|
58 | getting d | |
59 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
59 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
60 | (activating bookmark b1) |
|
60 | (activating bookmark b1) | |
@@ -69,8 +69,8 b' Perform an update the causes b/c to be b' | |||||
69 | resolving manifests |
|
69 | resolving manifests | |
70 | b/c: replacing untracked file |
|
70 | b/c: replacing untracked file | |
71 | getting b/c |
|
71 | getting b/c | |
72 |
creating directory: $TESTTMP/repo/.hg/origbackups/b |
|
72 | creating directory: $TESTTMP/repo/.hg/origbackups/b | |
73 |
removing conflicting file: $TESTTMP/repo/.hg/origbackups/b |
|
73 | removing conflicting file: $TESTTMP/repo/.hg/origbackups/b | |
74 | getting d |
|
74 | getting d | |
75 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
75 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
76 | (activating bookmark c1) |
|
76 | (activating bookmark c1) | |
@@ -107,8 +107,8 b' Perform an update that causes b/c and d ' | |||||
107 | b/c: replacing untracked file |
|
107 | b/c: replacing untracked file | |
108 | d: replacing untracked file |
|
108 | d: replacing untracked file | |
109 | getting b/c |
|
109 | getting b/c | |
110 |
creating directory: $TESTTMP/repo/.hg/origbackups/b |
|
110 | creating directory: $TESTTMP/repo/.hg/origbackups/b | |
111 |
removing conflicting file: $TESTTMP/repo/.hg/origbackups/b |
|
111 | removing conflicting file: $TESTTMP/repo/.hg/origbackups/b | |
112 | getting d |
|
112 | getting d | |
113 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
113 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
114 | (activating bookmark c1) |
|
114 | (activating bookmark c1) | |
@@ -128,8 +128,8 b' Incorrectly configure origbackuppath to ' | |||||
128 | resolving manifests |
|
128 | resolving manifests | |
129 | b/c: replacing untracked file |
|
129 | b/c: replacing untracked file | |
130 | getting b/c |
|
130 | getting b/c | |
131 |
creating directory: $TESTTMP/repo/.hg/badorigbackups/b |
|
131 | creating directory: $TESTTMP/repo/.hg/badorigbackups/b | |
132 |
abort: $ENOTDIR$: '$TESTTMP/repo/.hg/badorigbackups/b' |
|
132 | abort: $ENOTDIR$: '$TESTTMP/repo/.hg/badorigbackups/b' | |
133 | [255] |
|
133 | [255] | |
134 | $ cat .hg/badorigbackups |
|
134 | $ cat .hg/badorigbackups | |
135 | data |
|
135 | data |
@@ -71,7 +71,7 b' hg parents c, single revision' | |||||
71 |
|
71 | |||
72 |
|
72 | |||
73 | $ hg parents -r 2 ../a |
|
73 | $ hg parents -r 2 ../a | |
74 |
abort: ../a not under root '$TESTTMP/repo' |
|
74 | abort: ../a not under root '$TESTTMP/repo' | |
75 | [255] |
|
75 | [255] | |
76 |
|
76 | |||
77 |
|
77 |
@@ -48,7 +48,7 b' Merge - local file conflicts with remote' | |||||
48 | a/b: path conflict - a file or link has the same name as a directory |
|
48 | a/b: path conflict - a file or link has the same name as a directory | |
49 | the local file has been renamed to a/b~0ed027b96f31 |
|
49 | the local file has been renamed to a/b~0ed027b96f31 | |
50 | resolve manually then use 'hg resolve --mark a/b' |
|
50 | resolve manually then use 'hg resolve --mark a/b' | |
51 |
moving a/b to a/b~0ed027b96f31 |
|
51 | moving a/b to a/b~0ed027b96f31 | |
52 | getting a/b/c/d |
|
52 | getting a/b/c/d | |
53 | 1 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
53 | 1 files updated, 0 files merged, 0 files removed, 1 files unresolved | |
54 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon |
|
54 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon |
@@ -20,35 +20,35 b' with paths:' | |||||
20 | $ echo 'dupe = ../b#tip' >> .hg/hgrc |
|
20 | $ echo 'dupe = ../b#tip' >> .hg/hgrc | |
21 | $ echo 'expand = $SOMETHING/bar' >> .hg/hgrc |
|
21 | $ echo 'expand = $SOMETHING/bar' >> .hg/hgrc | |
22 | $ hg in dupe |
|
22 | $ hg in dupe | |
23 |
comparing with $TESTTMP/b |
|
23 | comparing with $TESTTMP/b | |
24 | no changes found |
|
24 | no changes found | |
25 | [1] |
|
25 | [1] | |
26 | $ cd .. |
|
26 | $ cd .. | |
27 | $ hg -R a in dupe |
|
27 | $ hg -R a in dupe | |
28 |
comparing with $TESTTMP/b |
|
28 | comparing with $TESTTMP/b | |
29 | no changes found |
|
29 | no changes found | |
30 | [1] |
|
30 | [1] | |
31 | $ cd a |
|
31 | $ cd a | |
32 | $ hg paths |
|
32 | $ hg paths | |
33 |
dupe = $TESTTMP/b#tip |
|
33 | dupe = $TESTTMP/b#tip | |
34 |
expand = $TESTTMP/a/$SOMETHING/bar |
|
34 | expand = $TESTTMP/a/$SOMETHING/bar | |
35 | $ SOMETHING=foo hg paths |
|
35 | $ SOMETHING=foo hg paths | |
36 |
dupe = $TESTTMP/b#tip |
|
36 | dupe = $TESTTMP/b#tip | |
37 |
expand = $TESTTMP/a/foo/bar |
|
37 | expand = $TESTTMP/a/foo/bar | |
38 | #if msys |
|
38 | #if msys | |
39 | $ SOMETHING=//foo hg paths |
|
39 | $ SOMETHING=//foo hg paths | |
40 |
dupe = $TESTTMP/b#tip |
|
40 | dupe = $TESTTMP/b#tip | |
41 | expand = /foo/bar |
|
41 | expand = /foo/bar | |
42 | #else |
|
42 | #else | |
43 | $ SOMETHING=/foo hg paths |
|
43 | $ SOMETHING=/foo hg paths | |
44 |
dupe = $TESTTMP/b#tip |
|
44 | dupe = $TESTTMP/b#tip | |
45 | expand = /foo/bar |
|
45 | expand = /foo/bar | |
46 | #endif |
|
46 | #endif | |
47 | $ hg paths -q |
|
47 | $ hg paths -q | |
48 | dupe |
|
48 | dupe | |
49 | expand |
|
49 | expand | |
50 | $ hg paths dupe |
|
50 | $ hg paths dupe | |
51 |
$TESTTMP/b#tip |
|
51 | $TESTTMP/b#tip | |
52 |
$ |
|
52 | $ hg paths -q dupe | |
53 | $ hg paths unknown |
|
53 | $ hg paths unknown | |
54 | not found! |
|
54 | not found! | |
@@ -64,11 +64,11 b' formatter output with paths:' | |||||
64 | { |
|
64 | { | |
65 | "name": "dupe", |
|
65 | "name": "dupe", | |
66 | "pushurl": "https://example.com/dupe", |
|
66 | "pushurl": "https://example.com/dupe", | |
67 |
"url": "$TESTTMP/b#tip" |
|
67 | "url": "$TESTTMP/b#tip" | |
68 | }, |
|
68 | }, | |
69 | { |
|
69 | { | |
70 | "name": "expand", |
|
70 | "name": "expand", | |
71 |
"url": "$TESTTMP/a/$SOMETHING/bar" |
|
71 | "url": "$TESTTMP/a/$SOMETHING/bar" | |
72 | } |
|
72 | } | |
73 | ] |
|
73 | ] | |
74 | $ hg paths -Tjson dupe | sed 's|\\\\|\\|g' |
|
74 | $ hg paths -Tjson dupe | sed 's|\\\\|\\|g' | |
@@ -76,7 +76,7 b' formatter output with paths:' | |||||
76 | { |
|
76 | { | |
77 | "name": "dupe", |
|
77 | "name": "dupe", | |
78 | "pushurl": "https://example.com/dupe", |
|
78 | "pushurl": "https://example.com/dupe", | |
79 |
"url": "$TESTTMP/b#tip" |
|
79 | "url": "$TESTTMP/b#tip" | |
80 | } |
|
80 | } | |
81 | ] |
|
81 | ] | |
82 | $ hg paths -Tjson -q unknown |
|
82 | $ hg paths -Tjson -q unknown | |
@@ -89,21 +89,21 b' log template:' | |||||
89 | (behaves as a {name: path-string} dict by default) |
|
89 | (behaves as a {name: path-string} dict by default) | |
90 |
|
90 | |||
91 | $ hg log -rnull -T '{peerurls}\n' |
|
91 | $ hg log -rnull -T '{peerurls}\n' | |
92 |
dupe=$TESTTMP/b#tip expand=$TESTTMP/a/$SOMETHING/bar |
|
92 | dupe=$TESTTMP/b#tip expand=$TESTTMP/a/$SOMETHING/bar | |
93 | $ hg log -rnull -T '{join(peerurls, "\n")}\n' |
|
93 | $ hg log -rnull -T '{join(peerurls, "\n")}\n' | |
94 |
dupe=$TESTTMP/b#tip |
|
94 | dupe=$TESTTMP/b#tip | |
95 |
expand=$TESTTMP/a/$SOMETHING/bar |
|
95 | expand=$TESTTMP/a/$SOMETHING/bar | |
96 | $ hg log -rnull -T '{peerurls % "{name}: {url}\n"}' |
|
96 | $ hg log -rnull -T '{peerurls % "{name}: {url}\n"}' | |
97 |
dupe: $TESTTMP/b#tip |
|
97 | dupe: $TESTTMP/b#tip | |
98 |
expand: $TESTTMP/a/$SOMETHING/bar |
|
98 | expand: $TESTTMP/a/$SOMETHING/bar | |
99 | $ hg log -rnull -T '{get(peerurls, "dupe")}\n' |
|
99 | $ hg log -rnull -T '{get(peerurls, "dupe")}\n' | |
100 |
$TESTTMP/b#tip |
|
100 | $TESTTMP/b#tip | |
101 |
|
101 | |||
102 | (sub options can be populated by map/dot operation) |
|
102 | (sub options can be populated by map/dot operation) | |
103 |
|
103 | |||
104 | $ hg log -rnull \ |
|
104 | $ hg log -rnull \ | |
105 | > -T '{get(peerurls, "dupe") % "url: {url}\npushurl: {pushurl}\n"}' |
|
105 | > -T '{get(peerurls, "dupe") % "url: {url}\npushurl: {pushurl}\n"}' | |
106 |
url: $TESTTMP/b#tip |
|
106 | url: $TESTTMP/b#tip | |
107 | pushurl: https://example.com/dupe |
|
107 | pushurl: https://example.com/dupe | |
108 | $ hg log -rnull -T '{peerurls.dupe.pushurl}\n' |
|
108 | $ hg log -rnull -T '{peerurls.dupe.pushurl}\n' | |
109 | https://example.com/dupe |
|
109 | https://example.com/dupe | |
@@ -132,9 +132,9 b' output:' | |||||
132 | zeroconf wraps ui.configitems(), which shouldn't crash at least: |
|
132 | zeroconf wraps ui.configitems(), which shouldn't crash at least: | |
133 |
|
133 | |||
134 | $ hg paths --config extensions.zeroconf= |
|
134 | $ hg paths --config extensions.zeroconf= | |
135 |
dupe = $TESTTMP/b#tip |
|
135 | dupe = $TESTTMP/b#tip | |
136 | dupe:pushurl = https://example.com/dupe |
|
136 | dupe:pushurl = https://example.com/dupe | |
137 |
expand = $TESTTMP/a/$SOMETHING/bar |
|
137 | expand = $TESTTMP/a/$SOMETHING/bar | |
138 | insecure = http://foo:***@example.com/ |
|
138 | insecure = http://foo:***@example.com/ | |
139 |
|
139 | |||
140 | $ cd .. |
|
140 | $ cd .. |
@@ -143,12 +143,12 b' profiler extension could be loaded befor' | |||||
143 | $ hg root |
|
143 | $ hg root | |
144 | otherextension: loaded |
|
144 | otherextension: loaded | |
145 | fooprof: loaded |
|
145 | fooprof: loaded | |
146 |
$TESTTMP/b |
|
146 | $TESTTMP/b | |
147 | $ HGPROF=fooprof hg root --profile |
|
147 | $ HGPROF=fooprof hg root --profile | |
148 | fooprof: loaded |
|
148 | fooprof: loaded | |
149 | fooprof: start profile |
|
149 | fooprof: start profile | |
150 | otherextension: loaded |
|
150 | otherextension: loaded | |
151 |
$TESTTMP/b |
|
151 | $TESTTMP/b | |
152 | fooprof: end profile |
|
152 | fooprof: end profile | |
153 |
|
153 | |||
154 | $ HGPROF=other hg root --profile 2>&1 | head -n 2 |
|
154 | $ HGPROF=other hg root --profile 2>&1 | head -n 2 |
@@ -43,7 +43,7 b' don\'t show "(+1 heads)" message when pul' | |||||
43 | 2:effea6de0384 |
|
43 | 2:effea6de0384 | |
44 | 1:ed1b79f46b9a |
|
44 | 1:ed1b79f46b9a | |
45 | $ hg pull |
|
45 | $ hg pull | |
46 |
pulling from $TESTTMP/repo2 |
|
46 | pulling from $TESTTMP/repo2 | |
47 | searching for changes |
|
47 | searching for changes | |
48 | adding changesets |
|
48 | adding changesets | |
49 | adding manifests |
|
49 | adding manifests |
@@ -100,7 +100,7 b' explicit destination of the update.' | |||||
100 | * active-before-pull 3:483b76ad4309 |
|
100 | * active-before-pull 3:483b76ad4309 | |
101 |
|
101 | |||
102 | $ hg pull -u -r active-after-pull |
|
102 | $ hg pull -u -r active-after-pull | |
103 |
pulling from $TESTTMP/t |
|
103 | pulling from $TESTTMP/t | |
104 | searching for changes |
|
104 | searching for changes | |
105 | adding changesets |
|
105 | adding changesets | |
106 | adding manifests |
|
106 | adding manifests | |
@@ -129,7 +129,7 b' explicit destination of the update.' | |||||
129 | * active-before-pull 3:483b76ad4309 |
|
129 | * active-before-pull 3:483b76ad4309 | |
130 |
|
130 | |||
131 | $ hg pull -u $TESTTMP/t#active-after-pull |
|
131 | $ hg pull -u $TESTTMP/t#active-after-pull | |
132 |
pulling from $TESTTMP/t |
|
132 | pulling from $TESTTMP/t | |
133 | searching for changes |
|
133 | searching for changes | |
134 | adding changesets |
|
134 | adding changesets | |
135 | adding manifests |
|
135 | adding manifests | |
@@ -168,7 +168,7 b' match with the name of any existing book' | |||||
168 | * active-before-pull 3:483b76ad4309 |
|
168 | * active-before-pull 3:483b76ad4309 | |
169 |
|
169 | |||
170 | $ hg pull -u -r b5e4babfaaa7 |
|
170 | $ hg pull -u -r b5e4babfaaa7 | |
171 |
pulling from $TESTTMP/t |
|
171 | pulling from $TESTTMP/t | |
172 | searching for changes |
|
172 | searching for changes | |
173 | adding changesets |
|
173 | adding changesets | |
174 | adding manifests |
|
174 | adding manifests | |
@@ -195,7 +195,7 b' match with the name of any existing book' | |||||
195 | * active-before-pull 3:483b76ad4309 |
|
195 | * active-before-pull 3:483b76ad4309 | |
196 |
|
196 | |||
197 | $ hg pull -u -b bar |
|
197 | $ hg pull -u -b bar | |
198 |
pulling from $TESTTMP/t |
|
198 | pulling from $TESTTMP/t | |
199 | searching for changes |
|
199 | searching for changes | |
200 | adding changesets |
|
200 | adding changesets | |
201 | adding manifests |
|
201 | adding manifests | |
@@ -222,7 +222,7 b' match with the name of any existing book' | |||||
222 | * active-before-pull 3:483b76ad4309 |
|
222 | * active-before-pull 3:483b76ad4309 | |
223 |
|
223 | |||
224 | $ hg pull -u $TESTTMP/t#bar |
|
224 | $ hg pull -u $TESTTMP/t#bar | |
225 |
pulling from $TESTTMP/t |
|
225 | pulling from $TESTTMP/t | |
226 | searching for changes |
|
226 | searching for changes | |
227 | adding changesets |
|
227 | adding changesets | |
228 | adding manifests |
|
228 | adding manifests |
@@ -47,7 +47,7 b' Test setup' | |||||
47 | $ mkcommit B0 |
|
47 | $ mkcommit B0 | |
48 | $ cd ../client |
|
48 | $ cd ../client | |
49 | $ hg pull |
|
49 | $ hg pull | |
50 |
pulling from $TESTTMP/C1/server |
|
50 | pulling from $TESTTMP/C1/server | |
51 | searching for changes |
|
51 | searching for changes | |
52 | adding changesets |
|
52 | adding changesets | |
53 | adding manifests |
|
53 | adding manifests | |
@@ -75,7 +75,7 b' Actual testing' | |||||
75 | -------------- |
|
75 | -------------- | |
76 |
|
76 | |||
77 | $ hg push |
|
77 | $ hg push | |
78 |
pushing to $TESTTMP/C1/server |
|
78 | pushing to $TESTTMP/C1/server | |
79 | searching for changes |
|
79 | searching for changes | |
80 | abort: push creates new remote head 25c56d33e4c4! |
|
80 | abort: push creates new remote head 25c56d33e4c4! | |
81 | (merge or see 'hg help push' for details about pushing new heads) |
|
81 | (merge or see 'hg help push' for details about pushing new heads) |
@@ -47,7 +47,7 b' Test setup' | |||||
47 | $ mkcommit B0 |
|
47 | $ mkcommit B0 | |
48 | $ cd ../client |
|
48 | $ cd ../client | |
49 | $ hg pull |
|
49 | $ hg pull | |
50 |
pulling from $TESTTMP/C2/server |
|
50 | pulling from $TESTTMP/C2/server | |
51 | searching for changes |
|
51 | searching for changes | |
52 | adding changesets |
|
52 | adding changesets | |
53 | adding manifests |
|
53 | adding manifests | |
@@ -75,7 +75,7 b' Actual testing' | |||||
75 | -------------- |
|
75 | -------------- | |
76 |
|
76 | |||
77 | $ hg push --rev 'desc(A1)' |
|
77 | $ hg push --rev 'desc(A1)' | |
78 |
pushing to $TESTTMP/C2/server |
|
78 | pushing to $TESTTMP/C2/server | |
79 | searching for changes |
|
79 | searching for changes | |
80 | abort: push creates new remote head f6082bc4ffef! |
|
80 | abort: push creates new remote head f6082bc4ffef! | |
81 | (merge or see 'hg help push' for details about pushing new heads) |
|
81 | (merge or see 'hg help push' for details about pushing new heads) |
@@ -47,7 +47,7 b' Test setup' | |||||
47 | $ mkcommit B0 |
|
47 | $ mkcommit B0 | |
48 | $ cd ../client |
|
48 | $ cd ../client | |
49 | $ hg pull |
|
49 | $ hg pull | |
50 |
pulling from $TESTTMP/C3/server |
|
50 | pulling from $TESTTMP/C3/server | |
51 | searching for changes |
|
51 | searching for changes | |
52 | adding changesets |
|
52 | adding changesets | |
53 | adding manifests |
|
53 | adding manifests | |
@@ -75,7 +75,7 b' Actual testing' | |||||
75 | -------------- |
|
75 | -------------- | |
76 |
|
76 | |||
77 | $ hg push |
|
77 | $ hg push | |
78 |
pushing to $TESTTMP/C3/server |
|
78 | pushing to $TESTTMP/C3/server | |
79 | searching for changes |
|
79 | searching for changes | |
80 | abort: push creates new remote head 0f88766e02d6! |
|
80 | abort: push creates new remote head 0f88766e02d6! | |
81 | (merge or see 'hg help push' for details about pushing new heads) |
|
81 | (merge or see 'hg help push' for details about pushing new heads) |
@@ -47,7 +47,7 b' Test setup' | |||||
47 | $ mkcommit B0 |
|
47 | $ mkcommit B0 | |
48 | $ cd ../client |
|
48 | $ cd ../client | |
49 | $ hg pull |
|
49 | $ hg pull | |
50 |
pulling from $TESTTMP/C4/server |
|
50 | pulling from $TESTTMP/C4/server | |
51 | searching for changes |
|
51 | searching for changes | |
52 | adding changesets |
|
52 | adding changesets | |
53 | adding manifests |
|
53 | adding manifests | |
@@ -75,7 +75,7 b' Actual testing' | |||||
75 | -------------- |
|
75 | -------------- | |
76 |
|
76 | |||
77 | $ hg push --rev 'desc(C0)' |
|
77 | $ hg push --rev 'desc(C0)' | |
78 |
pushing to $TESTTMP/C4/server |
|
78 | pushing to $TESTTMP/C4/server | |
79 | searching for changes |
|
79 | searching for changes | |
80 | abort: push creates new remote head 0f88766e02d6! |
|
80 | abort: push creates new remote head 0f88766e02d6! | |
81 | (merge or see 'hg help push' for details about pushing new heads) |
|
81 | (merge or see 'hg help push' for details about pushing new heads) |
@@ -62,7 +62,7 b' Actual testing' | |||||
62 | -------------- |
|
62 | -------------- | |
63 |
|
63 | |||
64 | $ hg push |
|
64 | $ hg push | |
65 |
pushing to $TESTTMP/B1/server |
|
65 | pushing to $TESTTMP/B1/server | |
66 | searching for changes |
|
66 | searching for changes | |
67 | adding changesets |
|
67 | adding changesets | |
68 | adding manifests |
|
68 | adding manifests |
@@ -47,7 +47,7 b' Test setup' | |||||
47 | $ mkcommit B0 |
|
47 | $ mkcommit B0 | |
48 | $ cd ../client |
|
48 | $ cd ../client | |
49 | $ hg pull |
|
49 | $ hg pull | |
50 |
pulling from $TESTTMP/B2/server |
|
50 | pulling from $TESTTMP/B2/server | |
51 | searching for changes |
|
51 | searching for changes | |
52 | adding changesets |
|
52 | adding changesets | |
53 | adding manifests |
|
53 | adding manifests | |
@@ -77,7 +77,7 b' Actual testing' | |||||
77 | -------------- |
|
77 | -------------- | |
78 |
|
78 | |||
79 | $ hg push |
|
79 | $ hg push | |
80 |
pushing to $TESTTMP/B2/server |
|
80 | pushing to $TESTTMP/B2/server | |
81 | searching for changes |
|
81 | searching for changes | |
82 | adding changesets |
|
82 | adding changesets | |
83 | adding manifests |
|
83 | adding manifests |
@@ -47,7 +47,7 b' Test setup' | |||||
47 | $ mkcommit B0 |
|
47 | $ mkcommit B0 | |
48 | $ cd ../client |
|
48 | $ cd ../client | |
49 | $ hg pull |
|
49 | $ hg pull | |
50 |
pulling from $TESTTMP/B3/server |
|
50 | pulling from $TESTTMP/B3/server | |
51 | searching for changes |
|
51 | searching for changes | |
52 | adding changesets |
|
52 | adding changesets | |
53 | adding manifests |
|
53 | adding manifests | |
@@ -77,7 +77,7 b' Actual testing' | |||||
77 | -------------- |
|
77 | -------------- | |
78 |
|
78 | |||
79 | $ hg push |
|
79 | $ hg push | |
80 |
pushing to $TESTTMP/B3/server |
|
80 | pushing to $TESTTMP/B3/server | |
81 | searching for changes |
|
81 | searching for changes | |
82 | adding changesets |
|
82 | adding changesets | |
83 | adding manifests |
|
83 | adding manifests |
@@ -48,7 +48,7 b' Test setup' | |||||
48 | $ mkcommit B0 |
|
48 | $ mkcommit B0 | |
49 | $ cd ../client |
|
49 | $ cd ../client | |
50 | $ hg pull |
|
50 | $ hg pull | |
51 |
pulling from $TESTTMP/B4/server |
|
51 | pulling from $TESTTMP/B4/server | |
52 | searching for changes |
|
52 | searching for changes | |
53 | adding changesets |
|
53 | adding changesets | |
54 | adding manifests |
|
54 | adding manifests | |
@@ -78,7 +78,7 b' Actual testing' | |||||
78 | -------------- |
|
78 | -------------- | |
79 |
|
79 | |||
80 | $ hg push |
|
80 | $ hg push | |
81 |
pushing to $TESTTMP/B4/server |
|
81 | pushing to $TESTTMP/B4/server | |
82 | searching for changes |
|
82 | searching for changes | |
83 | adding changesets |
|
83 | adding changesets | |
84 | adding manifests |
|
84 | adding manifests |
@@ -51,7 +51,7 b' Test setup' | |||||
51 | $ mkcommit C0 |
|
51 | $ mkcommit C0 | |
52 | $ cd ../client |
|
52 | $ cd ../client | |
53 | $ hg pull |
|
53 | $ hg pull | |
54 |
pulling from $TESTTMP/B5/server |
|
54 | pulling from $TESTTMP/B5/server | |
55 | searching for changes |
|
55 | searching for changes | |
56 | adding changesets |
|
56 | adding changesets | |
57 | adding manifests |
|
57 | adding manifests | |
@@ -85,7 +85,7 b' Actual testing' | |||||
85 | -------------- |
|
85 | -------------- | |
86 |
|
86 | |||
87 | $ hg push |
|
87 | $ hg push | |
88 |
pushing to $TESTTMP/B5/server |
|
88 | pushing to $TESTTMP/B5/server | |
89 | searching for changes |
|
89 | searching for changes | |
90 | adding changesets |
|
90 | adding changesets | |
91 | adding manifests |
|
91 | adding manifests |
@@ -69,7 +69,7 b' Actual testing' | |||||
69 | -------------- |
|
69 | -------------- | |
70 |
|
70 | |||
71 | $ hg push |
|
71 | $ hg push | |
72 |
pushing to $TESTTMP/B6/server |
|
72 | pushing to $TESTTMP/B6/server | |
73 | searching for changes |
|
73 | searching for changes | |
74 | adding changesets |
|
74 | adding changesets | |
75 | adding manifests |
|
75 | adding manifests |
@@ -68,7 +68,7 b' Actual testing' | |||||
68 | -------------- |
|
68 | -------------- | |
69 |
|
69 | |||
70 | $ hg push |
|
70 | $ hg push | |
71 |
pushing to $TESTTMP/B7/server |
|
71 | pushing to $TESTTMP/B7/server | |
72 | searching for changes |
|
72 | searching for changes | |
73 | adding changesets |
|
73 | adding changesets | |
74 | adding manifests |
|
74 | adding manifests |
@@ -49,7 +49,7 b' Test setup' | |||||
49 | $ mkcommit B0 |
|
49 | $ mkcommit B0 | |
50 | $ cd ../client |
|
50 | $ cd ../client | |
51 | $ hg pull |
|
51 | $ hg pull | |
52 |
pulling from $TESTTMP/B8/server |
|
52 | pulling from $TESTTMP/B8/server | |
53 | searching for changes |
|
53 | searching for changes | |
54 | adding changesets |
|
54 | adding changesets | |
55 | adding manifests |
|
55 | adding manifests | |
@@ -92,7 +92,7 b' Actual testing' | |||||
92 | -------------- |
|
92 | -------------- | |
93 |
|
93 | |||
94 | $ hg push |
|
94 | $ hg push | |
95 |
pushing to $TESTTMP/B8/server |
|
95 | pushing to $TESTTMP/B8/server | |
96 | searching for changes |
|
96 | searching for changes | |
97 | adding changesets |
|
97 | adding changesets | |
98 | adding manifests |
|
98 | adding manifests |
@@ -59,7 +59,7 b' Actual testing' | |||||
59 | -------------- |
|
59 | -------------- | |
60 |
|
60 | |||
61 | $ hg push |
|
61 | $ hg push | |
62 |
pushing to $TESTTMP/A1/server |
|
62 | pushing to $TESTTMP/A1/server | |
63 | searching for changes |
|
63 | searching for changes | |
64 | adding changesets |
|
64 | adding changesets | |
65 | adding manifests |
|
65 | adding manifests |
@@ -46,7 +46,7 b' Test setup' | |||||
46 | $ mkcommit B0 |
|
46 | $ mkcommit B0 | |
47 | $ cd ../client |
|
47 | $ cd ../client | |
48 | $ hg pull |
|
48 | $ hg pull | |
49 |
pulling from $TESTTMP/A2/server |
|
49 | pulling from $TESTTMP/A2/server | |
50 | searching for changes |
|
50 | searching for changes | |
51 | adding changesets |
|
51 | adding changesets | |
52 | adding manifests |
|
52 | adding manifests | |
@@ -79,7 +79,7 b' Actual testing' | |||||
79 | -------------- |
|
79 | -------------- | |
80 |
|
80 | |||
81 | $ hg push |
|
81 | $ hg push | |
82 |
pushing to $TESTTMP/A2/server |
|
82 | pushing to $TESTTMP/A2/server | |
83 | searching for changes |
|
83 | searching for changes | |
84 | adding changesets |
|
84 | adding changesets | |
85 | adding manifests |
|
85 | adding manifests |
@@ -49,7 +49,7 b' Test setup' | |||||
49 | $ mkcommit B0 |
|
49 | $ mkcommit B0 | |
50 | $ cd ../client |
|
50 | $ cd ../client | |
51 | $ hg pull |
|
51 | $ hg pull | |
52 |
pulling from $TESTTMP/A3/server |
|
52 | pulling from $TESTTMP/A3/server | |
53 | searching for changes |
|
53 | searching for changes | |
54 | adding changesets |
|
54 | adding changesets | |
55 | adding manifests |
|
55 | adding manifests | |
@@ -82,7 +82,7 b' Actual testing' | |||||
82 | -------------- |
|
82 | -------------- | |
83 |
|
83 | |||
84 | $ hg push |
|
84 | $ hg push | |
85 |
pushing to $TESTTMP/A3/server |
|
85 | pushing to $TESTTMP/A3/server | |
86 | searching for changes |
|
86 | searching for changes | |
87 | adding changesets |
|
87 | adding changesets | |
88 | adding manifests |
|
88 | adding manifests |
@@ -64,7 +64,7 b' Actual testing' | |||||
64 | -------------- |
|
64 | -------------- | |
65 |
|
65 | |||
66 | $ hg push |
|
66 | $ hg push | |
67 |
pushing to $TESTTMP/A4/server |
|
67 | pushing to $TESTTMP/A4/server | |
68 | searching for changes |
|
68 | searching for changes | |
69 | adding changesets |
|
69 | adding changesets | |
70 | adding manifests |
|
70 | adding manifests |
@@ -64,7 +64,7 b' Actual testing' | |||||
64 | -------------- |
|
64 | -------------- | |
65 |
|
65 | |||
66 | $ hg push |
|
66 | $ hg push | |
67 |
pushing to $TESTTMP/A5/server |
|
67 | pushing to $TESTTMP/A5/server | |
68 | searching for changes |
|
68 | searching for changes | |
69 | adding changesets |
|
69 | adding changesets | |
70 | adding manifests |
|
70 | adding manifests |
@@ -53,7 +53,7 b' Test setup' | |||||
53 | created new head |
|
53 | created new head | |
54 | $ cd ../client |
|
54 | $ cd ../client | |
55 | $ hg pull |
|
55 | $ hg pull | |
56 |
pulling from $TESTTMP/A6/server |
|
56 | pulling from $TESTTMP/A6/server | |
57 | searching for changes |
|
57 | searching for changes | |
58 | adding changesets |
|
58 | adding changesets | |
59 | adding manifests |
|
59 | adding manifests | |
@@ -90,7 +90,7 b' Actual testing' | |||||
90 | -------------- |
|
90 | -------------- | |
91 |
|
91 | |||
92 | $ hg push |
|
92 | $ hg push | |
93 |
pushing to $TESTTMP/A6/server |
|
93 | pushing to $TESTTMP/A6/server | |
94 | searching for changes |
|
94 | searching for changes | |
95 | adding changesets |
|
95 | adding changesets | |
96 | adding manifests |
|
96 | adding manifests |
@@ -53,7 +53,7 b' Test setup' | |||||
53 | created new head |
|
53 | created new head | |
54 | $ cd ../client |
|
54 | $ cd ../client | |
55 | $ hg pull |
|
55 | $ hg pull | |
56 |
pulling from $TESTTMP/A7/server |
|
56 | pulling from $TESTTMP/A7/server | |
57 | searching for changes |
|
57 | searching for changes | |
58 | adding changesets |
|
58 | adding changesets | |
59 | adding manifests |
|
59 | adding manifests | |
@@ -90,7 +90,7 b' Actual testing' | |||||
90 | -------------- |
|
90 | -------------- | |
91 |
|
91 | |||
92 | $ hg push |
|
92 | $ hg push | |
93 |
pushing to $TESTTMP/A7/server |
|
93 | pushing to $TESTTMP/A7/server | |
94 | searching for changes |
|
94 | searching for changes | |
95 | adding changesets |
|
95 | adding changesets | |
96 | adding manifests |
|
96 | adding manifests |
@@ -70,7 +70,7 b' Actual testing' | |||||
70 | -------------- |
|
70 | -------------- | |
71 |
|
71 | |||
72 | $ hg push |
|
72 | $ hg push | |
73 |
pushing to $TESTTMP/A8/server |
|
73 | pushing to $TESTTMP/A8/server | |
74 | searching for changes |
|
74 | searching for changes | |
75 | adding changesets |
|
75 | adding changesets | |
76 | adding manifests |
|
76 | adding manifests |
@@ -68,7 +68,7 b' Actual testing' | |||||
68 | -------------- |
|
68 | -------------- | |
69 |
|
69 | |||
70 | $ hg push -r 'desc(B0)' |
|
70 | $ hg push -r 'desc(B0)' | |
71 |
pushing to $TESTTMP/D1/server |
|
71 | pushing to $TESTTMP/D1/server | |
72 | searching for changes |
|
72 | searching for changes | |
73 | abort: push creates new remote head 74ff5441d343! |
|
73 | abort: push creates new remote head 74ff5441d343! | |
74 | (merge or see 'hg help push' for details about pushing new heads) |
|
74 | (merge or see 'hg help push' for details about pushing new heads) |
@@ -51,7 +51,7 b' Test setup' | |||||
51 | $ mkcommit B0 |
|
51 | $ mkcommit B0 | |
52 | $ cd ../client |
|
52 | $ cd ../client | |
53 | $ hg pull |
|
53 | $ hg pull | |
54 |
pulling from $TESTTMP/D2/server |
|
54 | pulling from $TESTTMP/D2/server | |
55 | searching for changes |
|
55 | searching for changes | |
56 | adding changesets |
|
56 | adding changesets | |
57 | adding manifests |
|
57 | adding manifests | |
@@ -87,7 +87,7 b' Actual testing' | |||||
87 | -------------- |
|
87 | -------------- | |
88 |
|
88 | |||
89 | $ hg push --rev 'desc(C0)' |
|
89 | $ hg push --rev 'desc(C0)' | |
90 |
pushing to $TESTTMP/D2/server |
|
90 | pushing to $TESTTMP/D2/server | |
91 | searching for changes |
|
91 | searching for changes | |
92 | abort: push creates new remote head 0f88766e02d6! |
|
92 | abort: push creates new remote head 0f88766e02d6! | |
93 | (merge or see 'hg help push' for details about pushing new heads) |
|
93 | (merge or see 'hg help push' for details about pushing new heads) |
@@ -50,7 +50,7 b' Test setup' | |||||
50 | 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
50 | 0 files updated, 0 files merged, 2 files removed, 0 files unresolved | |
51 | $ cd ../client |
|
51 | $ cd ../client | |
52 | $ hg pull |
|
52 | $ hg pull | |
53 |
pulling from $TESTTMP/D3/server |
|
53 | pulling from $TESTTMP/D3/server | |
54 | searching for changes |
|
54 | searching for changes | |
55 | adding changesets |
|
55 | adding changesets | |
56 | adding manifests |
|
56 | adding manifests | |
@@ -86,13 +86,13 b' Actual testing' | |||||
86 | -------------- |
|
86 | -------------- | |
87 |
|
87 | |||
88 | $ hg push --rev 'desc(A1)' |
|
88 | $ hg push --rev 'desc(A1)' | |
89 |
pushing to $TESTTMP/D3/server |
|
89 | pushing to $TESTTMP/D3/server | |
90 | searching for changes |
|
90 | searching for changes | |
91 | abort: push creates new remote head f6082bc4ffef! |
|
91 | abort: push creates new remote head f6082bc4ffef! | |
92 | (merge or see 'hg help push' for details about pushing new heads) |
|
92 | (merge or see 'hg help push' for details about pushing new heads) | |
93 | [255] |
|
93 | [255] | |
94 | $ hg push --rev 'desc(B1)' |
|
94 | $ hg push --rev 'desc(B1)' | |
95 |
pushing to $TESTTMP/D3/server |
|
95 | pushing to $TESTTMP/D3/server | |
96 | searching for changes |
|
96 | searching for changes | |
97 | abort: push creates new remote head 25c56d33e4c4! |
|
97 | abort: push creates new remote head 25c56d33e4c4! | |
98 | (merge or see 'hg help push' for details about pushing new heads) |
|
98 | (merge or see 'hg help push' for details about pushing new heads) | |
@@ -104,7 +104,7 b' Extra testing' | |||||
104 | In this case, even a bare push is creating more heads |
|
104 | In this case, even a bare push is creating more heads | |
105 |
|
105 | |||
106 | $ hg push |
|
106 | $ hg push | |
107 |
pushing to $TESTTMP/D3/server |
|
107 | pushing to $TESTTMP/D3/server | |
108 | searching for changes |
|
108 | searching for changes | |
109 | abort: push creates new remote head 25c56d33e4c4! |
|
109 | abort: push creates new remote head 25c56d33e4c4! | |
110 | (merge or see 'hg help push' for details about pushing new heads) |
|
110 | (merge or see 'hg help push' for details about pushing new heads) |
@@ -67,7 +67,7 b' Test setup' | |||||
67 | created new head |
|
67 | created new head | |
68 | $ cd ../client |
|
68 | $ cd ../client | |
69 | $ hg pull |
|
69 | $ hg pull | |
70 |
pulling from $TESTTMP/D4/server |
|
70 | pulling from $TESTTMP/D4/server | |
71 | searching for changes |
|
71 | searching for changes | |
72 | adding changesets |
|
72 | adding changesets | |
73 | adding manifests |
|
73 | adding manifests | |
@@ -104,7 +104,7 b' Actual testing (new branch only)' | |||||
104 | -------------------------------- |
|
104 | -------------------------------- | |
105 |
|
105 | |||
106 | $ hg push --rev 'desc(A1)' |
|
106 | $ hg push --rev 'desc(A1)' | |
107 |
pushing to $TESTTMP/D4/server |
|
107 | pushing to $TESTTMP/D4/server | |
108 | searching for changes |
|
108 | searching for changes | |
109 | abort: push creates new remote head f6082bc4ffef! |
|
109 | abort: push creates new remote head f6082bc4ffef! | |
110 | (merge or see 'hg help push' for details about pushing new heads) |
|
110 | (merge or see 'hg help push' for details about pushing new heads) | |
@@ -114,7 +114,7 b' Actual testing (existing branch only)' | |||||
114 | ------------------------------------ |
|
114 | ------------------------------------ | |
115 |
|
115 | |||
116 | $ hg push --rev 'desc(B1)' |
|
116 | $ hg push --rev 'desc(B1)' | |
117 |
pushing to $TESTTMP/D4/server |
|
117 | pushing to $TESTTMP/D4/server | |
118 | searching for changes |
|
118 | searching for changes | |
119 | adding changesets |
|
119 | adding changesets | |
120 | adding manifests |
|
120 | adding manifests |
@@ -56,7 +56,7 b' Test setup' | |||||
56 | created new head |
|
56 | created new head | |
57 | $ cd ../client |
|
57 | $ cd ../client | |
58 | $ hg pull |
|
58 | $ hg pull | |
59 |
pulling from $TESTTMP/D5/server |
|
59 | pulling from $TESTTMP/D5/server | |
60 | searching for changes |
|
60 | searching for changes | |
61 | adding changesets |
|
61 | adding changesets | |
62 | adding manifests |
|
62 | adding manifests | |
@@ -93,13 +93,13 b' Actual testing' | |||||
93 | -------------- |
|
93 | -------------- | |
94 |
|
94 | |||
95 | $ hg push --rev 'desc(B1)' |
|
95 | $ hg push --rev 'desc(B1)' | |
96 |
pushing to $TESTTMP/D5/server |
|
96 | pushing to $TESTTMP/D5/server | |
97 | searching for changes |
|
97 | searching for changes | |
98 | abort: push creates new remote head 25c56d33e4c4! |
|
98 | abort: push creates new remote head 25c56d33e4c4! | |
99 | (merge or see 'hg help push' for details about pushing new heads) |
|
99 | (merge or see 'hg help push' for details about pushing new heads) | |
100 | [255] |
|
100 | [255] | |
101 | $ hg push --rev 'desc(A1)' |
|
101 | $ hg push --rev 'desc(A1)' | |
102 |
pushing to $TESTTMP/D5/server |
|
102 | pushing to $TESTTMP/D5/server | |
103 | searching for changes |
|
103 | searching for changes | |
104 | adding changesets |
|
104 | adding changesets | |
105 | adding manifests |
|
105 | adding manifests |
@@ -75,7 +75,7 b' Actual testing' | |||||
75 | -------------- |
|
75 | -------------- | |
76 |
|
76 | |||
77 | $ hg push --rev 'desc(C0)' |
|
77 | $ hg push --rev 'desc(C0)' | |
78 |
pushing to $TESTTMP/D6/server |
|
78 | pushing to $TESTTMP/D6/server | |
79 | searching for changes |
|
79 | searching for changes | |
80 | abort: push creates new remote head 0f88766e02d6! |
|
80 | abort: push creates new remote head 0f88766e02d6! | |
81 | (merge or see 'hg help push' for details about pushing new heads) |
|
81 | (merge or see 'hg help push' for details about pushing new heads) |
@@ -88,7 +88,7 b' Actual testing' | |||||
88 | -------------- |
|
88 | -------------- | |
89 |
|
89 | |||
90 | $ hg push --rev 'desc(C0)' |
|
90 | $ hg push --rev 'desc(C0)' | |
91 |
pushing to $TESTTMP/D7/server |
|
91 | pushing to $TESTTMP/D7/server | |
92 | searching for changes |
|
92 | searching for changes | |
93 | adding changesets |
|
93 | adding changesets | |
94 | adding manifests |
|
94 | adding manifests |
@@ -199,7 +199,7 b' Expected to fail:' | |||||
199 | [1] |
|
199 | [1] | |
200 |
|
200 | |||
201 | $ hg push |
|
201 | $ hg push | |
202 |
pushing to $TESTTMP/test-validation |
|
202 | pushing to $TESTTMP/test-validation | |
203 | searching for changes |
|
203 | searching for changes | |
204 | adding changesets |
|
204 | adding changesets | |
205 | adding manifests |
|
205 | adding manifests | |
@@ -234,7 +234,7 b' Expected to fail:' | |||||
234 | [1] |
|
234 | [1] | |
235 |
|
235 | |||
236 | $ hg push |
|
236 | $ hg push | |
237 |
pushing to $TESTTMP/test-validation |
|
237 | pushing to $TESTTMP/test-validation | |
238 | searching for changes |
|
238 | searching for changes | |
239 | adding changesets |
|
239 | adding changesets | |
240 | adding manifests |
|
240 | adding manifests |
@@ -24,7 +24,7 b' Test pushing vars to repo with pushvars.' | |||||
24 | $ echo b > a |
|
24 | $ echo b > a | |
25 | $ hg commit -Aqm a |
|
25 | $ hg commit -Aqm a | |
26 | $ hg push --pushvars "DEBUG=1" --pushvars "BYPASS_REVIEW=true" |
|
26 | $ hg push --pushvars "DEBUG=1" --pushvars "BYPASS_REVIEW=true" | |
27 |
pushing to $TESTTMP/repo |
|
27 | pushing to $TESTTMP/repo | |
28 | searching for changes |
|
28 | searching for changes | |
29 | adding changesets |
|
29 | adding changesets | |
30 | adding manifests |
|
30 | adding manifests | |
@@ -38,7 +38,7 b' Setting pushvars.sever = true and then p' | |||||
38 | $ echo b >> a |
|
38 | $ echo b >> a | |
39 | $ hg commit -Aqm a |
|
39 | $ hg commit -Aqm a | |
40 | $ hg push --pushvars "DEBUG=1" --pushvars "BYPASS_REVIEW=true" |
|
40 | $ hg push --pushvars "DEBUG=1" --pushvars "BYPASS_REVIEW=true" | |
41 |
pushing to $TESTTMP/repo |
|
41 | pushing to $TESTTMP/repo | |
42 | searching for changes |
|
42 | searching for changes | |
43 | adding changesets |
|
43 | adding changesets | |
44 | adding manifests |
|
44 | adding manifests | |
@@ -52,7 +52,7 b' Test pushing var with empty right-hand s' | |||||
52 | $ echo b >> a |
|
52 | $ echo b >> a | |
53 | $ hg commit -Aqm a |
|
53 | $ hg commit -Aqm a | |
54 | $ hg push --pushvars "DEBUG=" |
|
54 | $ hg push --pushvars "DEBUG=" | |
55 |
pushing to $TESTTMP/repo |
|
55 | pushing to $TESTTMP/repo | |
56 | searching for changes |
|
56 | searching for changes | |
57 | adding changesets |
|
57 | adding changesets | |
58 | adding manifests |
|
58 | adding manifests | |
@@ -65,7 +65,7 b' Test pushing bad vars' | |||||
65 | $ echo b >> a |
|
65 | $ echo b >> a | |
66 | $ hg commit -Aqm b |
|
66 | $ hg commit -Aqm b | |
67 | $ hg push --pushvars "DEBUG" |
|
67 | $ hg push --pushvars "DEBUG" | |
68 |
pushing to $TESTTMP/repo |
|
68 | pushing to $TESTTMP/repo | |
69 | searching for changes |
|
69 | searching for changes | |
70 | abort: unable to parse variable 'DEBUG', should follow 'KEY=VALUE' or 'KEY=' format |
|
70 | abort: unable to parse variable 'DEBUG', should follow 'KEY=VALUE' or 'KEY=' format | |
71 | [255] |
|
71 | [255] |
@@ -115,7 +115,7 b' Insert unsupported mandatory merge recor' | |||||
115 | Abort (should clear out unsupported merge state): |
|
115 | Abort (should clear out unsupported merge state): | |
116 |
|
116 | |||
117 | $ hg rebase --abort |
|
117 | $ hg rebase --abort | |
118 |
saved backup bundle to $TESTTMP/a/.hg/strip-backup/3e046f2ecedb-6beef7d5-backup.hg |
|
118 | saved backup bundle to $TESTTMP/a/.hg/strip-backup/3e046f2ecedb-6beef7d5-backup.hg | |
119 | rebase aborted |
|
119 | rebase aborted | |
120 | $ hg debugmergestate |
|
120 | $ hg debugmergestate | |
121 | no merge state found |
|
121 | no merge state found | |
@@ -377,7 +377,7 b' test aborting an interrupted series (iss' | |||||
377 | abort: ^C |
|
377 | abort: ^C | |
378 | [255] |
|
378 | [255] | |
379 | $ hg rebase --abort |
|
379 | $ hg rebase --abort | |
380 |
saved backup bundle to $TESTTMP/interrupted/.hg/strip-backup/3d8812cf300d-93041a90-backup.hg |
|
380 | saved backup bundle to $TESTTMP/interrupted/.hg/strip-backup/3d8812cf300d-93041a90-backup.hg | |
381 | rebase aborted |
|
381 | rebase aborted | |
382 | $ hg log -G --template "{rev} {desc} {bookmarks}" |
|
382 | $ hg log -G --template "{rev} {desc} {bookmarks}" | |
383 | o 6 no-a |
|
383 | o 6 no-a |
@@ -76,7 +76,7 b' Test deleting divergent bookmarks from d' | |||||
76 |
|
76 | |||
77 | $ hg rebase -s Y -d 3 |
|
77 | $ hg rebase -s Y -d 3 | |
78 | rebasing 2:49cb3485fa0c "C" (Y Z) |
|
78 | rebasing 2:49cb3485fa0c "C" (Y Z) | |
79 |
saved backup bundle to $TESTTMP/a1/.hg/strip-backup/49cb3485fa0c-126f3e97-rebase.hg |
|
79 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/49cb3485fa0c-126f3e97-rebase.hg | |
80 |
|
80 | |||
81 | $ hg tglog |
|
81 | $ hg tglog | |
82 | @ 3: 17fb3faba63c 'C' bookmarks: Y Z |
|
82 | @ 3: 17fb3faba63c 'C' bookmarks: Y Z | |
@@ -98,7 +98,7 b' Do not try to keep active but deleted di' | |||||
98 |
|
98 | |||
99 | $ hg rebase -s W -d . |
|
99 | $ hg rebase -s W -d . | |
100 | rebasing 3:41acb9dca9eb "D" (W tip) |
|
100 | rebasing 3:41acb9dca9eb "D" (W tip) | |
101 |
saved backup bundle to $TESTTMP/a4/.hg/strip-backup/41acb9dca9eb-b35a6a63-rebase.hg |
|
101 | saved backup bundle to $TESTTMP/a4/.hg/strip-backup/41acb9dca9eb-b35a6a63-rebase.hg | |
102 |
|
102 | |||
103 | $ hg bookmarks |
|
103 | $ hg bookmarks | |
104 | W 3:0d3554f74897 |
|
104 | W 3:0d3554f74897 | |
@@ -117,7 +117,7 b' Keep bookmarks to the correct rebased ch' | |||||
117 | $ hg rebase -s 1 -d 3 |
|
117 | $ hg rebase -s 1 -d 3 | |
118 | rebasing 1:6c81ed0049f8 "B" (X) |
|
118 | rebasing 1:6c81ed0049f8 "B" (X) | |
119 | rebasing 2:49cb3485fa0c "C" (Y Z) |
|
119 | rebasing 2:49cb3485fa0c "C" (Y Z) | |
120 |
saved backup bundle to $TESTTMP/a2/.hg/strip-backup/6c81ed0049f8-a687065f-rebase.hg |
|
120 | saved backup bundle to $TESTTMP/a2/.hg/strip-backup/6c81ed0049f8-a687065f-rebase.hg | |
121 |
|
121 | |||
122 | $ hg tglog |
|
122 | $ hg tglog | |
123 | @ 3: 3d5fa227f4b5 'C' bookmarks: Y Z |
|
123 | @ 3: 3d5fa227f4b5 'C' bookmarks: Y Z | |
@@ -140,7 +140,7 b' Keep active bookmark on the correct chan' | |||||
140 | $ hg rebase -d W |
|
140 | $ hg rebase -d W | |
141 | rebasing 1:6c81ed0049f8 "B" (X) |
|
141 | rebasing 1:6c81ed0049f8 "B" (X) | |
142 | rebasing 2:49cb3485fa0c "C" (Y Z) |
|
142 | rebasing 2:49cb3485fa0c "C" (Y Z) | |
143 |
saved backup bundle to $TESTTMP/a3/.hg/strip-backup/6c81ed0049f8-a687065f-rebase.hg |
|
143 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/6c81ed0049f8-a687065f-rebase.hg | |
144 |
|
144 | |||
145 | $ hg tglog |
|
145 | $ hg tglog | |
146 | o 3: 3d5fa227f4b5 'C' bookmarks: Y Z |
|
146 | o 3: 3d5fa227f4b5 'C' bookmarks: Y Z | |
@@ -180,7 +180,7 b' rebase --continue with bookmarks present' | |||||
180 | continue: hg rebase --continue |
|
180 | continue: hg rebase --continue | |
181 | $ hg rebase --continue |
|
181 | $ hg rebase --continue | |
182 | rebasing 3:3d5fa227f4b5 "C" (Y Z) |
|
182 | rebasing 3:3d5fa227f4b5 "C" (Y Z) | |
183 |
saved backup bundle to $TESTTMP/a3/.hg/strip-backup/3d5fa227f4b5-c6ea2371-rebase.hg |
|
183 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/3d5fa227f4b5-c6ea2371-rebase.hg | |
184 | $ hg tglog |
|
184 | $ hg tglog | |
185 | @ 4: 45c0f0ec1203 'C' bookmarks: Y Z |
|
185 | @ 4: 45c0f0ec1203 'C' bookmarks: Y Z | |
186 | | |
|
186 | | | |
@@ -210,7 +210,7 b' as --rev arguments (issue3950)' | |||||
210 | rebasing 5:345c90f326a4 "bisect" |
|
210 | rebasing 5:345c90f326a4 "bisect" | |
211 | rebasing 6:f677a2907404 "bisect2" |
|
211 | rebasing 6:f677a2907404 "bisect2" | |
212 | rebasing 7:325c16001345 "bisect3" (bisect tip) |
|
212 | rebasing 7:325c16001345 "bisect3" (bisect tip) | |
213 |
saved backup bundle to $TESTTMP/a3/.hg/strip-backup/345c90f326a4-b4840586-rebase.hg |
|
213 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/345c90f326a4-b4840586-rebase.hg | |
214 |
|
214 | |||
215 | Bookmark and working parent get moved even if --keep is set (issue5682) |
|
215 | Bookmark and working parent get moved even if --keep is set (issue5682) | |
216 |
|
216 |
@@ -104,7 +104,7 b' Rebase part of branch2 (5-6) onto branch' | |||||
104 | $ hg rebase -s 5 -d 8 |
|
104 | $ hg rebase -s 5 -d 8 | |
105 | rebasing 5:635859577d0b "D" |
|
105 | rebasing 5:635859577d0b "D" | |
106 | rebasing 6:5097051d331d "E" |
|
106 | rebasing 6:5097051d331d "E" | |
107 |
saved backup bundle to $TESTTMP/a1/.hg/strip-backup/635859577d0b-89160bff-rebase.hg |
|
107 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/635859577d0b-89160bff-rebase.hg | |
108 |
|
108 | |||
109 | $ hg branches |
|
109 | $ hg branches | |
110 | branch3 8:466cdfb14b62 |
|
110 | branch3 8:466cdfb14b62 | |
@@ -166,7 +166,7 b' Rebase head of branch3 (8) onto branch2 ' | |||||
166 |
|
166 | |||
167 | $ hg rebase -s 8 -d 6 |
|
167 | $ hg rebase -s 8 -d 6 | |
168 | rebasing 8:4666b71e8e32 "F" (tip) |
|
168 | rebasing 8:4666b71e8e32 "F" (tip) | |
169 |
saved backup bundle to $TESTTMP/a2/.hg/strip-backup/4666b71e8e32-fc1c4e96-rebase.hg |
|
169 | saved backup bundle to $TESTTMP/a2/.hg/strip-backup/4666b71e8e32-fc1c4e96-rebase.hg | |
170 |
|
170 | |||
171 | $ hg branches |
|
171 | $ hg branches | |
172 | branch2 8:6b4bdc1b5ac0 |
|
172 | branch2 8:6b4bdc1b5ac0 | |
@@ -233,7 +233,7 b' Rebase entire branch3 (7-8) onto branch2' | |||||
233 | rebasing 7:653b9feb4616 "branch3" |
|
233 | rebasing 7:653b9feb4616 "branch3" | |
234 | note: rebase of 7:653b9feb4616 created no changes to commit |
|
234 | note: rebase of 7:653b9feb4616 created no changes to commit | |
235 | rebasing 8:4666b71e8e32 "F" (tip) |
|
235 | rebasing 8:4666b71e8e32 "F" (tip) | |
236 |
saved backup bundle to $TESTTMP/a3/.hg/strip-backup/653b9feb4616-3c88de16-rebase.hg |
|
236 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/653b9feb4616-3c88de16-rebase.hg | |
237 |
|
237 | |||
238 | $ hg branches |
|
238 | $ hg branches | |
239 | branch2 7:6b4bdc1b5ac0 |
|
239 | branch2 7:6b4bdc1b5ac0 | |
@@ -270,7 +270,7 b' update the branch cache.' | |||||
270 |
|
270 | |||
271 | $ hg strip 2 |
|
271 | $ hg strip 2 | |
272 | 0 files updated, 0 files merged, 4 files removed, 0 files unresolved |
|
272 | 0 files updated, 0 files merged, 4 files removed, 0 files unresolved | |
273 |
saved backup bundle to $TESTTMP/a3/.hg/strip-backup/0a03079c47fd-11b7c407-backup.hg |
|
273 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/0a03079c47fd-11b7c407-backup.hg | |
274 |
|
274 | |||
275 | $ hg tglog |
|
275 | $ hg tglog | |
276 | o 3: 'C' branch2 |
|
276 | o 3: 'C' branch2 | |
@@ -329,7 +329,7 b' the same as branches remaining.' | |||||
329 |
|
329 | |||
330 | $ hg strip 2 |
|
330 | $ hg strip 2 | |
331 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
331 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
332 |
saved backup bundle to $TESTTMP/a3/b/.hg/strip-backup/a5b4b27ed7b4-a3b6984e-backup.hg |
|
332 | saved backup bundle to $TESTTMP/a3/b/.hg/strip-backup/a5b4b27ed7b4-a3b6984e-backup.hg | |
333 |
|
333 | |||
334 | $ hg theads |
|
334 | $ hg theads | |
335 | 1: 'branch2' branch2 |
|
335 | 1: 'branch2' branch2 | |
@@ -374,14 +374,14 b' Try both orders.' | |||||
374 |
|
374 | |||
375 | $ hg strip 3 4 |
|
375 | $ hg strip 3 4 | |
376 | 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
376 | 0 files updated, 0 files merged, 2 files removed, 0 files unresolved | |
377 |
saved backup bundle to $TESTTMP/a3/c/.hg/strip-backup/67a385d4e6f2-b9243789-backup.hg |
|
377 | saved backup bundle to $TESTTMP/a3/c/.hg/strip-backup/67a385d4e6f2-b9243789-backup.hg | |
378 |
|
378 | |||
379 | $ hg theads |
|
379 | $ hg theads | |
380 | 2: 'C' |
|
380 | 2: 'C' | |
381 |
|
381 | |||
382 | $ hg strip 2 1 |
|
382 | $ hg strip 2 1 | |
383 | 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
383 | 0 files updated, 0 files merged, 2 files removed, 0 files unresolved | |
384 |
saved backup bundle to $TESTTMP/a3/c/.hg/strip-backup/6c81ed0049f8-a687065f-backup.hg |
|
384 | saved backup bundle to $TESTTMP/a3/c/.hg/strip-backup/6c81ed0049f8-a687065f-backup.hg | |
385 |
|
385 | |||
386 | $ hg theads |
|
386 | $ hg theads | |
387 | 0: 'A' |
|
387 | 0: 'A' | |
@@ -480,4 +480,4 b' Turn most changeset public' | |||||
480 | HGEDITFORM=rebase.merge |
|
480 | HGEDITFORM=rebase.merge | |
481 | rebasing 8:326cfedc031c "I" (tip) |
|
481 | rebasing 8:326cfedc031c "I" (tip) | |
482 | HGEDITFORM=rebase.normal |
|
482 | HGEDITFORM=rebase.normal | |
483 |
saved backup bundle to $TESTTMP/a3/c4/.hg/strip-backup/361a99976cc9-35e980d0-rebase.hg |
|
483 | saved backup bundle to $TESTTMP/a3/c4/.hg/strip-backup/361a99976cc9-35e980d0-rebase.hg |
@@ -138,7 +138,7 b' Solve the conflict and go on:' | |||||
138 | continue: hg rebase --continue |
|
138 | continue: hg rebase --continue | |
139 | $ hg rebase --continue |
|
139 | $ hg rebase --continue | |
140 | rebasing 5:01e6ebbd8272 "F" (tip) |
|
140 | rebasing 5:01e6ebbd8272 "F" (tip) | |
141 |
saved backup bundle to $TESTTMP/a2/.hg/strip-backup/01e6ebbd8272-6fd3a015-rebase.hg |
|
141 | saved backup bundle to $TESTTMP/a2/.hg/strip-backup/01e6ebbd8272-6fd3a015-rebase.hg | |
142 |
|
142 | |||
143 | $ hg tglog |
|
143 | $ hg tglog | |
144 | @ 5:draft 'F' notdefault |
|
144 | @ 5:draft 'F' notdefault |
@@ -79,7 +79,7 b' Rebasing B onto H and collapsing changes' | |||||
79 | HG: added C |
|
79 | HG: added C | |
80 | HG: added D |
|
80 | HG: added D | |
81 | ==== |
|
81 | ==== | |
82 |
saved backup bundle to $TESTTMP/a1/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg |
|
82 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg | |
83 |
|
83 | |||
84 | $ hg tglogp |
|
84 | $ hg tglogp | |
85 | @ 5: 30882080ba93 secret 'Collapsed revision |
|
85 | @ 5: 30882080ba93 secret 'Collapsed revision | |
@@ -119,7 +119,7 b' Rebasing E onto H:' | |||||
119 | $ hg rebase --source 4 --collapse --dest 7 |
|
119 | $ hg rebase --source 4 --collapse --dest 7 | |
120 | rebasing 4:9520eea781bc "E" |
|
120 | rebasing 4:9520eea781bc "E" | |
121 | rebasing 6:eea13746799a "G" |
|
121 | rebasing 6:eea13746799a "G" | |
122 |
saved backup bundle to $TESTTMP/a2/.hg/strip-backup/9520eea781bc-fcd8edd4-rebase.hg |
|
122 | saved backup bundle to $TESTTMP/a2/.hg/strip-backup/9520eea781bc-fcd8edd4-rebase.hg | |
123 |
|
123 | |||
124 | $ hg tglog |
|
124 | $ hg tglog | |
125 | o 6: 7dd333a2d1e4 'Collapsed revision |
|
125 | o 6: 7dd333a2d1e4 'Collapsed revision | |
@@ -162,7 +162,7 b' Rebasing G onto H with custom message:' | |||||
162 | rebasing 4:9520eea781bc "E" |
|
162 | rebasing 4:9520eea781bc "E" | |
163 | rebasing 6:eea13746799a "G" |
|
163 | rebasing 6:eea13746799a "G" | |
164 | HGEDITFORM=rebase.collapse |
|
164 | HGEDITFORM=rebase.collapse | |
165 |
saved backup bundle to $TESTTMP/a3/.hg/strip-backup/9520eea781bc-fcd8edd4-rebase.hg |
|
165 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/9520eea781bc-fcd8edd4-rebase.hg | |
166 |
|
166 | |||
167 | $ hg tglog |
|
167 | $ hg tglog | |
168 | o 6: 38ed6a6b026b 'custom message' |
|
168 | o 6: 38ed6a6b026b 'custom message' | |
@@ -272,7 +272,7 b' Rebase and collapse - E onto H:' | |||||
272 | rebasing 4:8a5212ebc852 "E" |
|
272 | rebasing 4:8a5212ebc852 "E" | |
273 | rebasing 5:7f219660301f "F" |
|
273 | rebasing 5:7f219660301f "F" | |
274 | rebasing 6:c772a8b2dc17 "G" |
|
274 | rebasing 6:c772a8b2dc17 "G" | |
275 |
saved backup bundle to $TESTTMP/b1/.hg/strip-backup/8a5212ebc852-75046b61-rebase.hg |
|
275 | saved backup bundle to $TESTTMP/b1/.hg/strip-backup/8a5212ebc852-75046b61-rebase.hg | |
276 |
|
276 | |||
277 | $ hg tglog |
|
277 | $ hg tglog | |
278 | o 5: f97c4725bd99 'Collapsed revision |
|
278 | o 5: f97c4725bd99 'Collapsed revision | |
@@ -321,7 +321,7 b' We keep it the test this way in case new' | |||||
321 | c65502d4178782309ce0574c5ae6ee9485a9bafa o default |
|
321 | c65502d4178782309ce0574c5ae6ee9485a9bafa o default | |
322 |
|
322 | |||
323 | $ hg strip 4 |
|
323 | $ hg strip 4 | |
324 |
saved backup bundle to $TESTTMP/b2/.hg/strip-backup/8a5212ebc852-75046b61-backup.hg |
|
324 | saved backup bundle to $TESTTMP/b2/.hg/strip-backup/8a5212ebc852-75046b61-backup.hg | |
325 |
|
325 | |||
326 | $ cat $TESTTMP/b2/.hg/cache/branch2-served |
|
326 | $ cat $TESTTMP/b2/.hg/cache/branch2-served | |
327 | c65502d4178782309ce0574c5ae6ee9485a9bafa 4 |
|
327 | c65502d4178782309ce0574c5ae6ee9485a9bafa 4 | |
@@ -425,7 +425,7 b' Rebase and collapse - E onto I:' | |||||
425 | merging E |
|
425 | merging E | |
426 | rebasing 6:55a44ad28289 "G" |
|
426 | rebasing 6:55a44ad28289 "G" | |
427 | rebasing 7:417d3b648079 "H" |
|
427 | rebasing 7:417d3b648079 "H" | |
428 |
saved backup bundle to $TESTTMP/c1/.hg/strip-backup/8a5212ebc852-f95d0879-rebase.hg |
|
428 | saved backup bundle to $TESTTMP/c1/.hg/strip-backup/8a5212ebc852-f95d0879-rebase.hg | |
429 |
|
429 | |||
430 | $ hg tglog |
|
430 | $ hg tglog | |
431 | o 5: 340b34a63b39 'Collapsed revision |
|
431 | o 5: 340b34a63b39 'Collapsed revision | |
@@ -518,7 +518,7 b' Rebase and collapse - B onto F:' | |||||
518 | rebasing 2:f838bfaca5c7 "C" |
|
518 | rebasing 2:f838bfaca5c7 "C" | |
519 | rebasing 3:7bbcd6078bcc "D" |
|
519 | rebasing 3:7bbcd6078bcc "D" | |
520 | rebasing 4:0a42590ed746 "E" |
|
520 | rebasing 4:0a42590ed746 "E" | |
521 |
saved backup bundle to $TESTTMP/d1/.hg/strip-backup/27547f69f254-9a3f7d92-rebase.hg |
|
521 | saved backup bundle to $TESTTMP/d1/.hg/strip-backup/27547f69f254-9a3f7d92-rebase.hg | |
522 |
|
522 | |||
523 | $ hg tglog |
|
523 | $ hg tglog | |
524 | o 2: b72eaccb283f 'Collapsed revision |
|
524 | o 2: b72eaccb283f 'Collapsed revision | |
@@ -603,7 +603,7 b' Interactions between collapse and keepbr' | |||||
603 | $ hg rebase -s 5 -d 4 |
|
603 | $ hg rebase -s 5 -d 4 | |
604 | rebasing 5:fbfb97b1089a "E" (tip) |
|
604 | rebasing 5:fbfb97b1089a "E" (tip) | |
605 | note: rebase of 5:fbfb97b1089a created no changes to commit |
|
605 | note: rebase of 5:fbfb97b1089a created no changes to commit | |
606 |
saved backup bundle to $TESTTMP/e/.hg/strip-backup/fbfb97b1089a-553e1d85-rebase.hg |
|
606 | saved backup bundle to $TESTTMP/e/.hg/strip-backup/fbfb97b1089a-553e1d85-rebase.hg | |
607 | $ hg tglog |
|
607 | $ hg tglog | |
608 | @ 4: f338eb3c2c7c 'E' |
|
608 | @ 4: f338eb3c2c7c 'E' | |
609 | | |
|
609 | | | |
@@ -662,7 +662,7 b' Rebase, collapse and copies' | |||||
662 | rebasing 3:338e84e2e558 "move2" (tip) |
|
662 | rebasing 3:338e84e2e558 "move2" (tip) | |
663 | merging f and c to c |
|
663 | merging f and c to c | |
664 | merging e and g to g |
|
664 | merging e and g to g | |
665 |
saved backup bundle to $TESTTMP/copies/.hg/strip-backup/6e7340ee38c0-ef8ef003-rebase.hg |
|
665 | saved backup bundle to $TESTTMP/copies/.hg/strip-backup/6e7340ee38c0-ef8ef003-rebase.hg | |
666 | $ hg st |
|
666 | $ hg st | |
667 | $ hg st --copies --change tip |
|
667 | $ hg st --copies --change tip | |
668 | A d |
|
668 | A d | |
@@ -703,7 +703,7 b' Test collapsing in place' | |||||
703 | $ hg rebase --collapse -b . -d 0 |
|
703 | $ hg rebase --collapse -b . -d 0 | |
704 | rebasing 1:1352765a01d4 "change" |
|
704 | rebasing 1:1352765a01d4 "change" | |
705 | rebasing 2:64b456429f67 "Collapsed revision" (tip) |
|
705 | rebasing 2:64b456429f67 "Collapsed revision" (tip) | |
706 |
saved backup bundle to $TESTTMP/copies/.hg/strip-backup/1352765a01d4-45a352ea-rebase.hg |
|
706 | saved backup bundle to $TESTTMP/copies/.hg/strip-backup/1352765a01d4-45a352ea-rebase.hg | |
707 | $ hg st --change tip --copies |
|
707 | $ hg st --change tip --copies | |
708 | M a |
|
708 | M a | |
709 | M c |
|
709 | M c | |
@@ -762,7 +762,7 b' Test stripping a revision with another c' | |||||
762 |
|
762 | |||
763 | $ hg strip 2 |
|
763 | $ hg strip 2 | |
764 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
764 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
765 |
saved backup bundle to $TESTTMP/f/.hg/strip-backup/c5cefa58fd55-629429f4-backup.hg |
|
765 | saved backup bundle to $TESTTMP/f/.hg/strip-backup/c5cefa58fd55-629429f4-backup.hg | |
766 |
|
766 | |||
767 | $ hg tglog |
|
767 | $ hg tglog | |
768 | o 1: 27547f69f254 'B' |
|
768 | o 1: 27547f69f254 'B' | |
@@ -795,7 +795,7 b' Test collapsing changes that add then re' | |||||
795 | $ hg rebase -d 0 -r "1::2" --collapse -m collapsed |
|
795 | $ hg rebase -d 0 -r "1::2" --collapse -m collapsed | |
796 | rebasing 1:6d8d9f24eec3 "a" |
|
796 | rebasing 1:6d8d9f24eec3 "a" | |
797 | rebasing 2:1cc73eca5ecc "b" (foo tip) |
|
797 | rebasing 2:1cc73eca5ecc "b" (foo tip) | |
798 |
saved backup bundle to $TESTTMP/collapseaddremove/.hg/strip-backup/6d8d9f24eec3-77d3b6e2-rebase.hg |
|
798 | saved backup bundle to $TESTTMP/collapseaddremove/.hg/strip-backup/6d8d9f24eec3-77d3b6e2-rebase.hg | |
799 | $ hg log -G --template "{rev}: '{desc}' {bookmarks}" |
|
799 | $ hg log -G --template "{rev}: '{desc}' {bookmarks}" | |
800 | @ 1: 'collapsed' foo |
|
800 | @ 1: 'collapsed' foo | |
801 | | |
|
801 | | | |
@@ -836,7 +836,7 b' running into merge conflict and invoking' | |||||
836 | continue: hg rebase --continue |
|
836 | continue: hg rebase --continue | |
837 | $ hg rebase --continue |
|
837 | $ hg rebase --continue | |
838 | rebasing 2:b8d8db2b242d "a-dev" (tip) |
|
838 | rebasing 2:b8d8db2b242d "a-dev" (tip) | |
839 |
saved backup bundle to $TESTTMP/collapse_remember_message/.hg/strip-backup/b8d8db2b242d-f474c19a-rebase.hg |
|
839 | saved backup bundle to $TESTTMP/collapse_remember_message/.hg/strip-backup/b8d8db2b242d-f474c19a-rebase.hg | |
840 | $ hg log |
|
840 | $ hg log | |
841 | changeset: 2:45ba1d1a8665 |
|
841 | changeset: 2:45ba1d1a8665 | |
842 | tag: tip |
|
842 | tag: tip |
@@ -102,7 +102,7 b' Conclude rebase:' | |||||
102 | already rebased 3:3163e20567cc "L1" as 3e046f2ecedb |
|
102 | already rebased 3:3163e20567cc "L1" as 3e046f2ecedb | |
103 | rebasing 4:46f0b057b5c0 "L2" |
|
103 | rebasing 4:46f0b057b5c0 "L2" | |
104 | rebasing 5:8029388f38dc "L3" (mybook) |
|
104 | rebasing 5:8029388f38dc "L3" (mybook) | |
105 |
saved backup bundle to $TESTTMP/a/.hg/strip-backup/3163e20567cc-5ca4656e-rebase.hg |
|
105 | saved backup bundle to $TESTTMP/a/.hg/strip-backup/3163e20567cc-5ca4656e-rebase.hg | |
106 |
|
106 | |||
107 | $ hg tglog |
|
107 | $ hg tglog | |
108 | @ 5:secret 'L3' mybook |
|
108 | @ 5:secret 'L3' mybook | |
@@ -300,7 +300,7 b' Check that the right ancestors is used w' | |||||
300 | bundle2-output-bundle: "HG20", (1 params) 2 parts total |
|
300 | bundle2-output-bundle: "HG20", (1 params) 2 parts total | |
301 | bundle2-output-part: "changegroup" (params: 1 mandatory 1 advisory) streamed payload |
|
301 | bundle2-output-part: "changegroup" (params: 1 mandatory 1 advisory) streamed payload | |
302 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
302 | bundle2-output-part: "phase-heads" 24 bytes payload | |
303 |
saved backup bundle to $TESTTMP/issue4041/.hg/strip-backup/e31216eec445-15f7a814-rebase.hg |
|
303 | saved backup bundle to $TESTTMP/issue4041/.hg/strip-backup/e31216eec445-15f7a814-rebase.hg | |
304 | 3 changesets found |
|
304 | 3 changesets found | |
305 | list of changesets: |
|
305 | list of changesets: | |
306 | 4c9fbe56a16f30c0d5dcc40ec1a97bbe3325209c |
|
306 | 4c9fbe56a16f30c0d5dcc40ec1a97bbe3325209c | |
@@ -413,7 +413,7 b' Test rebase with obsstore turned on and ' | |||||
413 | rebasing 1:112478962961 "B" (B) |
|
413 | rebasing 1:112478962961 "B" (B) | |
414 | rebasing 3:f585351a92f8 "D" (D) |
|
414 | rebasing 3:f585351a92f8 "D" (D) | |
415 | warning: orphaned descendants detected, not stripping 112478962961 |
|
415 | warning: orphaned descendants detected, not stripping 112478962961 | |
416 |
saved backup bundle to $TESTTMP/b/.hg/strip-backup/f585351a92f8-e536a9e4-rebase.hg |
|
416 | saved backup bundle to $TESTTMP/b/.hg/strip-backup/f585351a92f8-e536a9e4-rebase.hg | |
417 |
|
417 | |||
418 | $ rm .hg/localtags |
|
418 | $ rm .hg/localtags | |
419 | $ hg tglog |
|
419 | $ hg tglog |
@@ -21,15 +21,15 b' Require a destination' | |||||
21 | [255] |
|
21 | [255] | |
22 | $ hg rebase -d 1 |
|
22 | $ hg rebase -d 1 | |
23 | rebasing 2:5db65b93a12b "cc" (tip) |
|
23 | rebasing 2:5db65b93a12b "cc" (tip) | |
24 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/5db65b93a12b-4fb789ec-rebase.hg |
|
24 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/5db65b93a12b-4fb789ec-rebase.hg | |
25 | $ hg rebase -d 0 -r . -q |
|
25 | $ hg rebase -d 0 -r . -q | |
26 | $ HGPLAIN=1 hg rebase |
|
26 | $ HGPLAIN=1 hg rebase | |
27 | rebasing 2:889b0bc6a730 "cc" (tip) |
|
27 | rebasing 2:889b0bc6a730 "cc" (tip) | |
28 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/889b0bc6a730-41ec4f81-rebase.hg |
|
28 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/889b0bc6a730-41ec4f81-rebase.hg | |
29 | $ hg rebase -d 0 -r . -q |
|
29 | $ hg rebase -d 0 -r . -q | |
30 | $ hg --config commands.rebase.requiredest=False rebase |
|
30 | $ hg --config commands.rebase.requiredest=False rebase | |
31 | rebasing 2:279de9495438 "cc" (tip) |
|
31 | rebasing 2:279de9495438 "cc" (tip) | |
32 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/279de9495438-ab0a5128-rebase.hg |
|
32 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/279de9495438-ab0a5128-rebase.hg | |
33 |
|
33 | |||
34 | Requiring dest should not break continue or other rebase options |
|
34 | Requiring dest should not break continue or other rebase options | |
35 | $ hg up 1 -q |
|
35 | $ hg up 1 -q | |
@@ -56,7 +56,7 b' Requiring dest should not break continue' | |||||
56 | continue: hg rebase --continue |
|
56 | continue: hg rebase --continue | |
57 | $ hg rebase --continue |
|
57 | $ hg rebase --continue | |
58 | rebasing 3:0537f6b50def "dc" (tip) |
|
58 | rebasing 3:0537f6b50def "dc" (tip) | |
59 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/0537f6b50def-be4c7386-rebase.hg |
|
59 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/0537f6b50def-be4c7386-rebase.hg | |
60 |
|
60 | |||
61 | $ cd .. |
|
61 | $ cd .. | |
62 |
|
62 |
@@ -25,7 +25,7 b' Rebasing D onto B detaching from C (one ' | |||||
25 |
|
25 | |||
26 | $ hg rebase -s D -d B |
|
26 | $ hg rebase -s D -d B | |
27 | rebasing 3:e7b3f00ed42e "D" (D tip) |
|
27 | rebasing 3:e7b3f00ed42e "D" (D tip) | |
28 |
saved backup bundle to $TESTTMP/a1/.hg/strip-backup/e7b3f00ed42e-6f368371-rebase.hg |
|
28 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/e7b3f00ed42e-6f368371-rebase.hg | |
29 |
|
29 | |||
30 | $ hg log -G --template "{rev}:{phase} '{desc}' {branches}\n" |
|
30 | $ hg log -G --template "{rev}:{phase} '{desc}' {branches}\n" | |
31 | o 3:secret 'D' |
|
31 | o 3:secret 'D' | |
@@ -62,7 +62,7 b' Rebasing D onto B detaching from C (two ' | |||||
62 | $ hg rebase -s D -d B |
|
62 | $ hg rebase -s D -d B | |
63 | rebasing 3:e7b3f00ed42e "D" (D) |
|
63 | rebasing 3:e7b3f00ed42e "D" (D) | |
64 | rebasing 4:69a34c08022a "E" (E tip) |
|
64 | rebasing 4:69a34c08022a "E" (E tip) | |
65 |
saved backup bundle to $TESTTMP/a2/.hg/strip-backup/e7b3f00ed42e-a2ec7cea-rebase.hg |
|
65 | saved backup bundle to $TESTTMP/a2/.hg/strip-backup/e7b3f00ed42e-a2ec7cea-rebase.hg | |
66 |
|
66 | |||
67 | $ hg tglog |
|
67 | $ hg tglog | |
68 | o 4: ee79e0744528 'E' |
|
68 | o 4: ee79e0744528 'E' | |
@@ -99,7 +99,7 b' Rebasing C onto B using detach (same as ' | |||||
99 | $ hg rebase -s C -d B |
|
99 | $ hg rebase -s C -d B | |
100 | rebasing 2:dc0947a82db8 "C" (C) |
|
100 | rebasing 2:dc0947a82db8 "C" (C) | |
101 | rebasing 3:e7b3f00ed42e "D" (D tip) |
|
101 | rebasing 3:e7b3f00ed42e "D" (D tip) | |
102 |
saved backup bundle to $TESTTMP/a3/.hg/strip-backup/dc0947a82db8-b8481714-rebase.hg |
|
102 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/dc0947a82db8-b8481714-rebase.hg | |
103 |
|
103 | |||
104 | $ hg tglog |
|
104 | $ hg tglog | |
105 | o 3: 7375f3dbfb0f 'D' |
|
105 | o 3: 7375f3dbfb0f 'D' | |
@@ -138,7 +138,7 b' Rebasing D onto B detaching from C and c' | |||||
138 | $ hg rebase --collapse -s D -d B |
|
138 | $ hg rebase --collapse -s D -d B | |
139 | rebasing 3:e7b3f00ed42e "D" (D) |
|
139 | rebasing 3:e7b3f00ed42e "D" (D) | |
140 | rebasing 4:69a34c08022a "E" (E tip) |
|
140 | rebasing 4:69a34c08022a "E" (E tip) | |
141 |
saved backup bundle to $TESTTMP/a4/.hg/strip-backup/e7b3f00ed42e-a2ec7cea-rebase.hg |
|
141 | saved backup bundle to $TESTTMP/a4/.hg/strip-backup/e7b3f00ed42e-a2ec7cea-rebase.hg | |
142 |
|
142 | |||
143 | $ hg log -G --template "{rev}:{phase} '{desc}' {branches}\n" |
|
143 | $ hg log -G --template "{rev}:{phase} '{desc}' {branches}\n" | |
144 | o 3:secret 'Collapsed revision |
|
144 | o 3:secret 'Collapsed revision | |
@@ -176,7 +176,7 b' Rebasing across null as ancestor' | |||||
176 | rebasing 2:dc0947a82db8 "C" (C) |
|
176 | rebasing 2:dc0947a82db8 "C" (C) | |
177 | rebasing 3:e7b3f00ed42e "D" (D) |
|
177 | rebasing 3:e7b3f00ed42e "D" (D) | |
178 | rebasing 4:69a34c08022a "E" (E tip) |
|
178 | rebasing 4:69a34c08022a "E" (E tip) | |
179 |
saved backup bundle to $TESTTMP/a5/.hg/strip-backup/dc0947a82db8-3eefec98-rebase.hg |
|
179 | saved backup bundle to $TESTTMP/a5/.hg/strip-backup/dc0947a82db8-3eefec98-rebase.hg | |
180 |
|
180 | |||
181 | $ hg tglog |
|
181 | $ hg tglog | |
182 | o 4: e3d0c70d606d 'E' |
|
182 | o 4: e3d0c70d606d 'E' | |
@@ -192,7 +192,7 b' Rebasing across null as ancestor' | |||||
192 | $ hg rebase -d 1 -s 3 |
|
192 | $ hg rebase -d 1 -s 3 | |
193 | rebasing 3:e9153d36a1af "D" |
|
193 | rebasing 3:e9153d36a1af "D" | |
194 | rebasing 4:e3d0c70d606d "E" (tip) |
|
194 | rebasing 4:e3d0c70d606d "E" (tip) | |
195 |
saved backup bundle to $TESTTMP/a5/.hg/strip-backup/e9153d36a1af-db7388ed-rebase.hg |
|
195 | saved backup bundle to $TESTTMP/a5/.hg/strip-backup/e9153d36a1af-db7388ed-rebase.hg | |
196 | $ hg tglog |
|
196 | $ hg tglog | |
197 | o 4: 2c24e540eccd 'E' |
|
197 | o 4: 2c24e540eccd 'E' | |
198 | | |
|
198 | | | |
@@ -251,7 +251,7 b' Verify that target is not selected as ex' | |||||
251 | rebasing 5:b92d164ad3cb "I" (I) |
|
251 | rebasing 5:b92d164ad3cb "I" (I) | |
252 | rebasing 6:0cfbc7e8faaf "Merge" |
|
252 | rebasing 6:0cfbc7e8faaf "Merge" | |
253 | rebasing 7:c6aaf0d259c0 "J" (tip) |
|
253 | rebasing 7:c6aaf0d259c0 "J" (tip) | |
254 |
saved backup bundle to $TESTTMP/a6/.hg/strip-backup/b92d164ad3cb-88fd7ab7-rebase.hg |
|
254 | saved backup bundle to $TESTTMP/a6/.hg/strip-backup/b92d164ad3cb-88fd7ab7-rebase.hg | |
255 |
|
255 | |||
256 | $ hg tglog |
|
256 | $ hg tglog | |
257 | @ 5: 65079693dac4 'Collapsed revision |
|
257 | @ 5: 65079693dac4 'Collapsed revision | |
@@ -305,7 +305,7 b' Ensure --continue restores a correct sta' | |||||
305 | $ hg rebase -c |
|
305 | $ hg rebase -c | |
306 | rebasing 3:17b4880d2402 "B2" (tip) |
|
306 | rebasing 3:17b4880d2402 "B2" (tip) | |
307 | note: rebase of 3:17b4880d2402 created no changes to commit |
|
307 | note: rebase of 3:17b4880d2402 created no changes to commit | |
308 |
saved backup bundle to $TESTTMP/a7/.hg/strip-backup/17b4880d2402-1ae1f6cc-rebase.hg |
|
308 | saved backup bundle to $TESTTMP/a7/.hg/strip-backup/17b4880d2402-1ae1f6cc-rebase.hg | |
309 | $ hg log -G --template "{rev}:{phase} '{desc}' {branches}\n" |
|
309 | $ hg log -G --template "{rev}:{phase} '{desc}' {branches}\n" | |
310 | o 2:draft 'C' |
|
310 | o 2:draft 'C' | |
311 | | |
|
311 | | |
@@ -88,7 +88,7 b' still introduced by an ancestor of chang' | |||||
88 | rebasing 4:69a34c08022a "E" (BOOK-E) |
|
88 | rebasing 4:69a34c08022a "E" (BOOK-E) | |
89 | note: rebase of 4:69a34c08022a created no changes to commit |
|
89 | note: rebase of 4:69a34c08022a created no changes to commit | |
90 | rebasing 5:6b2aeab91270 "F" (BOOK-F F) |
|
90 | rebasing 5:6b2aeab91270 "F" (BOOK-F F) | |
91 |
saved backup bundle to $TESTTMP/non-merge/.hg/strip-backup/dc0947a82db8-52bb4973-rebase.hg |
|
91 | saved backup bundle to $TESTTMP/non-merge/.hg/strip-backup/dc0947a82db8-52bb4973-rebase.hg | |
92 | $ hg log -G -T '{rev} {desc} {bookmarks}' |
|
92 | $ hg log -G -T '{rev} {desc} {bookmarks}' | |
93 | o 5 F BOOK-F |
|
93 | o 5 F BOOK-F | |
94 | | |
|
94 | | | |
@@ -136,7 +136,7 b' Merge and its ancestors all become empty' | |||||
136 | note: rebase of 3:b18e25de2cf5 created no changes to commit |
|
136 | note: rebase of 3:b18e25de2cf5 created no changes to commit | |
137 | rebasing 4:86a1f6686812 "E" (BOOK-E E) |
|
137 | rebasing 4:86a1f6686812 "E" (BOOK-E E) | |
138 | note: rebase of 4:86a1f6686812 created no changes to commit |
|
138 | note: rebase of 4:86a1f6686812 created no changes to commit | |
139 |
saved backup bundle to $TESTTMP/merge1/.hg/strip-backup/b18e25de2cf5-1fd0a4ba-rebase.hg |
|
139 | saved backup bundle to $TESTTMP/merge1/.hg/strip-backup/b18e25de2cf5-1fd0a4ba-rebase.hg | |
140 |
|
140 | |||
141 | $ hg log -G -T '{rev} {desc} {bookmarks}' |
|
141 | $ hg log -G -T '{rev} {desc} {bookmarks}' | |
142 | o 4 H BOOK-C BOOK-D BOOK-E |
|
142 | o 4 H BOOK-C BOOK-D BOOK-E | |
@@ -186,7 +186,7 b' Part of ancestors of a merge become empt' | |||||
186 | rebasing 5:ad6717a6a58e "F" (BOOK-F) |
|
186 | rebasing 5:ad6717a6a58e "F" (BOOK-F) | |
187 | note: rebase of 5:ad6717a6a58e created no changes to commit |
|
187 | note: rebase of 5:ad6717a6a58e created no changes to commit | |
188 | rebasing 6:c58e8bdac1f4 "G" (BOOK-G G) |
|
188 | rebasing 6:c58e8bdac1f4 "G" (BOOK-G G) | |
189 |
saved backup bundle to $TESTTMP/merge2/.hg/strip-backup/b18e25de2cf5-2d487005-rebase.hg |
|
189 | saved backup bundle to $TESTTMP/merge2/.hg/strip-backup/b18e25de2cf5-2d487005-rebase.hg | |
190 |
|
190 | |||
191 | $ hg log -G -T '{rev} {desc} {bookmarks}' |
|
191 | $ hg log -G -T '{rev} {desc} {bookmarks}' | |
192 | o 7 G BOOK-G |
|
192 | o 7 G BOOK-G |
@@ -311,7 +311,7 b' Test rebase interrupted by hooks' | |||||
311 | $ hg rebase --continue |
|
311 | $ hg rebase --continue | |
312 | already rebased 2:965c486023db "C" as 401ccec5e39f |
|
312 | already rebased 2:965c486023db "C" as 401ccec5e39f | |
313 | rebasing 6:a0b2430ebfb8 "F" |
|
313 | rebasing 6:a0b2430ebfb8 "F" | |
314 |
saved backup bundle to $TESTTMP/hook-precommit/.hg/strip-backup/965c486023db-aa6250e7-rebase.hg |
|
314 | saved backup bundle to $TESTTMP/hook-precommit/.hg/strip-backup/965c486023db-aa6250e7-rebase.hg | |
315 | $ hg tglogp |
|
315 | $ hg tglogp | |
316 | @ 6: 6e92a149ac6b secret 'F' |
|
316 | @ 6: 6e92a149ac6b secret 'F' | |
317 | | |
|
317 | | | |
@@ -366,7 +366,7 b' Test rebase interrupted by hooks' | |||||
366 | $ hg rebase --continue |
|
366 | $ hg rebase --continue | |
367 | already rebased 2:965c486023db "C" as 401ccec5e39f |
|
367 | already rebased 2:965c486023db "C" as 401ccec5e39f | |
368 | rebasing 6:a0b2430ebfb8 "F" |
|
368 | rebasing 6:a0b2430ebfb8 "F" | |
369 |
saved backup bundle to $TESTTMP/hook-pretxncommit/.hg/strip-backup/965c486023db-aa6250e7-rebase.hg |
|
369 | saved backup bundle to $TESTTMP/hook-pretxncommit/.hg/strip-backup/965c486023db-aa6250e7-rebase.hg | |
370 | $ hg tglogp |
|
370 | $ hg tglogp | |
371 | @ 6: 6e92a149ac6b secret 'F' |
|
371 | @ 6: 6e92a149ac6b secret 'F' | |
372 | | |
|
372 | | | |
@@ -416,7 +416,7 b' Test rebase interrupted by hooks' | |||||
416 | $ hg rebase --continue |
|
416 | $ hg rebase --continue | |
417 | already rebased 2:965c486023db "C" as 401ccec5e39f |
|
417 | already rebased 2:965c486023db "C" as 401ccec5e39f | |
418 | rebasing 6:a0b2430ebfb8 "F" |
|
418 | rebasing 6:a0b2430ebfb8 "F" | |
419 |
saved backup bundle to $TESTTMP/hook-pretxnclose/.hg/strip-backup/965c486023db-aa6250e7-rebase.hg |
|
419 | saved backup bundle to $TESTTMP/hook-pretxnclose/.hg/strip-backup/965c486023db-aa6250e7-rebase.hg | |
420 | $ hg tglogp |
|
420 | $ hg tglogp | |
421 | @ 6: 6e92a149ac6b secret 'F' |
|
421 | @ 6: 6e92a149ac6b secret 'F' | |
422 | | |
|
422 | | | |
@@ -459,7 +459,7 b' Make sure merge state is cleaned up afte' | |||||
459 | $ hg rebase --continue |
|
459 | $ hg rebase --continue | |
460 | rebasing 1:fdaca8533b86 "b" |
|
460 | rebasing 1:fdaca8533b86 "b" | |
461 | note: rebase of 1:fdaca8533b86 created no changes to commit |
|
461 | note: rebase of 1:fdaca8533b86 created no changes to commit | |
462 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/fdaca8533b86-7fd70513-rebase.hg |
|
462 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/fdaca8533b86-7fd70513-rebase.hg | |
463 | $ hg resolve --list |
|
463 | $ hg resolve --list | |
464 | $ test -f .hg/merge |
|
464 | $ test -f .hg/merge | |
465 | [1] |
|
465 | [1] |
@@ -53,7 +53,7 b' Rebase with no arguments - single revisi' | |||||
53 |
|
53 | |||
54 | $ hg rebase |
|
54 | $ hg rebase | |
55 | rebasing 2:87c180a611f2 "l1" |
|
55 | rebasing 2:87c180a611f2 "l1" | |
56 |
saved backup bundle to $TESTTMP/a/.hg/strip-backup/87c180a611f2-a5be192d-rebase.hg |
|
56 | saved backup bundle to $TESTTMP/a/.hg/strip-backup/87c180a611f2-a5be192d-rebase.hg | |
57 |
|
57 | |||
58 | $ hg tglog |
|
58 | $ hg tglog | |
59 | @ 4: b1152cc99655 'l1' |
|
59 | @ 4: b1152cc99655 'l1' | |
@@ -113,7 +113,7 b' Rebase with no arguments - single revisi' | |||||
113 | $ hg rebase |
|
113 | $ hg rebase | |
114 | rebasing 2:87c180a611f2 "l1" |
|
114 | rebasing 2:87c180a611f2 "l1" | |
115 | rebasing 3:1ac923b736ef "l2" |
|
115 | rebasing 3:1ac923b736ef "l2" | |
116 |
saved backup bundle to $TESTTMP/b/.hg/strip-backup/87c180a611f2-b980535c-rebase.hg |
|
116 | saved backup bundle to $TESTTMP/b/.hg/strip-backup/87c180a611f2-b980535c-rebase.hg | |
117 |
|
117 | |||
118 | $ hg tglog |
|
118 | $ hg tglog | |
119 | @ 4: 023181307ed0 'l2' |
|
119 | @ 4: 023181307ed0 'l2' |
@@ -47,7 +47,7 b' rebasestate generated by a legacy client' | |||||
47 | rebasing 7:d2fa1c02b240 "G" (G) |
|
47 | rebasing 7:d2fa1c02b240 "G" (G) | |
48 | rebasing 9:6582e6951a9c "H" (H tip) |
|
48 | rebasing 9:6582e6951a9c "H" (H tip) | |
49 | warning: orphaned descendants detected, not stripping c1e6b162678d, de008c61a447 |
|
49 | warning: orphaned descendants detected, not stripping c1e6b162678d, de008c61a447 | |
50 |
saved backup bundle to $TESTTMP/.hg/strip-backup/6f7a236de685-9880a3dc-rebase.hg |
|
50 | saved backup bundle to $TESTTMP/.hg/strip-backup/6f7a236de685-9880a3dc-rebase.hg | |
51 |
|
51 | |||
52 | $ hg log -G -T '{rev}:{node|short} {desc}\n' |
|
52 | $ hg log -G -T '{rev}:{node|short} {desc}\n' | |
53 | o 11:721b8da0a708 H |
|
53 | o 11:721b8da0a708 H |
@@ -67,14 +67,14 b' already has one local mq patch' | |||||
67 | note: rebase of 3:148775c71080 created no changes to commit |
|
67 | note: rebase of 3:148775c71080 created no changes to commit | |
68 | rebase merging completed |
|
68 | rebase merging completed | |
69 | updating mq patch p0.patch to 5:9ecc820b1737 |
|
69 | updating mq patch p0.patch to 5:9ecc820b1737 | |
70 |
$TESTTMP/a/.hg/patches/p0.patch |
|
70 | $TESTTMP/a/.hg/patches/p0.patch | |
71 | 2 changesets found |
|
71 | 2 changesets found | |
72 | uncompressed size of bundle content: |
|
72 | uncompressed size of bundle content: | |
73 | 348 (changelog) |
|
73 | 348 (changelog) | |
74 | 324 (manifests) |
|
74 | 324 (manifests) | |
75 | 129 p0 |
|
75 | 129 p0 | |
76 | 129 p1 |
|
76 | 129 p1 | |
77 |
saved backup bundle to $TESTTMP/a/.hg/strip-backup/13a46ce44f60-5da6ecfb-rebase.hg |
|
77 | saved backup bundle to $TESTTMP/a/.hg/strip-backup/13a46ce44f60-5da6ecfb-rebase.hg | |
78 | 2 changesets found |
|
78 | 2 changesets found | |
79 | uncompressed size of bundle content: |
|
79 | uncompressed size of bundle content: | |
80 | 403 (changelog) |
|
80 | 403 (changelog) | |
@@ -166,7 +166,7 b' already has one local mq patch' | |||||
166 | rebasing 5:681a378595ba "r5" (r5) |
|
166 | rebasing 5:681a378595ba "r5" (r5) | |
167 | rebasing 6:512a1f24768b "r6" (qtip r6) |
|
167 | rebasing 6:512a1f24768b "r6" (qtip r6) | |
168 | note: rebase of 6:512a1f24768b created no changes to commit |
|
168 | note: rebase of 6:512a1f24768b created no changes to commit | |
169 |
saved backup bundle to $TESTTMP/b/.hg/strip-backup/b4bffa6e4776-b9bfb84d-rebase.hg |
|
169 | saved backup bundle to $TESTTMP/b/.hg/strip-backup/b4bffa6e4776-b9bfb84d-rebase.hg | |
170 |
|
170 | |||
171 | $ hg tglog |
|
171 | $ hg tglog | |
172 | @ 8: 0b9735ce8f0a 'r5' tags: qtip r5 tip |
|
172 | @ 8: 0b9735ce8f0a 'r5' tags: qtip r5 tip |
@@ -88,7 +88,7 b' Fix the 2nd conflict:' | |||||
88 | $ hg rebase -c |
|
88 | $ hg rebase -c | |
89 | already rebased 2:3504f44bffc0 "P0" (f.patch qbase) as ebe9914c0d1c |
|
89 | already rebased 2:3504f44bffc0 "P0" (f.patch qbase) as ebe9914c0d1c | |
90 | rebasing 3:929394423cd3 "P1" (f2.patch qtip) |
|
90 | rebasing 3:929394423cd3 "P1" (f2.patch qtip) | |
91 |
saved backup bundle to $TESTTMP/a/.hg/strip-backup/3504f44bffc0-30595b40-rebase.hg |
|
91 | saved backup bundle to $TESTTMP/a/.hg/strip-backup/3504f44bffc0-30595b40-rebase.hg | |
92 |
|
92 | |||
93 | $ hg tglog |
|
93 | $ hg tglog | |
94 | @ 3: 462012cf340c 'P1' tags: f2.patch qtip tip |
|
94 | @ 3: 462012cf340c 'P1' tags: f2.patch qtip tip | |
@@ -205,7 +205,7 b' Rebase the applied mq patches:' | |||||
205 | $ hg rebase -s 2 -d 1 |
|
205 | $ hg rebase -s 2 -d 1 | |
206 | rebasing 2:0c587ffcb480 "P0 (git)" (f_git.patch qbase) |
|
206 | rebasing 2:0c587ffcb480 "P0 (git)" (f_git.patch qbase) | |
207 | rebasing 3:c7f18665e4bc "P1" (f.patch qtip tip) |
|
207 | rebasing 3:c7f18665e4bc "P1" (f.patch qtip tip) | |
208 |
saved backup bundle to $TESTTMP/a/.hg/strip-backup/0c587ffcb480-0ea5695f-rebase.hg |
|
208 | saved backup bundle to $TESTTMP/a/.hg/strip-backup/0c587ffcb480-0ea5695f-rebase.hg | |
209 |
|
209 | |||
210 | $ hg qci -m 'save patch state' |
|
210 | $ hg qci -m 'save patch state' | |
211 |
|
211 |
@@ -73,7 +73,7 b' Branch name containing a dash (issue3181' | |||||
73 | rebasing 6:eea13746799a "G" |
|
73 | rebasing 6:eea13746799a "G" | |
74 | rebasing 7:02de42196ebe "H" |
|
74 | rebasing 7:02de42196ebe "H" | |
75 | rebasing 9:cb039b7cae8e "dev-two named branch" (tip) |
|
75 | rebasing 9:cb039b7cae8e "dev-two named branch" (tip) | |
76 |
saved backup bundle to $TESTTMP/a1/.hg/strip-backup/24b6387c8c8c-24cb8001-rebase.hg |
|
76 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/24b6387c8c8c-24cb8001-rebase.hg | |
77 |
|
77 | |||
78 | $ hg tglog |
|
78 | $ hg tglog | |
79 | @ 9: 9e70cd31750f 'dev-two named branch' dev-two |
|
79 | @ 9: 9e70cd31750f 'dev-two named branch' dev-two | |
@@ -102,7 +102,7 b' Branch name containing a dash (issue3181' | |||||
102 | rebasing 7:4b988a958030 "G" |
|
102 | rebasing 7:4b988a958030 "G" | |
103 | rebasing 8:31d0e4ba75e6 "H" |
|
103 | rebasing 8:31d0e4ba75e6 "H" | |
104 | rebasing 9:9e70cd31750f "dev-two named branch" (tip) |
|
104 | rebasing 9:9e70cd31750f "dev-two named branch" (tip) | |
105 |
saved backup bundle to $TESTTMP/a1/.hg/strip-backup/643fc9128048-c4ee9ef5-rebase.hg |
|
105 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/643fc9128048-c4ee9ef5-rebase.hg | |
106 |
|
106 | |||
107 | $ hg tglog |
|
107 | $ hg tglog | |
108 | @ 9: 59c2e59309fe 'dev-two named branch' dev-two |
|
108 | @ 9: 59c2e59309fe 'dev-two named branch' dev-two | |
@@ -162,7 +162,7 b' Branch name containing a dash (issue3181' | |||||
162 | rebasing 7:1a1e6f72ec38 "G" |
|
162 | rebasing 7:1a1e6f72ec38 "G" | |
163 | rebasing 8:904590360559 "H" |
|
163 | rebasing 8:904590360559 "H" | |
164 | rebasing 9:59c2e59309fe "dev-two named branch" |
|
164 | rebasing 9:59c2e59309fe "dev-two named branch" | |
165 |
saved backup bundle to $TESTTMP/a1/.hg/strip-backup/bc8139ee757c-f11c1080-rebase.hg |
|
165 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/bc8139ee757c-f11c1080-rebase.hg | |
166 |
|
166 | |||
167 | $ hg tglog |
|
167 | $ hg tglog | |
168 | o 9: 71325f8bc082 'dev-two named branch' dev-two |
|
168 | o 9: 71325f8bc082 'dev-two named branch' dev-two | |
@@ -191,7 +191,7 b' Branch name containing a dash (issue3181' | |||||
191 | rebasing 7:549f007a9f5f "G" |
|
191 | rebasing 7:549f007a9f5f "G" | |
192 | rebasing 8:12b2bc666e20 "H" |
|
192 | rebasing 8:12b2bc666e20 "H" | |
193 | rebasing 9:71325f8bc082 "dev-two named branch" (tip) |
|
193 | rebasing 9:71325f8bc082 "dev-two named branch" (tip) | |
194 |
saved backup bundle to $TESTTMP/a1/.hg/strip-backup/643fc9128048-6cdd1a52-rebase.hg |
|
194 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/643fc9128048-6cdd1a52-rebase.hg | |
195 |
|
195 | |||
196 | $ hg tglog |
|
196 | $ hg tglog | |
197 | o 9: 3944801ae4ea 'dev-two named branch' dev-two |
|
197 | o 9: 3944801ae4ea 'dev-two named branch' dev-two | |
@@ -222,7 +222,7 b' Rebasing descendant onto ancestor across' | |||||
222 | rebasing 1:42ccdea3bb16 "B" |
|
222 | rebasing 1:42ccdea3bb16 "B" | |
223 | rebasing 2:5fddd98957c8 "C" |
|
223 | rebasing 2:5fddd98957c8 "C" | |
224 | rebasing 3:32af7686d403 "D" |
|
224 | rebasing 3:32af7686d403 "D" | |
225 |
saved backup bundle to $TESTTMP/a1/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg |
|
225 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg | |
226 |
|
226 | |||
227 | $ hg tglog |
|
227 | $ hg tglog | |
228 | o 9: e9f862ce8bad 'D' |
|
228 | o 9: e9f862ce8bad 'D' | |
@@ -254,7 +254,7 b' Rebasing descendant onto ancestor across' | |||||
254 | rebasing 7:3bdb949809d9 "B" |
|
254 | rebasing 7:3bdb949809d9 "B" | |
255 | rebasing 8:a0d543090fa4 "C" |
|
255 | rebasing 8:a0d543090fa4 "C" | |
256 | rebasing 9:e9f862ce8bad "D" (tip) |
|
256 | rebasing 9:e9f862ce8bad "D" (tip) | |
257 |
saved backup bundle to $TESTTMP/a1/.hg/strip-backup/3944801ae4ea-fb46ed74-rebase.hg |
|
257 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/3944801ae4ea-fb46ed74-rebase.hg | |
258 |
|
258 | |||
259 | $ hg tglog |
|
259 | $ hg tglog | |
260 | o 9: e522577ccdbd 'D' |
|
260 | o 9: e522577ccdbd 'D' | |
@@ -291,7 +291,7 b' Reopen branch by rebase' | |||||
291 | rebasing 7:160b0930ccc6 "B" |
|
291 | rebasing 7:160b0930ccc6 "B" | |
292 | rebasing 8:810110211f50 "C" |
|
292 | rebasing 8:810110211f50 "C" | |
293 | rebasing 9:e522577ccdbd "D" |
|
293 | rebasing 9:e522577ccdbd "D" | |
294 |
saved backup bundle to $TESTTMP/a1/.hg/strip-backup/8e279d293175-b023e27c-rebase.hg |
|
294 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/8e279d293175-b023e27c-rebase.hg | |
295 |
|
295 | |||
296 | $ cd .. |
|
296 | $ cd .. | |
297 |
|
297 | |||
@@ -330,7 +330,7 b" rebase 'b2' to another lower branch head" | |||||
330 | $ hg rebase |
|
330 | $ hg rebase | |
331 | rebasing 2:792845bb77ee "b2" |
|
331 | rebasing 2:792845bb77ee "b2" | |
332 | note: rebase of 2:792845bb77ee created no changes to commit |
|
332 | note: rebase of 2:792845bb77ee created no changes to commit | |
333 |
saved backup bundle to $TESTTMP/case1/.hg/strip-backup/792845bb77ee-627120ee-rebase.hg |
|
333 | saved backup bundle to $TESTTMP/case1/.hg/strip-backup/792845bb77ee-627120ee-rebase.hg | |
334 | $ hg tglog |
|
334 | $ hg tglog | |
335 | o 2: c062e3ecd6c6 'c1' c |
|
335 | o 2: c062e3ecd6c6 'c1' c | |
336 | | |
|
336 | | | |
@@ -345,7 +345,7 b" rebase 'b1' on top of the tip of the bra" | |||||
345 | $ hg up -qr 1 |
|
345 | $ hg up -qr 1 | |
346 | $ hg rebase |
|
346 | $ hg rebase | |
347 | rebasing 1:40039acb7ca5 "b1" |
|
347 | rebasing 1:40039acb7ca5 "b1" | |
348 |
saved backup bundle to $TESTTMP/case2/.hg/strip-backup/40039acb7ca5-342b72d1-rebase.hg |
|
348 | saved backup bundle to $TESTTMP/case2/.hg/strip-backup/40039acb7ca5-342b72d1-rebase.hg | |
349 | $ hg tglog |
|
349 | $ hg tglog | |
350 | @ 3: 76abc1c6f8c7 'b1' b |
|
350 | @ 3: 76abc1c6f8c7 'b1' b | |
351 | | |
|
351 | | | |
@@ -396,7 +396,7 b" rebase 'c1' to the branch head 'c2' that" | |||||
396 | rebasing 3:76abc1c6f8c7 "b1" |
|
396 | rebasing 3:76abc1c6f8c7 "b1" | |
397 | rebasing 4:8427af5d86f2 "c2 closed" (tip) |
|
397 | rebasing 4:8427af5d86f2 "c2 closed" (tip) | |
398 | note: rebase of 4:8427af5d86f2 created no changes to commit |
|
398 | note: rebase of 4:8427af5d86f2 created no changes to commit | |
399 |
saved backup bundle to $TESTTMP/case2/.hg/strip-backup/76abc1c6f8c7-cd698d13-rebase.hg |
|
399 | saved backup bundle to $TESTTMP/case2/.hg/strip-backup/76abc1c6f8c7-cd698d13-rebase.hg | |
400 | $ hg tglog |
|
400 | $ hg tglog | |
401 | o 3: 117b0ed08075 'b1' x |
|
401 | o 3: 117b0ed08075 'b1' x | |
402 | | |
|
402 | | |
@@ -44,7 +44,7 b'' | |||||
44 | merging a |
|
44 | merging a | |
45 | rebasing 2:30ae917c0e4f "C" |
|
45 | rebasing 2:30ae917c0e4f "C" | |
46 | merging a |
|
46 | merging a | |
47 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/0f4f7cb4f549-82b3b163-rebase.hg |
|
47 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/0f4f7cb4f549-82b3b163-rebase.hg | |
48 |
|
48 | |||
49 | $ hg tglog |
|
49 | $ hg tglog | |
50 | o 3: 25773bc4b4b0 'C' |
|
50 | o 3: 25773bc4b4b0 'C' | |
@@ -138,7 +138,7 b' Full rebase all the way back from branch' | |||||
138 | other [source] changed f-default which local [dest] deleted |
|
138 | other [source] changed f-default which local [dest] deleted | |
139 | use (c)hanged version, leave (d)eleted, or leave (u)nresolved? c |
|
139 | use (c)hanged version, leave (d)eleted, or leave (u)nresolved? c | |
140 | rebasing 6:9455ee510502 "dev: merge default" |
|
140 | rebasing 6:9455ee510502 "dev: merge default" | |
141 |
saved backup bundle to $TESTTMP/ancestor-merge/.hg/strip-backup/1d1a643d390e-43e9e04b-rebase.hg |
|
141 | saved backup bundle to $TESTTMP/ancestor-merge/.hg/strip-backup/1d1a643d390e-43e9e04b-rebase.hg | |
142 | $ hg tglog |
|
142 | $ hg tglog | |
143 | o 6: fbc098e72227 'dev: merge default' |
|
143 | o 6: fbc098e72227 'dev: merge default' | |
144 | | |
|
144 | | | |
@@ -167,7 +167,7 b' Grafty cherry picking rebasing:' | |||||
167 | other [source] changed f-default which local [dest] deleted |
|
167 | other [source] changed f-default which local [dest] deleted | |
168 | use (c)hanged version, leave (d)eleted, or leave (u)nresolved? c |
|
168 | use (c)hanged version, leave (d)eleted, or leave (u)nresolved? c | |
169 | rebasing 6:9455ee510502 "dev: merge default" |
|
169 | rebasing 6:9455ee510502 "dev: merge default" | |
170 |
saved backup bundle to $TESTTMP/ancestor-merge-2/.hg/strip-backup/ec2c14fb2984-62d0b222-rebase.hg |
|
170 | saved backup bundle to $TESTTMP/ancestor-merge-2/.hg/strip-backup/ec2c14fb2984-62d0b222-rebase.hg | |
171 | $ hg tglog |
|
171 | $ hg tglog | |
172 | o 7: fbc098e72227 'dev: merge default' |
|
172 | o 7: fbc098e72227 'dev: merge default' | |
173 | | |
|
173 | | | |
@@ -239,7 +239,7 b' Test order of parents of rebased merged ' | |||||
239 |
|
239 | |||
240 | $ hg rebase -r 4 -d 2 |
|
240 | $ hg rebase -r 4 -d 2 | |
241 | rebasing 4:6990226659be "merge p1 3=outside p2 1=ancestor" |
|
241 | rebasing 4:6990226659be "merge p1 3=outside p2 1=ancestor" | |
242 |
saved backup bundle to $TESTTMP/parentorder/.hg/strip-backup/6990226659be-4d67a0d3-rebase.hg |
|
242 | saved backup bundle to $TESTTMP/parentorder/.hg/strip-backup/6990226659be-4d67a0d3-rebase.hg | |
243 | $ hg tip |
|
243 | $ hg tip | |
244 | changeset: 5:cca50676b1c5 |
|
244 | changeset: 5:cca50676b1c5 | |
245 | tag: tip |
|
245 | tag: tip | |
@@ -251,7 +251,7 b' Test order of parents of rebased merged ' | |||||
251 |
|
251 | |||
252 | $ hg rebase -r 4 -d 2 |
|
252 | $ hg rebase -r 4 -d 2 | |
253 | rebasing 4:a57575f79074 "merge p1 1=ancestor p2 3=outside" |
|
253 | rebasing 4:a57575f79074 "merge p1 1=ancestor p2 3=outside" | |
254 |
saved backup bundle to $TESTTMP/parentorder/.hg/strip-backup/a57575f79074-385426e5-rebase.hg |
|
254 | saved backup bundle to $TESTTMP/parentorder/.hg/strip-backup/a57575f79074-385426e5-rebase.hg | |
255 | $ hg tip |
|
255 | $ hg tip | |
256 | changeset: 5:f9daf77ffe76 |
|
256 | changeset: 5:f9daf77ffe76 | |
257 | tag: tip |
|
257 | tag: tip | |
@@ -307,7 +307,7 b' rebase of merge of ancestors' | |||||
307 | 199 (changelog) |
|
307 | 199 (changelog) | |
308 | 216 (manifests) |
|
308 | 216 (manifests) | |
309 | 182 other |
|
309 | 182 other | |
310 |
saved backup bundle to $TESTTMP/parentorder/.hg/strip-backup/4c5f12f25ebe-f46990e5-rebase.hg |
|
310 | saved backup bundle to $TESTTMP/parentorder/.hg/strip-backup/4c5f12f25ebe-f46990e5-rebase.hg | |
311 | 1 changesets found |
|
311 | 1 changesets found | |
312 | uncompressed size of bundle content: |
|
312 | uncompressed size of bundle content: | |
313 | 254 (changelog) |
|
313 | 254 (changelog) | |
@@ -374,7 +374,7 b' The warning does not get printed if ther' | |||||
374 | rebasing 3:c1e6b162678d "B" (B) |
|
374 | rebasing 3:c1e6b162678d "B" (B) | |
375 | rebasing 4:d6003a550c2c "C" (C) |
|
375 | rebasing 4:d6003a550c2c "C" (C) | |
376 | rebasing 5:c8f78076273e "D" (D tip) |
|
376 | rebasing 5:c8f78076273e "D" (D tip) | |
377 |
saved backup bundle to $TESTTMP/dual-merge-base2/.hg/strip-backup/d6003a550c2c-6f1424b6-rebase.hg |
|
377 | saved backup bundle to $TESTTMP/dual-merge-base2/.hg/strip-backup/d6003a550c2c-6f1424b6-rebase.hg | |
378 | $ hg manifest -r 'desc(D)' |
|
378 | $ hg manifest -r 'desc(D)' | |
379 | B |
|
379 | B | |
380 | C |
|
380 | C | |
@@ -395,7 +395,7 b' The merge base could be different from o' | |||||
395 | $ hg rebase -r D+F -d Z |
|
395 | $ hg rebase -r D+F -d Z | |
396 | rebasing 3:004dc1679908 "D" (D) |
|
396 | rebasing 3:004dc1679908 "D" (D) | |
397 | rebasing 5:4be4cbf6f206 "F" (F tip) |
|
397 | rebasing 5:4be4cbf6f206 "F" (F tip) | |
398 |
saved backup bundle to $TESTTMP/chosen-merge-base1/.hg/strip-backup/004dc1679908-06a66a3c-rebase.hg |
|
398 | saved backup bundle to $TESTTMP/chosen-merge-base1/.hg/strip-backup/004dc1679908-06a66a3c-rebase.hg | |
399 | $ hg manifest -r 'desc(F)' |
|
399 | $ hg manifest -r 'desc(F)' | |
400 | C |
|
400 | C | |
401 | D |
|
401 | D | |
@@ -416,7 +416,7 b' The merge base could be different from o' | |||||
416 | $ hg rebase -r E+F -d Z |
|
416 | $ hg rebase -r E+F -d Z | |
417 | rebasing 4:974e4943c210 "E" (E) |
|
417 | rebasing 4:974e4943c210 "E" (E) | |
418 | rebasing 5:4be4cbf6f206 "F" (F tip) |
|
418 | rebasing 5:4be4cbf6f206 "F" (F tip) | |
419 |
saved backup bundle to $TESTTMP/chosen-merge-base2/.hg/strip-backup/974e4943c210-b2874da5-rebase.hg |
|
419 | saved backup bundle to $TESTTMP/chosen-merge-base2/.hg/strip-backup/974e4943c210-b2874da5-rebase.hg | |
420 | $ hg manifest -r 'desc(F)' |
|
420 | $ hg manifest -r 'desc(F)' | |
421 | B |
|
421 | B | |
422 | D |
|
422 | D |
@@ -753,7 +753,7 b' Even when the chain include missing node' | |||||
753 | $ hg add D |
|
753 | $ hg add D | |
754 | $ hg commit -m D |
|
754 | $ hg commit -m D | |
755 | $ hg --hidden strip -r 'desc(B1)' |
|
755 | $ hg --hidden strip -r 'desc(B1)' | |
756 |
saved backup bundle to $TESTTMP/obsskip/.hg/strip-backup/86f6414ccda7-b1c452ee-backup.hg |
|
756 | saved backup bundle to $TESTTMP/obsskip/.hg/strip-backup/86f6414ccda7-b1c452ee-backup.hg | |
757 | $ hg log -G |
|
757 | $ hg log -G | |
758 | @ 5:1a79b7535141 D |
|
758 | @ 5:1a79b7535141 D | |
759 | | |
|
759 | | |
@@ -135,7 +135,7 b' Rebase with no arguments (from 3 onto 8)' | |||||
135 | rebasing 1:42ccdea3bb16 "B" |
|
135 | rebasing 1:42ccdea3bb16 "B" | |
136 | rebasing 2:5fddd98957c8 "C" |
|
136 | rebasing 2:5fddd98957c8 "C" | |
137 | rebasing 3:32af7686d403 "D" |
|
137 | rebasing 3:32af7686d403 "D" | |
138 |
saved backup bundle to $TESTTMP/a1/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg |
|
138 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg | |
139 |
|
139 | |||
140 | $ hg tglog |
|
140 | $ hg tglog | |
141 | @ 6: ed65089c18f8 'D' |
|
141 | @ 6: ed65089c18f8 'D' | |
@@ -169,7 +169,7 b" Rebase with base == '.' => same as no ar" | |||||
169 | rebasing 1:42ccdea3bb16 "B" |
|
169 | rebasing 1:42ccdea3bb16 "B" | |
170 | rebasing 2:5fddd98957c8 "C" |
|
170 | rebasing 2:5fddd98957c8 "C" | |
171 | rebasing 3:32af7686d403 "D" |
|
171 | rebasing 3:32af7686d403 "D" | |
172 |
saved backup bundle to $TESTTMP/a2/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg |
|
172 | saved backup bundle to $TESTTMP/a2/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg | |
173 |
|
173 | |||
174 | $ hg tglog |
|
174 | $ hg tglog | |
175 | @ 6: ed65089c18f8 'D' |
|
175 | @ 6: ed65089c18f8 'D' | |
@@ -198,7 +198,7 b' Rebase with dest == branch(.) => same as' | |||||
198 | rebasing 1:42ccdea3bb16 "B" |
|
198 | rebasing 1:42ccdea3bb16 "B" | |
199 | rebasing 2:5fddd98957c8 "C" |
|
199 | rebasing 2:5fddd98957c8 "C" | |
200 | rebasing 3:32af7686d403 "D" |
|
200 | rebasing 3:32af7686d403 "D" | |
201 |
saved backup bundle to $TESTTMP/a3/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg |
|
201 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg | |
202 |
|
202 | |||
203 | $ hg tglog |
|
203 | $ hg tglog | |
204 | @ 8: ed65089c18f8 'D' |
|
204 | @ 8: ed65089c18f8 'D' | |
@@ -230,7 +230,7 b' Specify only source (from 2 onto 8):' | |||||
230 | $ hg rebase --source 'desc("C")' |
|
230 | $ hg rebase --source 'desc("C")' | |
231 | rebasing 2:5fddd98957c8 "C" |
|
231 | rebasing 2:5fddd98957c8 "C" | |
232 | rebasing 3:32af7686d403 "D" |
|
232 | rebasing 3:32af7686d403 "D" | |
233 |
saved backup bundle to $TESTTMP/a4/.hg/strip-backup/5fddd98957c8-f9244fa1-rebase.hg |
|
233 | saved backup bundle to $TESTTMP/a4/.hg/strip-backup/5fddd98957c8-f9244fa1-rebase.hg | |
234 |
|
234 | |||
235 | $ hg tglog |
|
235 | $ hg tglog | |
236 | o 6: 7726e9fd58f7 'D' |
|
236 | o 6: 7726e9fd58f7 'D' | |
@@ -259,7 +259,7 b' Specify only dest (from 3 onto 6):' | |||||
259 | rebasing 1:42ccdea3bb16 "B" |
|
259 | rebasing 1:42ccdea3bb16 "B" | |
260 | rebasing 2:5fddd98957c8 "C" |
|
260 | rebasing 2:5fddd98957c8 "C" | |
261 | rebasing 3:32af7686d403 "D" |
|
261 | rebasing 3:32af7686d403 "D" | |
262 |
saved backup bundle to $TESTTMP/a5/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg |
|
262 | saved backup bundle to $TESTTMP/a5/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg | |
263 |
|
263 | |||
264 | $ hg tglog |
|
264 | $ hg tglog | |
265 | @ 8: 8eeb3c33ad33 'D' |
|
265 | @ 8: 8eeb3c33ad33 'D' | |
@@ -292,7 +292,7 b' Specify only base (from 1 onto 8):' | |||||
292 | rebasing 1:42ccdea3bb16 "B" |
|
292 | rebasing 1:42ccdea3bb16 "B" | |
293 | rebasing 2:5fddd98957c8 "C" |
|
293 | rebasing 2:5fddd98957c8 "C" | |
294 | rebasing 3:32af7686d403 "D" |
|
294 | rebasing 3:32af7686d403 "D" | |
295 |
saved backup bundle to $TESTTMP/a6/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg |
|
295 | saved backup bundle to $TESTTMP/a6/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg | |
296 |
|
296 | |||
297 | $ hg tglog |
|
297 | $ hg tglog | |
298 | o 6: ed65089c18f8 'D' |
|
298 | o 6: ed65089c18f8 'D' | |
@@ -320,7 +320,7 b' Specify source and dest (from 2 onto 7):' | |||||
320 | $ hg rebase --source 2 --dest 7 |
|
320 | $ hg rebase --source 2 --dest 7 | |
321 | rebasing 2:5fddd98957c8 "C" |
|
321 | rebasing 2:5fddd98957c8 "C" | |
322 | rebasing 3:32af7686d403 "D" |
|
322 | rebasing 3:32af7686d403 "D" | |
323 |
saved backup bundle to $TESTTMP/a7/.hg/strip-backup/5fddd98957c8-f9244fa1-rebase.hg |
|
323 | saved backup bundle to $TESTTMP/a7/.hg/strip-backup/5fddd98957c8-f9244fa1-rebase.hg | |
324 |
|
324 | |||
325 | $ hg tglog |
|
325 | $ hg tglog | |
326 | o 8: 668acadedd30 'D' |
|
326 | o 8: 668acadedd30 'D' | |
@@ -353,7 +353,7 b' Specify base and dest (from 1 onto 7):' | |||||
353 | rebasing 1:42ccdea3bb16 "B" |
|
353 | rebasing 1:42ccdea3bb16 "B" | |
354 | rebasing 2:5fddd98957c8 "C" |
|
354 | rebasing 2:5fddd98957c8 "C" | |
355 | rebasing 3:32af7686d403 "D" |
|
355 | rebasing 3:32af7686d403 "D" | |
356 |
saved backup bundle to $TESTTMP/a8/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg |
|
356 | saved backup bundle to $TESTTMP/a8/.hg/strip-backup/42ccdea3bb16-3cb021d3-rebase.hg | |
357 |
|
357 | |||
358 | $ hg tglog |
|
358 | $ hg tglog | |
359 | o 8: 287cc92ba5a4 'D' |
|
359 | o 8: 287cc92ba5a4 'D' | |
@@ -385,7 +385,7 b' Specify only revs (from 2 onto 8)' | |||||
385 | $ hg rebase --rev 'desc("C")::' |
|
385 | $ hg rebase --rev 'desc("C")::' | |
386 | rebasing 2:5fddd98957c8 "C" |
|
386 | rebasing 2:5fddd98957c8 "C" | |
387 | rebasing 3:32af7686d403 "D" |
|
387 | rebasing 3:32af7686d403 "D" | |
388 |
saved backup bundle to $TESTTMP/a9/.hg/strip-backup/5fddd98957c8-f9244fa1-rebase.hg |
|
388 | saved backup bundle to $TESTTMP/a9/.hg/strip-backup/5fddd98957c8-f9244fa1-rebase.hg | |
389 |
|
389 | |||
390 | $ hg tglog |
|
390 | $ hg tglog | |
391 | o 6: 7726e9fd58f7 'D' |
|
391 | o 6: 7726e9fd58f7 'D' | |
@@ -411,7 +411,7 b' Rebasing both a single revision and a me' | |||||
411 | $ hg rebase -r 3 -r 6 --dest 8 |
|
411 | $ hg rebase -r 3 -r 6 --dest 8 | |
412 | rebasing 3:32af7686d403 "D" |
|
412 | rebasing 3:32af7686d403 "D" | |
413 | rebasing 6:eea13746799a "G" |
|
413 | rebasing 6:eea13746799a "G" | |
414 |
saved backup bundle to $TESTTMP/aX/.hg/strip-backup/eea13746799a-ad273fd6-rebase.hg |
|
414 | saved backup bundle to $TESTTMP/aX/.hg/strip-backup/eea13746799a-ad273fd6-rebase.hg | |
415 | $ cd .. |
|
415 | $ cd .. | |
416 |
|
416 | |||
417 | Test --tool parameter: |
|
417 | Test --tool parameter: | |
@@ -441,7 +441,7 b' Test --tool parameter:' | |||||
441 | $ hg rebase -s 2 -d 1 --tool internal:local |
|
441 | $ hg rebase -s 2 -d 1 --tool internal:local | |
442 | rebasing 2:e4e3f3546619 "c2b" (tip) |
|
442 | rebasing 2:e4e3f3546619 "c2b" (tip) | |
443 | note: rebase of 2:e4e3f3546619 created no changes to commit |
|
443 | note: rebase of 2:e4e3f3546619 created no changes to commit | |
444 |
saved backup bundle to $TESTTMP/b1/.hg/strip-backup/e4e3f3546619-b0841178-rebase.hg |
|
444 | saved backup bundle to $TESTTMP/b1/.hg/strip-backup/e4e3f3546619-b0841178-rebase.hg | |
445 |
|
445 | |||
446 | $ hg cat c2 |
|
446 | $ hg cat c2 | |
447 | c2 |
|
447 | c2 | |
@@ -454,7 +454,7 b' Test --tool parameter:' | |||||
454 |
|
454 | |||
455 | $ hg rebase -s 2 -d 1 --tool internal:other |
|
455 | $ hg rebase -s 2 -d 1 --tool internal:other | |
456 | rebasing 2:e4e3f3546619 "c2b" (tip) |
|
456 | rebasing 2:e4e3f3546619 "c2b" (tip) | |
457 |
saved backup bundle to $TESTTMP/b2/.hg/strip-backup/e4e3f3546619-b0841178-rebase.hg |
|
457 | saved backup bundle to $TESTTMP/b2/.hg/strip-backup/e4e3f3546619-b0841178-rebase.hg | |
458 |
|
458 | |||
459 | $ hg cat c2 |
|
459 | $ hg cat c2 | |
460 | c2b |
|
460 | c2b | |
@@ -494,7 +494,7 b' Test --tool parameter:' | |||||
494 | $ hg rebase -c --tool internal:fail |
|
494 | $ hg rebase -c --tool internal:fail | |
495 | rebasing 2:e4e3f3546619 "c2b" (tip) |
|
495 | rebasing 2:e4e3f3546619 "c2b" (tip) | |
496 | note: rebase of 2:e4e3f3546619 created no changes to commit |
|
496 | note: rebase of 2:e4e3f3546619 created no changes to commit | |
497 |
saved backup bundle to $TESTTMP/b3/.hg/strip-backup/e4e3f3546619-b0841178-rebase.hg |
|
497 | saved backup bundle to $TESTTMP/b3/.hg/strip-backup/e4e3f3546619-b0841178-rebase.hg | |
498 |
|
498 | |||
499 | $ hg rebase -i |
|
499 | $ hg rebase -i | |
500 | abort: interactive history editing is supported by the 'histedit' extension (see "hg --config extensions.histedit= help -e histedit") |
|
500 | abort: interactive history editing is supported by the 'histedit' extension (see "hg --config extensions.histedit= help -e histedit") |
@@ -48,7 +48,7 b'' | |||||
48 | Now b has one revision to be pulled from a: |
|
48 | Now b has one revision to be pulled from a: | |
49 |
|
49 | |||
50 | $ hg pull --rebase |
|
50 | $ hg pull --rebase | |
51 |
pulling from $TESTTMP/a |
|
51 | pulling from $TESTTMP/a | |
52 | searching for changes |
|
52 | searching for changes | |
53 | adding changesets |
|
53 | adding changesets | |
54 | adding manifests |
|
54 | adding manifests | |
@@ -56,7 +56,7 b' Now b has one revision to be pulled from' | |||||
56 | added 1 changesets with 1 changes to 1 files (+1 heads) |
|
56 | added 1 changesets with 1 changes to 1 files (+1 heads) | |
57 | new changesets 77ae9631bcca |
|
57 | new changesets 77ae9631bcca | |
58 | rebasing 2:ff8d69a621f9 "L1" |
|
58 | rebasing 2:ff8d69a621f9 "L1" | |
59 |
saved backup bundle to $TESTTMP/b/.hg/strip-backup/ff8d69a621f9-160fa373-rebase.hg |
|
59 | saved backup bundle to $TESTTMP/b/.hg/strip-backup/ff8d69a621f9-160fa373-rebase.hg | |
60 |
|
60 | |||
61 | $ hg tglog |
|
61 | $ hg tglog | |
62 | @ 3: d80cc2da061e 'L1' |
|
62 | @ 3: d80cc2da061e 'L1' | |
@@ -70,7 +70,7 b' Now b has one revision to be pulled from' | |||||
70 | Re-run: |
|
70 | Re-run: | |
71 |
|
71 | |||
72 | $ hg pull --rebase |
|
72 | $ hg pull --rebase | |
73 |
pulling from $TESTTMP/a |
|
73 | pulling from $TESTTMP/a | |
74 | searching for changes |
|
74 | searching for changes | |
75 | no changes found |
|
75 | no changes found | |
76 |
|
76 | |||
@@ -138,7 +138,7 b' Invoke pull --rebase and nothing to reba' | |||||
138 |
|
138 | |||
139 | $ hg book norebase |
|
139 | $ hg book norebase | |
140 | $ hg pull --rebase |
|
140 | $ hg pull --rebase | |
141 |
pulling from $TESTTMP/a |
|
141 | pulling from $TESTTMP/a | |
142 | searching for changes |
|
142 | searching for changes | |
143 | adding changesets |
|
143 | adding changesets | |
144 | adding manifests |
|
144 | adding manifests | |
@@ -157,7 +157,7 b' Invoke pull --rebase and nothing to reba' | |||||
157 | pull --rebase --update should ignore --update: |
|
157 | pull --rebase --update should ignore --update: | |
158 |
|
158 | |||
159 | $ hg pull --rebase --update |
|
159 | $ hg pull --rebase --update | |
160 |
pulling from $TESTTMP/a |
|
160 | pulling from $TESTTMP/a | |
161 | searching for changes |
|
161 | searching for changes | |
162 | no changes found |
|
162 | no changes found | |
163 |
|
163 | |||
@@ -166,7 +166,7 b" pull --rebase doesn't update if nothing " | |||||
166 | $ hg up -q 1 |
|
166 | $ hg up -q 1 | |
167 |
|
167 | |||
168 | $ hg pull --rebase |
|
168 | $ hg pull --rebase | |
169 |
pulling from $TESTTMP/a |
|
169 | pulling from $TESTTMP/a | |
170 | searching for changes |
|
170 | searching for changes | |
171 | no changes found |
|
171 | no changes found | |
172 |
|
172 | |||
@@ -206,7 +206,7 b' pull --rebase works when a specific revi' | |||||
206 | adding L1 |
|
206 | adding L1 | |
207 | created new head |
|
207 | created new head | |
208 | $ hg pull --rev tip --rebase |
|
208 | $ hg pull --rev tip --rebase | |
209 |
pulling from $TESTTMP/a |
|
209 | pulling from $TESTTMP/a | |
210 | searching for changes |
|
210 | searching for changes | |
211 | adding changesets |
|
211 | adding changesets | |
212 | adding manifests |
|
212 | adding manifests | |
@@ -214,7 +214,7 b' pull --rebase works when a specific revi' | |||||
214 | added 2 changesets with 2 changes to 2 files |
|
214 | added 2 changesets with 2 changes to 2 files | |
215 | new changesets 31cd3a05214e:770a61882ace |
|
215 | new changesets 31cd3a05214e:770a61882ace | |
216 | rebasing 3:ff8d69a621f9 "L1" |
|
216 | rebasing 3:ff8d69a621f9 "L1" | |
217 |
saved backup bundle to $TESTTMP/c/.hg/strip-backup/ff8d69a621f9-160fa373-rebase.hg |
|
217 | saved backup bundle to $TESTTMP/c/.hg/strip-backup/ff8d69a621f9-160fa373-rebase.hg | |
218 | $ hg tglog |
|
218 | $ hg tglog | |
219 | @ 5: 518d153c0ba3 'L1' |
|
219 | @ 5: 518d153c0ba3 'L1' | |
220 | | |
|
220 | | | |
@@ -249,7 +249,7 b' pull --rebase works with bundle2 turned ' | |||||
249 |
|
249 | |||
250 | $ cd ../c |
|
250 | $ cd ../c | |
251 | $ hg pull --rebase |
|
251 | $ hg pull --rebase | |
252 |
pulling from $TESTTMP/a |
|
252 | pulling from $TESTTMP/a | |
253 | searching for changes |
|
253 | searching for changes | |
254 | adding changesets |
|
254 | adding changesets | |
255 | adding manifests |
|
255 | adding manifests | |
@@ -257,7 +257,7 b' pull --rebase works with bundle2 turned ' | |||||
257 | added 1 changesets with 1 changes to 1 files (+1 heads) |
|
257 | added 1 changesets with 1 changes to 1 files (+1 heads) | |
258 | new changesets 00e3b7781125 |
|
258 | new changesets 00e3b7781125 | |
259 | rebasing 5:518d153c0ba3 "L1" |
|
259 | rebasing 5:518d153c0ba3 "L1" | |
260 |
saved backup bundle to $TESTTMP/c/.hg/strip-backup/518d153c0ba3-73407f14-rebase.hg |
|
260 | saved backup bundle to $TESTTMP/c/.hg/strip-backup/518d153c0ba3-73407f14-rebase.hg | |
261 | $ hg tglog |
|
261 | $ hg tglog | |
262 | @ 6: 0d0727eb7ce0 'L1' |
|
262 | @ 6: 0d0727eb7ce0 'L1' | |
263 | | |
|
263 | | | |
@@ -302,7 +302,7 b' pull --rebase only update if there is no' | |||||
302 | $ hg up 'desc(L1)' |
|
302 | $ hg up 'desc(L1)' | |
303 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
303 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
304 | $ hg pull --rebase |
|
304 | $ hg pull --rebase | |
305 |
pulling from $TESTTMP/a |
|
305 | pulling from $TESTTMP/a | |
306 | searching for changes |
|
306 | searching for changes | |
307 | adding changesets |
|
307 | adding changesets | |
308 | adding manifests |
|
308 | adding manifests | |
@@ -311,7 +311,7 b' pull --rebase only update if there is no' | |||||
311 | new changesets 88dd24261747 |
|
311 | new changesets 88dd24261747 | |
312 | rebasing 6:0d0727eb7ce0 "L1" |
|
312 | rebasing 6:0d0727eb7ce0 "L1" | |
313 | rebasing 7:c1f58876e3bf "L2" |
|
313 | rebasing 7:c1f58876e3bf "L2" | |
314 |
saved backup bundle to $TESTTMP/c/.hg/strip-backup/0d0727eb7ce0-ef61ccb2-rebase.hg |
|
314 | saved backup bundle to $TESTTMP/c/.hg/strip-backup/0d0727eb7ce0-ef61ccb2-rebase.hg | |
315 | $ hg tglog |
|
315 | $ hg tglog | |
316 | o 8: 6dc0ea5dcf55 'L2' |
|
316 | o 8: 6dc0ea5dcf55 'L2' | |
317 | | |
|
317 | | | |
@@ -344,7 +344,7 b' pull --rebase update (no rebase) use pro' | |||||
344 | $ hg up 'desc(R5)' |
|
344 | $ hg up 'desc(R5)' | |
345 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
345 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
346 | $ hg pull --rebase |
|
346 | $ hg pull --rebase | |
347 |
pulling from $TESTTMP/a |
|
347 | pulling from $TESTTMP/a | |
348 | searching for changes |
|
348 | searching for changes | |
349 | adding changesets |
|
349 | adding changesets | |
350 | adding manifests |
|
350 | adding manifests | |
@@ -394,7 +394,7 b' pre-existing heads.' | |||||
394 | $ hg up 'desc(L2)' |
|
394 | $ hg up 'desc(L2)' | |
395 | 2 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
395 | 2 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
396 | $ hg pull --rebase |
|
396 | $ hg pull --rebase | |
397 |
pulling from $TESTTMP/a |
|
397 | pulling from $TESTTMP/a | |
398 | searching for changes |
|
398 | searching for changes | |
399 | adding changesets |
|
399 | adding changesets | |
400 | adding manifests |
|
400 | adding manifests | |
@@ -421,7 +421,7 b' The second local head should not confuse' | |||||
421 | $ hg up 'desc(L2)' |
|
421 | $ hg up 'desc(L2)' | |
422 | 2 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
422 | 2 files updated, 0 files merged, 2 files removed, 0 files unresolved | |
423 | $ hg pull --rebase |
|
423 | $ hg pull --rebase | |
424 |
pulling from $TESTTMP/a |
|
424 | pulling from $TESTTMP/a | |
425 | searching for changes |
|
425 | searching for changes | |
426 | adding changesets |
|
426 | adding changesets | |
427 | adding manifests |
|
427 | adding manifests | |
@@ -430,7 +430,7 b' The second local head should not confuse' | |||||
430 | new changesets f7d3e42052f9 |
|
430 | new changesets f7d3e42052f9 | |
431 | rebasing 7:864e0a2d2614 "L1" |
|
431 | rebasing 7:864e0a2d2614 "L1" | |
432 | rebasing 8:6dc0ea5dcf55 "L2" |
|
432 | rebasing 8:6dc0ea5dcf55 "L2" | |
433 |
saved backup bundle to $TESTTMP/c/.hg/strip-backup/864e0a2d2614-2f72c89c-rebase.hg |
|
433 | saved backup bundle to $TESTTMP/c/.hg/strip-backup/864e0a2d2614-2f72c89c-rebase.hg | |
434 | $ hg tglog |
|
434 | $ hg tglog | |
435 | @ 12: 3603a865eea0 'L2' |
|
435 | @ 12: 3603a865eea0 'L2' | |
436 | | |
|
436 | | |
@@ -21,7 +21,7 b'' | |||||
21 | adding d/b |
|
21 | adding d/b | |
22 |
|
22 | |||
23 | $ hg mv d d-renamed |
|
23 | $ hg mv d d-renamed | |
24 |
moving d/b to d-renamed/b |
|
24 | moving d/b to d-renamed/b | |
25 | $ hg ci -m 'rename B' |
|
25 | $ hg ci -m 'rename B' | |
26 |
|
26 | |||
27 | $ hg up -q -C 1 |
|
27 | $ hg up -q -C 1 | |
@@ -61,7 +61,7 b' Rebase the revision containing the renam' | |||||
61 |
|
61 | |||
62 | $ hg rebase -s 3 -d 2 |
|
62 | $ hg rebase -s 3 -d 2 | |
63 | rebasing 3:73a3ee40125d "rename A" (tip) |
|
63 | rebasing 3:73a3ee40125d "rename A" (tip) | |
64 |
saved backup bundle to $TESTTMP/a/.hg/strip-backup/73a3ee40125d-1d78ebcf-rebase.hg |
|
64 | saved backup bundle to $TESTTMP/a/.hg/strip-backup/73a3ee40125d-1d78ebcf-rebase.hg | |
65 |
|
65 | |||
66 | $ hg tglog |
|
66 | $ hg tglog | |
67 | @ 3: 032a9b75e83b 'rename A' |
|
67 | @ 3: 032a9b75e83b 'rename A' | |
@@ -152,7 +152,7 b' Rebase the revision containing the copy:' | |||||
152 |
|
152 | |||
153 | $ hg rebase -s 3 -d 2 |
|
153 | $ hg rebase -s 3 -d 2 | |
154 | rebasing 3:0a8162ff18a8 "copy A" (tip) |
|
154 | rebasing 3:0a8162ff18a8 "copy A" (tip) | |
155 |
saved backup bundle to $TESTTMP/b/.hg/strip-backup/0a8162ff18a8-dd06302a-rebase.hg |
|
155 | saved backup bundle to $TESTTMP/b/.hg/strip-backup/0a8162ff18a8-dd06302a-rebase.hg | |
156 |
|
156 | |||
157 | $ hg tglog |
|
157 | $ hg tglog | |
158 | @ 3: 98f6e6dbf45a 'copy A' |
|
158 | @ 3: 98f6e6dbf45a 'copy A' | |
@@ -236,7 +236,7 b' Test rebase across repeating renames:' | |||||
236 |
|
236 | |||
237 | $ hg rebase -s 4 -d 3 |
|
237 | $ hg rebase -s 4 -d 3 | |
238 | rebasing 4:b918d683b091 "Another unrelated change" (tip) |
|
238 | rebasing 4:b918d683b091 "Another unrelated change" (tip) | |
239 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/b918d683b091-3024bc57-rebase.hg |
|
239 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/b918d683b091-3024bc57-rebase.hg | |
240 |
|
240 | |||
241 | $ hg diff --stat -c . |
|
241 | $ hg diff --stat -c . | |
242 | unrelated.txt | 1 + |
|
242 | unrelated.txt | 1 + | |
@@ -287,7 +287,7 b' Rebase the copies on top of the unrelate' | |||||
287 | rebasing 1:79d255d24ad2 "File b created as copy of a and modified" |
|
287 | rebasing 1:79d255d24ad2 "File b created as copy of a and modified" | |
288 | rebasing 2:327f772bc074 "File c created as copy of b and modified" |
|
288 | rebasing 2:327f772bc074 "File c created as copy of b and modified" | |
289 | rebasing 3:421b7e82bb85 "File d created as copy of c and modified" |
|
289 | rebasing 3:421b7e82bb85 "File d created as copy of c and modified" | |
290 |
saved backup bundle to $TESTTMP/copy-gets-preserved/.hg/strip-backup/79d255d24ad2-a2265555-rebase.hg |
|
290 | saved backup bundle to $TESTTMP/copy-gets-preserved/.hg/strip-backup/79d255d24ad2-a2265555-rebase.hg | |
291 | $ hg update 4 |
|
291 | $ hg update 4 | |
292 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
292 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
293 |
|
293 | |||
@@ -314,7 +314,7 b' copy records collapse correctly.' | |||||
314 | merging b and c to c |
|
314 | merging b and c to c | |
315 | rebasing 4:dbb9ba033561 "File d created as copy of c and modified" |
|
315 | rebasing 4:dbb9ba033561 "File d created as copy of c and modified" | |
316 | merging c and d to d |
|
316 | merging c and d to d | |
317 |
saved backup bundle to $TESTTMP/copy-gets-preserved/.hg/strip-backup/68bf06433839-dde37595-rebase.hg |
|
317 | saved backup bundle to $TESTTMP/copy-gets-preserved/.hg/strip-backup/68bf06433839-dde37595-rebase.hg | |
318 | $ hg co tip |
|
318 | $ hg co tip | |
319 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
319 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
320 |
|
320 |
@@ -66,7 +66,7 b' can abort or warn for colliding untracke' | |||||
66 | HG: user: Nicolas Dumazet <nicdumz.commits@gmail.com> |
|
66 | HG: user: Nicolas Dumazet <nicdumz.commits@gmail.com> | |
67 | HG: branch 'default' |
|
67 | HG: branch 'default' | |
68 | HG: added D |
|
68 | HG: added D | |
69 |
saved backup bundle to $TESTTMP/a1/.hg/strip-backup/32af7686d403-6f7dface-rebase.hg |
|
69 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/32af7686d403-6f7dface-rebase.hg | |
70 | $ cat D.orig |
|
70 | $ cat D.orig | |
71 | collide |
|
71 | collide | |
72 | $ rm D.orig |
|
72 | $ rm D.orig | |
@@ -101,7 +101,7 b' that we can ignore for colliding untrack' | |||||
101 |
|
101 | |||
102 | $ HGEDITOR=cat hg rebase -s 3 -d 5 --config merge.checkunknown=ignore |
|
102 | $ HGEDITOR=cat hg rebase -s 3 -d 5 --config merge.checkunknown=ignore | |
103 | rebasing 3:32af7686d403 "D" |
|
103 | rebasing 3:32af7686d403 "D" | |
104 |
saved backup bundle to $TESTTMP/a2/.hg/strip-backup/32af7686d403-6f7dface-rebase.hg |
|
104 | saved backup bundle to $TESTTMP/a2/.hg/strip-backup/32af7686d403-6f7dface-rebase.hg | |
105 | $ cat D.orig |
|
105 | $ cat D.orig | |
106 | collide |
|
106 | collide | |
107 | $ rm D.orig |
|
107 | $ rm D.orig | |
@@ -139,7 +139,7 b' if they have the same contents)' | |||||
139 | rebasing 4:9520eea781bc "E" |
|
139 | rebasing 4:9520eea781bc "E" | |
140 | rebasing 6:eea13746799a "G" |
|
140 | rebasing 6:eea13746799a "G" | |
141 | note: rebase of 6:eea13746799a created no changes to commit |
|
141 | note: rebase of 6:eea13746799a created no changes to commit | |
142 |
saved backup bundle to $TESTTMP/a3/.hg/strip-backup/9520eea781bc-fcd8edd4-rebase.hg |
|
142 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/9520eea781bc-fcd8edd4-rebase.hg | |
143 | $ f E.orig |
|
143 | $ f E.orig | |
144 | E.orig: file not found |
|
144 | E.orig: file not found | |
145 |
|
145 | |||
@@ -171,7 +171,7 b' F onto E - rebase of a branching point (' | |||||
171 | rebasing 6:eea13746799a "G" |
|
171 | rebasing 6:eea13746799a "G" | |
172 | note: rebase of 6:eea13746799a created no changes to commit |
|
172 | note: rebase of 6:eea13746799a created no changes to commit | |
173 | rebasing 7:02de42196ebe "H" (tip) |
|
173 | rebasing 7:02de42196ebe "H" (tip) | |
174 |
saved backup bundle to $TESTTMP/a4/.hg/strip-backup/24b6387c8c8c-c3fe765d-rebase.hg |
|
174 | saved backup bundle to $TESTTMP/a4/.hg/strip-backup/24b6387c8c8c-c3fe765d-rebase.hg | |
175 |
|
175 | |||
176 | $ hg tglog |
|
176 | $ hg tglog | |
177 | @ 6: e9240aeaa6ad 'H' |
|
177 | @ 6: e9240aeaa6ad 'H' | |
@@ -198,7 +198,7 b' G onto H - merged revision having a pare' | |||||
198 |
|
198 | |||
199 | $ hg rebase -s 6 -d 7 |
|
199 | $ hg rebase -s 6 -d 7 | |
200 | rebasing 6:eea13746799a "G" |
|
200 | rebasing 6:eea13746799a "G" | |
201 |
saved backup bundle to $TESTTMP/a5/.hg/strip-backup/eea13746799a-883828ed-rebase.hg |
|
201 | saved backup bundle to $TESTTMP/a5/.hg/strip-backup/eea13746799a-883828ed-rebase.hg | |
202 |
|
202 | |||
203 | $ hg tglog |
|
203 | $ hg tglog | |
204 | o 7: 397834907a90 'G' |
|
204 | o 7: 397834907a90 'G' | |
@@ -229,7 +229,7 b' F onto B - G maintains E as parent:' | |||||
229 | rebasing 5:24b6387c8c8c "F" |
|
229 | rebasing 5:24b6387c8c8c "F" | |
230 | rebasing 6:eea13746799a "G" |
|
230 | rebasing 6:eea13746799a "G" | |
231 | rebasing 7:02de42196ebe "H" (tip) |
|
231 | rebasing 7:02de42196ebe "H" (tip) | |
232 |
saved backup bundle to $TESTTMP/a6/.hg/strip-backup/24b6387c8c8c-c3fe765d-rebase.hg |
|
232 | saved backup bundle to $TESTTMP/a6/.hg/strip-backup/24b6387c8c8c-c3fe765d-rebase.hg | |
233 |
|
233 | |||
234 | $ hg tglog |
|
234 | $ hg tglog | |
235 | @ 7: c87be72f9641 'H' |
|
235 | @ 7: c87be72f9641 'H' | |
@@ -302,7 +302,7 b' C onto A - rebase onto an ancestor:' | |||||
302 | $ hg rebase -d 0 -s 2 |
|
302 | $ hg rebase -d 0 -s 2 | |
303 | rebasing 2:5fddd98957c8 "C" |
|
303 | rebasing 2:5fddd98957c8 "C" | |
304 | rebasing 3:32af7686d403 "D" |
|
304 | rebasing 3:32af7686d403 "D" | |
305 |
saved backup bundle to $TESTTMP/a7/.hg/strip-backup/5fddd98957c8-f9244fa1-rebase.hg |
|
305 | saved backup bundle to $TESTTMP/a7/.hg/strip-backup/5fddd98957c8-f9244fa1-rebase.hg | |
306 | $ hg tglog |
|
306 | $ hg tglog | |
307 | o 7: c9659aac0000 'D' |
|
307 | o 7: c9659aac0000 'D' | |
308 | | |
|
308 | | | |
@@ -346,31 +346,31 b' Source phase greater or equal to destina' | |||||
346 | 5 |
|
346 | 5 | |
347 | $ hg rebase -s9 -d0 |
|
347 | $ hg rebase -s9 -d0 | |
348 | rebasing 9:2b23e52411f4 "D" (tip) |
|
348 | rebasing 9:2b23e52411f4 "D" (tip) | |
349 |
saved backup bundle to $TESTTMP/a7/.hg/strip-backup/2b23e52411f4-f942decf-rebase.hg |
|
349 | saved backup bundle to $TESTTMP/a7/.hg/strip-backup/2b23e52411f4-f942decf-rebase.hg | |
350 | $ hg id -n # check we updated back to parent |
|
350 | $ hg id -n # check we updated back to parent | |
351 | 5 |
|
351 | 5 | |
352 | $ hg log --template "{phase}\n" -r 9 |
|
352 | $ hg log --template "{phase}\n" -r 9 | |
353 | draft |
|
353 | draft | |
354 | $ hg rebase -s9 -d1 |
|
354 | $ hg rebase -s9 -d1 | |
355 | rebasing 9:2cb10d0cfc6c "D" (tip) |
|
355 | rebasing 9:2cb10d0cfc6c "D" (tip) | |
356 |
saved backup bundle to $TESTTMP/a7/.hg/strip-backup/2cb10d0cfc6c-ddb0f256-rebase.hg |
|
356 | saved backup bundle to $TESTTMP/a7/.hg/strip-backup/2cb10d0cfc6c-ddb0f256-rebase.hg | |
357 | $ hg log --template "{phase}\n" -r 9 |
|
357 | $ hg log --template "{phase}\n" -r 9 | |
358 | draft |
|
358 | draft | |
359 | $ hg phase --force --secret 9 |
|
359 | $ hg phase --force --secret 9 | |
360 | $ hg rebase -s9 -d0 |
|
360 | $ hg rebase -s9 -d0 | |
361 | rebasing 9:c5b12b67163a "D" (tip) |
|
361 | rebasing 9:c5b12b67163a "D" (tip) | |
362 |
saved backup bundle to $TESTTMP/a7/.hg/strip-backup/c5b12b67163a-4e372053-rebase.hg |
|
362 | saved backup bundle to $TESTTMP/a7/.hg/strip-backup/c5b12b67163a-4e372053-rebase.hg | |
363 | $ hg log --template "{phase}\n" -r 9 |
|
363 | $ hg log --template "{phase}\n" -r 9 | |
364 | secret |
|
364 | secret | |
365 | $ hg rebase -s9 -d1 |
|
365 | $ hg rebase -s9 -d1 | |
366 | rebasing 9:2a0524f868ac "D" (tip) |
|
366 | rebasing 9:2a0524f868ac "D" (tip) | |
367 |
saved backup bundle to $TESTTMP/a7/.hg/strip-backup/2a0524f868ac-cefd8574-rebase.hg |
|
367 | saved backup bundle to $TESTTMP/a7/.hg/strip-backup/2a0524f868ac-cefd8574-rebase.hg | |
368 | $ hg log --template "{phase}\n" -r 9 |
|
368 | $ hg log --template "{phase}\n" -r 9 | |
369 | secret |
|
369 | secret | |
370 | Source phase lower than destination phase: new changeset get the phase of destination: |
|
370 | Source phase lower than destination phase: new changeset get the phase of destination: | |
371 | $ hg rebase -s8 -d9 |
|
371 | $ hg rebase -s8 -d9 | |
372 | rebasing 8:6d4f22462821 "C" |
|
372 | rebasing 8:6d4f22462821 "C" | |
373 |
saved backup bundle to $TESTTMP/a7/.hg/strip-backup/6d4f22462821-3441f70b-rebase.hg |
|
373 | saved backup bundle to $TESTTMP/a7/.hg/strip-backup/6d4f22462821-3441f70b-rebase.hg | |
374 | $ hg log --template "{phase}\n" -r 'rev(9)' |
|
374 | $ hg log --template "{phase}\n" -r 'rev(9)' | |
375 | secret |
|
375 | secret | |
376 |
|
376 | |||
@@ -399,7 +399,7 b" Check that temporary bundle doesn't lose" | |||||
399 |
|
399 | |||
400 | $ hg rebase -s 1 -d 2 |
|
400 | $ hg rebase -s 1 -d 2 | |
401 | rebasing 1:d2ae7f538514 "b" |
|
401 | rebasing 1:d2ae7f538514 "b" | |
402 |
saved backup bundle to $TESTTMP/issue5678/.hg/strip-backup/d2ae7f538514-2953539b-rebase.hg |
|
402 | saved backup bundle to $TESTTMP/issue5678/.hg/strip-backup/d2ae7f538514-2953539b-rebase.hg | |
403 | $ hg log -G -T '{rev}:{node|shortest} {phase} {desc}\n' |
|
403 | $ hg log -G -T '{rev}:{node|shortest} {phase} {desc}\n' | |
404 | o 2:c882 draft b |
|
404 | o 2:c882 draft b | |
405 | | |
|
405 | | | |
@@ -632,7 +632,7 b' rebase on ancestor with revset' | |||||
632 | rebasing 6:3d8a618087a7 "G" |
|
632 | rebasing 6:3d8a618087a7 "G" | |
633 | rebasing 7:72434a4e60b0 "H" |
|
633 | rebasing 7:72434a4e60b0 "H" | |
634 | rebasing 8:479ddb54a924 "I" (tip) |
|
634 | rebasing 8:479ddb54a924 "I" (tip) | |
635 |
saved backup bundle to $TESTTMP/ah5/.hg/strip-backup/3d8a618087a7-b4f73f31-rebase.hg |
|
635 | saved backup bundle to $TESTTMP/ah5/.hg/strip-backup/3d8a618087a7-b4f73f31-rebase.hg | |
636 | $ hg tglog |
|
636 | $ hg tglog | |
637 | o 8: fcb52e68a694 'I' |
|
637 | o 8: fcb52e68a694 'I' | |
638 | | |
|
638 | | | |
@@ -667,7 +667,7 b' We would expect heads are I, F if it was' | |||||
667 | rebasing 6:3d8a618087a7 "G" |
|
667 | rebasing 6:3d8a618087a7 "G" | |
668 | rebasing 7:72434a4e60b0 "H" |
|
668 | rebasing 7:72434a4e60b0 "H" | |
669 | rebasing 8:479ddb54a924 "I" (tip) |
|
669 | rebasing 8:479ddb54a924 "I" (tip) | |
670 |
saved backup bundle to $TESTTMP/ah6/.hg/strip-backup/3d8a618087a7-aae93a24-rebase.hg |
|
670 | saved backup bundle to $TESTTMP/ah6/.hg/strip-backup/3d8a618087a7-aae93a24-rebase.hg | |
671 | $ hg tglog |
|
671 | $ hg tglog | |
672 | o 8: 9136df9a87cf 'I' |
|
672 | o 8: 9136df9a87cf 'I' | |
673 | | |
|
673 | | | |
@@ -736,7 +736,7 b' each root have a different common ancest' | |||||
736 | $ hg rebase --dest 'desc(G)' --rev 'desc(K) + desc(I)' |
|
736 | $ hg rebase --dest 'desc(G)' --rev 'desc(K) + desc(I)' | |
737 | rebasing 8:e7ec4e813ba6 "I" |
|
737 | rebasing 8:e7ec4e813ba6 "I" | |
738 | rebasing 10:23a4ace37988 "K" (tip) |
|
738 | rebasing 10:23a4ace37988 "K" (tip) | |
739 |
saved backup bundle to $TESTTMP/a8/.hg/strip-backup/23a4ace37988-b06984b3-rebase.hg |
|
739 | saved backup bundle to $TESTTMP/a8/.hg/strip-backup/23a4ace37988-b06984b3-rebase.hg | |
740 | $ hg log --rev 'children(desc(G))' |
|
740 | $ hg log --rev 'children(desc(G))' | |
741 | changeset: 9:adb617877056 |
|
741 | changeset: 9:adb617877056 | |
742 | parent: 6:eea13746799a |
|
742 | parent: 6:eea13746799a | |
@@ -803,7 +803,7 b' Test that rebase is not confused by $CWD' | |||||
803 | current directory was removed (rmcwd !) |
|
803 | current directory was removed (rmcwd !) | |
804 | (consider changing to repo root: $TESTTMP/cwd-vanish) (rmcwd !) |
|
804 | (consider changing to repo root: $TESTTMP/cwd-vanish) (rmcwd !) | |
805 | rebasing 3:a7d6f3a00bf3 "second source with subdir" (tip) |
|
805 | rebasing 3:a7d6f3a00bf3 "second source with subdir" (tip) | |
806 |
saved backup bundle to $TESTTMP/cwd-vanish/.hg/strip-backup/779a07b1b7a0-853e0073-rebase.hg |
|
806 | saved backup bundle to $TESTTMP/cwd-vanish/.hg/strip-backup/779a07b1b7a0-853e0073-rebase.hg | |
807 |
|
807 | |||
808 | Get back to the root of cwd-vanish. Note that even though `cd ..` |
|
808 | Get back to the root of cwd-vanish. Note that even though `cd ..` | |
809 | works on most systems, it does not work on FreeBSD 10, so we use an |
|
809 | works on most systems, it does not work on FreeBSD 10, so we use an | |
@@ -854,7 +854,7 b' Test that rebase is done in topo order (' | |||||
854 | rebasing 4:82ae8dc7a9b7 "E" |
|
854 | rebasing 4:82ae8dc7a9b7 "E" | |
855 | rebasing 3:ab709c9f7171 "D" |
|
855 | rebasing 3:ab709c9f7171 "D" | |
856 | rebasing 5:412b391de760 "F" |
|
856 | rebasing 5:412b391de760 "F" | |
857 |
saved backup bundle to $TESTTMP/order/.hg/strip-backup/76035bbd54bd-e341bc99-rebase.hg |
|
857 | saved backup bundle to $TESTTMP/order/.hg/strip-backup/76035bbd54bd-e341bc99-rebase.hg | |
858 |
|
858 | |||
859 | $ hg tglog |
|
859 | $ hg tglog | |
860 | o 6: 31884cfb735e 'F' |
|
860 | o 6: 31884cfb735e 'F' |
@@ -43,7 +43,7 b' formatting of final byte count' | |||||
43 | don't sit forever trying to double-lock the source repo |
|
43 | don't sit forever trying to double-lock the source repo | |
44 |
|
44 | |||
45 | $ hg relink . |
|
45 | $ hg relink . | |
46 |
relinking $TESTTMP/repo/.hg/store to $TESTTMP/repo/.hg/store |
|
46 | relinking $TESTTMP/repo/.hg/store to $TESTTMP/repo/.hg/store | |
47 | there is nothing to relink |
|
47 | there is nothing to relink | |
48 |
|
48 | |||
49 |
|
49 |
@@ -322,8 +322,8 b' dir, options none' | |||||
322 | \r (no-eol) (esc) |
|
322 | \r (no-eol) (esc) | |
323 | deleting [===========================================>] 2/2\r (no-eol) (esc) |
|
323 | deleting [===========================================>] 2/2\r (no-eol) (esc) | |
324 | \r (no-eol) (esc) |
|
324 | \r (no-eol) (esc) | |
325 |
removing test/bar |
|
325 | removing test/bar | |
326 |
removing test/foo |
|
326 | removing test/foo | |
327 | exit code: 0 |
|
327 | exit code: 0 | |
328 | R test/bar |
|
328 | R test/bar | |
329 | R test/foo |
|
329 | R test/foo | |
@@ -346,8 +346,8 b' dir, options -f' | |||||
346 | \r (no-eol) (esc) |
|
346 | \r (no-eol) (esc) | |
347 | deleting [===========================================>] 2/2\r (no-eol) (esc) |
|
347 | deleting [===========================================>] 2/2\r (no-eol) (esc) | |
348 | \r (no-eol) (esc) |
|
348 | \r (no-eol) (esc) | |
349 |
removing test/bar |
|
349 | removing test/bar | |
350 |
removing test/foo |
|
350 | removing test/foo | |
351 | exit code: 0 |
|
351 | exit code: 0 | |
352 | R test/bar |
|
352 | R test/bar | |
353 | R test/foo |
|
353 | R test/foo | |
@@ -370,8 +370,8 b' dir, options -Av' | |||||
370 | \r (no-eol) (esc) |
|
370 | \r (no-eol) (esc) | |
371 | deleting [===========================================>] 1/1\r (no-eol) (esc) |
|
371 | deleting [===========================================>] 1/1\r (no-eol) (esc) | |
372 | \r (no-eol) (esc) |
|
372 | \r (no-eol) (esc) | |
373 |
removing test/bar |
|
373 | removing test/bar | |
374 |
not removing test/foo: file still exists |
|
374 | not removing test/foo: file still exists | |
375 | exit code: 1 |
|
375 | exit code: 1 | |
376 | R test/bar |
|
376 | R test/bar | |
377 | ./foo |
|
377 | ./foo | |
@@ -393,7 +393,7 b' dir, options -A <dir>' | |||||
393 | \r (no-eol) (esc) |
|
393 | \r (no-eol) (esc) | |
394 | deleting [===========================================>] 1/1\r (no-eol) (esc) |
|
394 | deleting [===========================================>] 1/1\r (no-eol) (esc) | |
395 | \r (no-eol) (esc) |
|
395 | \r (no-eol) (esc) | |
396 |
removing test/bar |
|
396 | removing test/bar | |
397 | exit code: 1 |
|
397 | exit code: 1 | |
398 | R test/bar |
|
398 | R test/bar | |
399 | ./foo |
|
399 | ./foo | |
@@ -413,7 +413,7 b' without any files/dirs, options -A' | |||||
413 | \r (no-eol) (esc) |
|
413 | \r (no-eol) (esc) | |
414 | deleting [===========================================>] 1/1\r (no-eol) (esc) |
|
414 | deleting [===========================================>] 1/1\r (no-eol) (esc) | |
415 | \r (no-eol) (esc) |
|
415 | \r (no-eol) (esc) | |
416 |
removing test/bar |
|
416 | removing test/bar | |
417 | exit code: 1 |
|
417 | exit code: 1 | |
418 | R test/bar |
|
418 | R test/bar | |
419 | ./foo |
|
419 | ./foo | |
@@ -436,8 +436,8 b' dir, options -Af' | |||||
436 | \r (no-eol) (esc) |
|
436 | \r (no-eol) (esc) | |
437 | deleting [===========================================>] 2/2\r (no-eol) (esc) |
|
437 | deleting [===========================================>] 2/2\r (no-eol) (esc) | |
438 | \r (no-eol) (esc) |
|
438 | \r (no-eol) (esc) | |
439 |
removing test/bar |
|
439 | removing test/bar | |
440 |
removing test/foo |
|
440 | removing test/foo | |
441 | exit code: 0 |
|
441 | exit code: 0 | |
442 | R test/bar |
|
442 | R test/bar | |
443 | R test/foo |
|
443 | R test/foo | |
@@ -463,7 +463,7 b' test remove dropping empty trees (issue1' | |||||
463 | \r (no-eol) (esc) |
|
463 | \r (no-eol) (esc) | |
464 | deleting [===========================================>] 1/1\r (no-eol) (esc) |
|
464 | deleting [===========================================>] 1/1\r (no-eol) (esc) | |
465 | \r (no-eol) (esc) |
|
465 | \r (no-eol) (esc) | |
466 |
removing issue1861/b/c/y |
|
466 | removing issue1861/b/c/y | |
467 | $ hg ci -m remove |
|
467 | $ hg ci -m remove | |
468 | $ ls issue1861 |
|
468 | $ ls issue1861 | |
469 | x |
|
469 | x | |
@@ -497,7 +497,7 b' handling of untracked directories and mi' | |||||
497 | \r (no-eol) (esc) |
|
497 | \r (no-eol) (esc) | |
498 | deleting [===========================================>] 1/1\r (no-eol) (esc) |
|
498 | deleting [===========================================>] 1/1\r (no-eol) (esc) | |
499 | \r (no-eol) (esc) |
|
499 | \r (no-eol) (esc) | |
500 |
removing d1/a |
|
500 | removing d1/a | |
501 |
|
501 | |||
502 | $ hg rm --after nosuch |
|
502 | $ hg rm --after nosuch | |
503 | nosuch: * (glob) |
|
503 | nosuch: * (glob) |
@@ -11,8 +11,8 b'' | |||||
11 | $ hg co -C 0 |
|
11 | $ hg co -C 0 | |
12 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
12 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
13 | $ hg mv a b |
|
13 | $ hg mv a b | |
14 |
moving a/a to b/a |
|
14 | moving a/a to b/a | |
15 |
moving a/b to b/b |
|
15 | moving a/b to b/b | |
16 | $ hg ci -m "1 mv a/ b/" |
|
16 | $ hg ci -m "1 mv a/ b/" | |
17 |
|
17 | |||
18 | $ hg co -C 0 |
|
18 | $ hg co -C 0 | |
@@ -48,7 +48,7 b'' | |||||
48 | b/b: remote created -> g |
|
48 | b/b: remote created -> g | |
49 | getting b/b |
|
49 | getting b/b | |
50 | b/c: remote directory rename - move from a/c -> dm |
|
50 | b/c: remote directory rename - move from a/c -> dm | |
51 |
moving a/c to b/c |
|
51 | moving a/c to b/c | |
52 | 3 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
52 | 3 files updated, 0 files merged, 2 files removed, 0 files unresolved | |
53 | (branch merge, don't forget to commit) |
|
53 | (branch merge, don't forget to commit) | |
54 |
|
54 | |||
@@ -65,7 +65,7 b'' | |||||
65 | ? a/d |
|
65 | ? a/d | |
66 | $ hg ci -m "3 merge 2+1" |
|
66 | $ hg ci -m "3 merge 2+1" | |
67 | $ hg debugrename b/c |
|
67 | $ hg debugrename b/c | |
68 |
b/c renamed from a/c:354ae8da6e890359ef49ade27b68bbc361f3ca88 |
|
68 | b/c renamed from a/c:354ae8da6e890359ef49ade27b68bbc361f3ca88 | |
69 |
|
69 | |||
70 | $ hg co -C 1 |
|
70 | $ hg co -C 1 | |
71 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
71 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
@@ -100,7 +100,7 b'' | |||||
100 | $ hg ci -m "4 merge 1+2" |
|
100 | $ hg ci -m "4 merge 1+2" | |
101 | created new head |
|
101 | created new head | |
102 | $ hg debugrename b/c |
|
102 | $ hg debugrename b/c | |
103 |
b/c renamed from a/c:354ae8da6e890359ef49ade27b68bbc361f3ca88 |
|
103 | b/c renamed from a/c:354ae8da6e890359ef49ade27b68bbc361f3ca88 | |
104 |
|
104 | |||
105 | Local directory rename with conflicting file added in remote source directory |
|
105 | Local directory rename with conflicting file added in remote source directory | |
106 | and untracked in local target directory. |
|
106 | and untracked in local target directory. | |
@@ -191,7 +191,7 b' Second scenario with two repos:' | |||||
191 | $ mkdir a |
|
191 | $ mkdir a | |
192 | $ echo foo > a/f |
|
192 | $ echo foo > a/f | |
193 | $ hg add a |
|
193 | $ hg add a | |
194 |
adding a/f |
|
194 | adding a/f | |
195 | $ hg ci -m "a/f == foo" |
|
195 | $ hg ci -m "a/f == foo" | |
196 | $ cd .. |
|
196 | $ cd .. | |
197 |
|
197 | |||
@@ -200,7 +200,7 b' Second scenario with two repos:' | |||||
200 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
200 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
201 | $ cd r2 |
|
201 | $ cd r2 | |
202 | $ hg mv a b |
|
202 | $ hg mv a b | |
203 |
moving a/f to b/f |
|
203 | moving a/f to b/f | |
204 | $ echo foo1 > b/f |
|
204 | $ echo foo1 > b/f | |
205 | $ hg ci -m" a -> b, b/f == foo1" |
|
205 | $ hg ci -m" a -> b, b/f == foo1" | |
206 | $ cd .. |
|
206 | $ cd .. | |
@@ -209,7 +209,7 b' Second scenario with two repos:' | |||||
209 | $ mkdir a/aa |
|
209 | $ mkdir a/aa | |
210 | $ echo bar > a/aa/g |
|
210 | $ echo bar > a/aa/g | |
211 | $ hg add a/aa |
|
211 | $ hg add a/aa | |
212 |
adding a/aa/g |
|
212 | adding a/aa/g | |
213 | $ hg ci -m "a/aa/g" |
|
213 | $ hg ci -m "a/aa/g" | |
214 | $ hg pull ../r2 |
|
214 | $ hg pull ../r2 | |
215 | pulling from ../r2 |
|
215 | pulling from ../r2 |
@@ -70,7 +70,7 b' rename --after a single file when src an' | |||||
70 | rename --after a single file to a nonexistent target filename |
|
70 | rename --after a single file to a nonexistent target filename | |
71 |
|
71 | |||
72 | $ hg rename --after d1/a dummy |
|
72 | $ hg rename --after d1/a dummy | |
73 |
d1/a: not recording move - dummy does not exist |
|
73 | d1/a: not recording move - dummy does not exist | |
74 |
|
74 | |||
75 | move a single file to an existing directory |
|
75 | move a single file to an existing directory | |
76 |
|
76 | |||
@@ -120,10 +120,10 b' rename --after a file using a relative p' | |||||
120 | rename directory d1 as d3 |
|
120 | rename directory d1 as d3 | |
121 |
|
121 | |||
122 | $ hg rename d1/ d3 |
|
122 | $ hg rename d1/ d3 | |
123 |
moving d1/a to d3/a |
|
123 | moving d1/a to d3/a | |
124 |
moving d1/b to d3/b |
|
124 | moving d1/b to d3/b | |
125 |
moving d1/ba to d3/ba |
|
125 | moving d1/ba to d3/ba | |
126 |
moving d1/d11/a1 to d3/d11/a1 |
|
126 | moving d1/d11/a1 to d3/d11/a1 | |
127 | $ hg status -C |
|
127 | $ hg status -C | |
128 | A d3/a |
|
128 | A d3/a | |
129 | d1/a |
|
129 | d1/a | |
@@ -145,10 +145,10 b' rename --after directory d1 as d3' | |||||
145 |
|
145 | |||
146 | $ mv d1 d3 |
|
146 | $ mv d1 d3 | |
147 | $ hg rename --after d1 d3 |
|
147 | $ hg rename --after d1 d3 | |
148 |
moving d1/a to d3/a |
|
148 | moving d1/a to d3/a | |
149 |
moving d1/b to d3/b |
|
149 | moving d1/b to d3/b | |
150 |
moving d1/ba to d3/ba |
|
150 | moving d1/ba to d3/ba | |
151 |
moving d1/d11/a1 to d3/d11/a1 |
|
151 | moving d1/d11/a1 to d3/d11/a1 | |
152 | $ hg status -C |
|
152 | $ hg status -C | |
153 | A d3/a |
|
153 | A d3/a | |
154 | d1/a |
|
154 | d1/a | |
@@ -169,7 +169,7 b' rename --after directory d1 as d3' | |||||
169 | move a directory using a relative path |
|
169 | move a directory using a relative path | |
170 |
|
170 | |||
171 | $ (cd d2; mkdir d3; hg rename ../d1/d11 d3) |
|
171 | $ (cd d2; mkdir d3; hg rename ../d1/d11 d3) | |
172 |
moving ../d1/d11/a1 to d3/d11/a1 |
|
172 | moving ../d1/d11/a1 to d3/d11/a1 | |
173 | $ hg status -C |
|
173 | $ hg status -C | |
174 | A d2/d3/d11/a1 |
|
174 | A d2/d3/d11/a1 | |
175 | d1/d11/a1 |
|
175 | d1/d11/a1 | |
@@ -181,7 +181,7 b' move a directory using a relative path' | |||||
181 | move --after a directory using a relative path |
|
181 | move --after a directory using a relative path | |
182 |
|
182 | |||
183 | $ (cd d2; mkdir d3; mv ../d1/d11 d3; hg rename --after ../d1/d11 d3) |
|
183 | $ (cd d2; mkdir d3; mv ../d1/d11 d3; hg rename --after ../d1/d11 d3) | |
184 |
moving ../d1/d11/a1 to d3/d11/a1 |
|
184 | moving ../d1/d11/a1 to d3/d11/a1 | |
185 | $ hg status -C |
|
185 | $ hg status -C | |
186 | A d2/d3/d11/a1 |
|
186 | A d2/d3/d11/a1 | |
187 | d1/d11/a1 |
|
187 | d1/d11/a1 | |
@@ -193,7 +193,7 b' move --after a directory using a relativ' | |||||
193 | move directory d1/d11 to an existing directory d2 (removes empty d1) |
|
193 | move directory d1/d11 to an existing directory d2 (removes empty d1) | |
194 |
|
194 | |||
195 | $ hg rename d1/d11/ d2 |
|
195 | $ hg rename d1/d11/ d2 | |
196 |
moving d1/d11/a1 to d2/d11/a1 |
|
196 | moving d1/d11/a1 to d2/d11/a1 | |
197 | $ hg status -C |
|
197 | $ hg status -C | |
198 | A d2/d11/a1 |
|
198 | A d2/d11/a1 | |
199 | d1/d11/a1 |
|
199 | d1/d11/a1 | |
@@ -206,11 +206,11 b' move directories d1 and d2 to a new dire' | |||||
206 |
|
206 | |||
207 | $ mkdir d3 |
|
207 | $ mkdir d3 | |
208 | $ hg rename d1 d2 d3 |
|
208 | $ hg rename d1 d2 d3 | |
209 |
moving d1/a to d3/d1/a |
|
209 | moving d1/a to d3/d1/a | |
210 |
moving d1/b to d3/d1/b |
|
210 | moving d1/b to d3/d1/b | |
211 |
moving d1/ba to d3/d1/ba |
|
211 | moving d1/ba to d3/d1/ba | |
212 |
moving d1/d11/a1 to d3/d1/d11/a1 |
|
212 | moving d1/d11/a1 to d3/d1/d11/a1 | |
213 |
moving d2/b to d3/d2/b |
|
213 | moving d2/b to d3/d2/b | |
214 | $ hg status -C |
|
214 | $ hg status -C | |
215 | A d3/d1/a |
|
215 | A d3/d1/a | |
216 | d1/a |
|
216 | d1/a | |
@@ -236,11 +236,11 b' move --after directories d1 and d2 to a ' | |||||
236 | $ mkdir d3 |
|
236 | $ mkdir d3 | |
237 | $ mv d1 d2 d3 |
|
237 | $ mv d1 d2 d3 | |
238 | $ hg rename --after d1 d2 d3 |
|
238 | $ hg rename --after d1 d2 d3 | |
239 |
moving d1/a to d3/d1/a |
|
239 | moving d1/a to d3/d1/a | |
240 |
moving d1/b to d3/d1/b |
|
240 | moving d1/b to d3/d1/b | |
241 |
moving d1/ba to d3/d1/ba |
|
241 | moving d1/ba to d3/d1/ba | |
242 |
moving d1/d11/a1 to d3/d1/d11/a1 |
|
242 | moving d1/d11/a1 to d3/d1/d11/a1 | |
243 |
moving d2/b to d3/d2/b |
|
243 | moving d2/b to d3/d2/b | |
244 | $ hg status -C |
|
244 | $ hg status -C | |
245 | A d3/d1/a |
|
245 | A d3/d1/a | |
246 | d1/a |
|
246 | d1/a | |
@@ -267,7 +267,7 b' overwrite existing files (d2/b)' | |||||
267 | $ hg rename d1/* d2 |
|
267 | $ hg rename d1/* d2 | |
268 | d2/b: not overwriting - file already committed |
|
268 | d2/b: not overwriting - file already committed | |
269 | (hg rename --force to replace the file by recording a rename) |
|
269 | (hg rename --force to replace the file by recording a rename) | |
270 |
moving d1/d11/a1 to d2/d11/a1 |
|
270 | moving d1/d11/a1 to d2/d11/a1 | |
271 | $ hg status -C |
|
271 | $ hg status -C | |
272 | A d2/a |
|
272 | A d2/a | |
273 | d1/a |
|
273 | d1/a | |
@@ -304,14 +304,14 b' attempt to move potentially more than on' | |||||
304 | abort: with multiple sources, destination must be an existing directory |
|
304 | abort: with multiple sources, destination must be an existing directory | |
305 | [255] |
|
305 | [255] | |
306 |
|
306 | |||
307 |
move every file under d1 to d2/d21 |
|
307 | move every file under d1 to d2/d21 | |
308 |
|
308 | |||
309 | $ mkdir d2/d21 |
|
309 | $ mkdir d2/d21 | |
310 | $ hg rename 'glob:d1/**' d2/d21 |
|
310 | $ hg rename 'glob:d1/**' d2/d21 | |
311 |
moving d1/a to d2/d21/a |
|
311 | moving d1/a to d2/d21/a | |
312 |
moving d1/b to d2/d21/b |
|
312 | moving d1/b to d2/d21/b | |
313 |
moving d1/ba to d2/d21/ba |
|
313 | moving d1/ba to d2/d21/ba | |
314 |
moving d1/d11/a1 to d2/d21/a1 |
|
314 | moving d1/d11/a1 to d2/d21/a1 | |
315 | $ hg status -C |
|
315 | $ hg status -C | |
316 | A d2/d21/a |
|
316 | A d2/d21/a | |
317 | d1/a |
|
317 | d1/a | |
@@ -329,15 +329,15 b' move every file under d1 to d2/d21 (glob' | |||||
329 | 4 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
329 | 4 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
330 | $ rm -rf d2/d21 |
|
330 | $ rm -rf d2/d21 | |
331 |
|
331 | |||
332 |
move --after some files under d1 to d2/d21 |
|
332 | move --after some files under d1 to d2/d21 | |
333 |
|
333 | |||
334 | $ mkdir d2/d21 |
|
334 | $ mkdir d2/d21 | |
335 | $ mv d1/a d1/d11/a1 d2/d21 |
|
335 | $ mv d1/a d1/d11/a1 d2/d21 | |
336 | $ hg rename --after 'glob:d1/**' d2/d21 |
|
336 | $ hg rename --after 'glob:d1/**' d2/d21 | |
337 |
moving d1/a to d2/d21/a |
|
337 | moving d1/a to d2/d21/a | |
338 |
d1/b: not recording move - d2/d21/b does not exist |
|
338 | d1/b: not recording move - d2/d21/b does not exist | |
339 |
d1/ba: not recording move - d2/d21/ba does not exist |
|
339 | d1/ba: not recording move - d2/d21/ba does not exist | |
340 |
moving d1/d11/a1 to d2/d21/a1 |
|
340 | moving d1/d11/a1 to d2/d21/a1 | |
341 | $ hg status -C |
|
341 | $ hg status -C | |
342 | A d2/d21/a |
|
342 | A d2/d21/a | |
343 | d1/a |
|
343 | d1/a | |
@@ -353,8 +353,8 b' move every file under d1 starting with a' | |||||
353 |
|
353 | |||
354 | $ mkdir d2/d21 |
|
354 | $ mkdir d2/d21 | |
355 | $ hg rename 're:d1/([^a][^/]*/)*a.*' d2/d21 |
|
355 | $ hg rename 're:d1/([^a][^/]*/)*a.*' d2/d21 | |
356 |
moving d1/a to d2/d21/a |
|
356 | moving d1/a to d2/d21/a | |
357 |
moving d1/d11/a1 to d2/d21/a1 |
|
357 | moving d1/d11/a1 to d2/d21/a1 | |
358 | $ hg status -C |
|
358 | $ hg status -C | |
359 | A d2/d21/a |
|
359 | A d2/d21/a | |
360 | d1/a |
|
360 | d1/a | |
@@ -419,7 +419,7 b' do not copy more than one source file to' | |||||
419 |
|
419 | |||
420 | $ mkdir d3 |
|
420 | $ mkdir d3 | |
421 | $ hg rename d1/* d2/* d3 |
|
421 | $ hg rename d1/* d2/* d3 | |
422 |
moving d1/d11/a1 to d3/d11/a1 |
|
422 | moving d1/d11/a1 to d3/d11/a1 | |
423 | d3/b: not overwriting - d2/b collides with d1/b |
|
423 | d3/b: not overwriting - d2/b collides with d1/b | |
424 | $ hg status -C |
|
424 | $ hg status -C | |
425 | A d3/a |
|
425 | A d3/a | |
@@ -445,7 +445,7 b' move a whole subtree with "hg rename ."' | |||||
445 | moving a to ../d3/d1/a |
|
445 | moving a to ../d3/d1/a | |
446 | moving b to ../d3/d1/b |
|
446 | moving b to ../d3/d1/b | |
447 | moving ba to ../d3/d1/ba |
|
447 | moving ba to ../d3/d1/ba | |
448 |
moving d11/a1 to ../d3/d1/d11/a1 |
|
448 | moving d11/a1 to ../d3/d1/d11/a1 | |
449 | $ hg status -C |
|
449 | $ hg status -C | |
450 | A d3/d1/a |
|
450 | A d3/d1/a | |
451 | d1/a |
|
451 | d1/a | |
@@ -471,7 +471,7 b' move a whole subtree with "hg rename --a' | |||||
471 | moving a to ../d3/a |
|
471 | moving a to ../d3/a | |
472 | moving b to ../d3/b |
|
472 | moving b to ../d3/b | |
473 | moving ba to ../d3/ba |
|
473 | moving ba to ../d3/ba | |
474 |
moving d11/a1 to ../d3/d11/a1 |
|
474 | moving d11/a1 to ../d3/d11/a1 | |
475 | $ hg status -C |
|
475 | $ hg status -C | |
476 | A d3/a |
|
476 | A d3/a | |
477 | d1/a |
|
477 | d1/a | |
@@ -492,9 +492,9 b' move a whole subtree with "hg rename --a' | |||||
492 | move the parent tree with "hg rename .." |
|
492 | move the parent tree with "hg rename .." | |
493 |
|
493 | |||
494 | $ (cd d1/d11; hg rename .. ../../d3) |
|
494 | $ (cd d1/d11; hg rename .. ../../d3) | |
495 |
moving ../a to ../../d3/a |
|
495 | moving ../a to ../../d3/a | |
496 |
moving ../b to ../../d3/b |
|
496 | moving ../b to ../../d3/b | |
497 |
moving ../ba to ../../d3/ba |
|
497 | moving ../ba to ../../d3/ba | |
498 | moving a1 to ../../d3/d11/a1 |
|
498 | moving a1 to ../../d3/d11/a1 | |
499 | $ hg status -C |
|
499 | $ hg status -C | |
500 | A d3/a |
|
500 | A d3/a | |
@@ -517,9 +517,9 b' skip removed files' | |||||
517 |
|
517 | |||
518 | $ hg remove d1/b |
|
518 | $ hg remove d1/b | |
519 | $ hg rename d1 d3 |
|
519 | $ hg rename d1 d3 | |
520 |
moving d1/a to d3/a |
|
520 | moving d1/a to d3/a | |
521 |
moving d1/ba to d3/ba |
|
521 | moving d1/ba to d3/ba | |
522 |
moving d1/d11/a1 to d3/d11/a1 |
|
522 | moving d1/d11/a1 to d3/d11/a1 | |
523 | $ hg status -C |
|
523 | $ hg status -C | |
524 | A d3/a |
|
524 | A d3/a | |
525 | d1/a |
|
525 | d1/a | |
@@ -603,7 +603,7 b' overwriting with renames (issue1959)' | |||||
603 | check illegal path components |
|
603 | check illegal path components | |
604 |
|
604 | |||
605 | $ hg rename d1/d11/a1 .hg/foo |
|
605 | $ hg rename d1/d11/a1 .hg/foo | |
606 |
abort: path contains illegal component: .hg/foo |
|
606 | abort: path contains illegal component: .hg/foo | |
607 | [255] |
|
607 | [255] | |
608 | $ hg status -C |
|
608 | $ hg status -C | |
609 | $ hg rename d1/d11/a1 ../foo |
|
609 | $ hg rename d1/d11/a1 ../foo | |
@@ -613,7 +613,7 b' check illegal path components' | |||||
613 |
|
613 | |||
614 | $ mv d1/d11/a1 .hg/foo |
|
614 | $ mv d1/d11/a1 .hg/foo | |
615 | $ hg rename --after d1/d11/a1 .hg/foo |
|
615 | $ hg rename --after d1/d11/a1 .hg/foo | |
616 |
abort: path contains illegal component: .hg/foo |
|
616 | abort: path contains illegal component: .hg/foo | |
617 | [255] |
|
617 | [255] | |
618 | $ hg status -C |
|
618 | $ hg status -C | |
619 | ! d1/d11/a1 |
|
619 | ! d1/d11/a1 | |
@@ -622,25 +622,25 b' check illegal path components' | |||||
622 | $ rm .hg/foo |
|
622 | $ rm .hg/foo | |
623 |
|
623 | |||
624 | $ hg rename d1/d11/a1 .hg |
|
624 | $ hg rename d1/d11/a1 .hg | |
625 |
abort: path contains illegal component: .hg/a1 |
|
625 | abort: path contains illegal component: .hg/a1 | |
626 | [255] |
|
626 | [255] | |
627 | $ hg --config extensions.largefiles= rename d1/d11/a1 .hg |
|
627 | $ hg --config extensions.largefiles= rename d1/d11/a1 .hg | |
628 | The fsmonitor extension is incompatible with the largefiles extension and has been disabled. (fsmonitor !) |
|
628 | The fsmonitor extension is incompatible with the largefiles extension and has been disabled. (fsmonitor !) | |
629 |
abort: path contains illegal component: .hg/a1 |
|
629 | abort: path contains illegal component: .hg/a1 | |
630 | [255] |
|
630 | [255] | |
631 | $ hg status -C |
|
631 | $ hg status -C | |
632 | $ hg rename d1/d11/a1 .. |
|
632 | $ hg rename d1/d11/a1 .. | |
633 |
abort: ../a1 not under root '$TESTTMP' |
|
633 | abort: ../a1 not under root '$TESTTMP' | |
634 | [255] |
|
634 | [255] | |
635 | $ hg --config extensions.largefiles= rename d1/d11/a1 .. |
|
635 | $ hg --config extensions.largefiles= rename d1/d11/a1 .. | |
636 | The fsmonitor extension is incompatible with the largefiles extension and has been disabled. (fsmonitor !) |
|
636 | The fsmonitor extension is incompatible with the largefiles extension and has been disabled. (fsmonitor !) | |
637 |
abort: ../a1 not under root '$TESTTMP' |
|
637 | abort: ../a1 not under root '$TESTTMP' | |
638 | [255] |
|
638 | [255] | |
639 | $ hg status -C |
|
639 | $ hg status -C | |
640 |
|
640 | |||
641 | $ mv d1/d11/a1 .hg |
|
641 | $ mv d1/d11/a1 .hg | |
642 | $ hg rename --after d1/d11/a1 .hg |
|
642 | $ hg rename --after d1/d11/a1 .hg | |
643 |
abort: path contains illegal component: .hg/a1 |
|
643 | abort: path contains illegal component: .hg/a1 | |
644 | [255] |
|
644 | [255] | |
645 | $ hg status -C |
|
645 | $ hg status -C | |
646 | ! d1/d11/a1 |
|
646 | ! d1/d11/a1 | |
@@ -649,7 +649,7 b' check illegal path components' | |||||
649 | $ rm .hg/a1 |
|
649 | $ rm .hg/a1 | |
650 |
|
650 | |||
651 | $ (cd d1/d11; hg rename ../../d2/b ../../.hg/foo) |
|
651 | $ (cd d1/d11; hg rename ../../d2/b ../../.hg/foo) | |
652 |
abort: path contains illegal component: .hg/foo |
|
652 | abort: path contains illegal component: .hg/foo | |
653 | [255] |
|
653 | [255] | |
654 | $ hg status -C |
|
654 | $ hg status -C | |
655 | $ (cd d1/d11; hg rename ../../d2/b ../../../foo) |
|
655 | $ (cd d1/d11; hg rename ../../d2/b ../../../foo) |
@@ -249,7 +249,7 b' resolve --all should re-merge all unreso' | |||||
249 | .orig files should exists where specified |
|
249 | .orig files should exists where specified | |
250 | $ hg resolve --all --verbose --config 'ui.origbackuppath=.hg/origbackups' |
|
250 | $ hg resolve --all --verbose --config 'ui.origbackuppath=.hg/origbackups' | |
251 | merging file1 |
|
251 | merging file1 | |
252 |
creating directory: $TESTTMP/repo/.hg/origbackups |
|
252 | creating directory: $TESTTMP/repo/.hg/origbackups | |
253 | merging file2 |
|
253 | merging file2 | |
254 | warning: conflicts while merging file1! (edit, then use 'hg resolve --mark') |
|
254 | warning: conflicts while merging file1! (edit, then use 'hg resolve --mark') | |
255 | warning: conflicts while merging file2! (edit, then use 'hg resolve --mark') |
|
255 | warning: conflicts while merging file2! (edit, then use 'hg resolve --mark') | |
@@ -270,7 +270,7 b' resolve <file> should re-merge file' | |||||
270 | test .orig behavior with resolve |
|
270 | test .orig behavior with resolve | |
271 |
|
271 | |||
272 | $ hg resolve -q file1 --tool "sh -c 'f --dump \"$TESTTMP/repo/file1.orig\"'" |
|
272 | $ hg resolve -q file1 --tool "sh -c 'f --dump \"$TESTTMP/repo/file1.orig\"'" | |
273 |
$TESTTMP/repo/file1.orig: |
|
273 | $TESTTMP/repo/file1.orig: | |
274 | >>> |
|
274 | >>> | |
275 | foo |
|
275 | foo | |
276 | baz |
|
276 | baz |
@@ -52,9 +52,9 b' 10 run the same test than 8 from within ' | |||||
52 | > n |
|
52 | > n | |
53 | > EOF |
|
53 | > EOF | |
54 | reverting f |
|
54 | reverting f | |
55 |
reverting folder1/g |
|
55 | reverting folder1/g | |
56 |
removing folder1/i |
|
56 | removing folder1/i | |
57 |
reverting folder2/h |
|
57 | reverting folder2/h | |
58 | remove added file folder1/i (Yn)? y |
|
58 | remove added file folder1/i (Yn)? y | |
59 | diff --git a/f b/f |
|
59 | diff --git a/f b/f | |
60 | 2 hunks, 2 lines changed |
|
60 | 2 hunks, 2 lines changed | |
@@ -140,8 +140,8 b' 10 run the same test than 8 from within ' | |||||
140 | Test that --interactive lift the need for --all |
|
140 | Test that --interactive lift the need for --all | |
141 |
|
141 | |||
142 | $ echo q | hg revert -i -r 2 |
|
142 | $ echo q | hg revert -i -r 2 | |
143 |
reverting folder1/g |
|
143 | reverting folder1/g | |
144 |
reverting folder2/h |
|
144 | reverting folder2/h | |
145 | diff --git a/folder1/g b/folder1/g |
|
145 | diff --git a/folder1/g b/folder1/g | |
146 | 1 hunks, 1 lines changed |
|
146 | 1 hunks, 1 lines changed | |
147 | examine changes to 'folder1/g'? [Ynesfdaq?] q |
|
147 | examine changes to 'folder1/g'? [Ynesfdaq?] q | |
@@ -198,9 +198,9 b' Test --no-backup' | |||||
198 | > n |
|
198 | > n | |
199 | > EOF |
|
199 | > EOF | |
200 | reverting f |
|
200 | reverting f | |
201 |
reverting folder1/g |
|
201 | reverting folder1/g | |
202 |
removing folder1/i |
|
202 | removing folder1/i | |
203 |
reverting folder2/h |
|
203 | reverting folder2/h | |
204 | remove added file folder1/i (Yn)? n |
|
204 | remove added file folder1/i (Yn)? n | |
205 | diff --git a/f b/f |
|
205 | diff --git a/f b/f | |
206 | 2 hunks, 2 lines changed |
|
206 | 2 hunks, 2 lines changed |
@@ -91,8 +91,8 b' Test creation of backup (.orig) file in ' | |||||
91 |
|
91 | |||
92 | $ echo z > e |
|
92 | $ echo z > e | |
93 | $ hg revert --all -v --config 'ui.origbackuppath=.hg/origbackups' |
|
93 | $ hg revert --all -v --config 'ui.origbackuppath=.hg/origbackups' | |
94 |
creating directory: $TESTTMP/repo/.hg/origbackups |
|
94 | creating directory: $TESTTMP/repo/.hg/origbackups | |
95 |
saving current version of e as $TESTTMP/repo/.hg/origbackups/e |
|
95 | saving current version of e as $TESTTMP/repo/.hg/origbackups/e | |
96 | reverting e |
|
96 | reverting e | |
97 | $ rm -rf .hg/origbackups |
|
97 | $ rm -rf .hg/origbackups | |
98 |
|
98 | |||
@@ -283,11 +283,11 b' Issue332: confusing message when reverti' | |||||
283 | $ echo foo > newdir/newfile |
|
283 | $ echo foo > newdir/newfile | |
284 | $ hg add newdir/newfile |
|
284 | $ hg add newdir/newfile | |
285 | $ hg revert b newdir |
|
285 | $ hg revert b newdir | |
286 |
reverting b/b |
|
286 | reverting b/b | |
287 |
forgetting newdir/newfile |
|
287 | forgetting newdir/newfile | |
288 | $ echo foobar > b/b |
|
288 | $ echo foobar > b/b | |
289 | $ hg revert . |
|
289 | $ hg revert . | |
290 |
reverting b/b |
|
290 | reverting b/b | |
291 |
|
291 | |||
292 |
|
292 | |||
293 | reverting a rename target should revert the source |
|
293 | reverting a rename target should revert the source | |
@@ -336,8 +336,8 b' should revert ignored* and undelete *rem' | |||||
336 |
|
336 | |||
337 | $ hg revert -a --no-backup |
|
337 | $ hg revert -a --no-backup | |
338 | reverting ignored |
|
338 | reverting ignored | |
339 |
reverting ignoreddir/file |
|
339 | reverting ignoreddir/file | |
340 |
undeleting ignoreddir/removed |
|
340 | undeleting ignoreddir/removed | |
341 | undeleting removed |
|
341 | undeleting removed | |
342 | $ hg st -mardi |
|
342 | $ hg st -mardi | |
343 |
|
343 |
@@ -37,7 +37,7 b' set up verbosemmap extension' | |||||
37 |
|
37 | |||
38 | mmap index which is now more than 4k long |
|
38 | mmap index which is now more than 4k long | |
39 | $ hg log -l 5 -T '{rev}\n' --config experimental.mmapindexthreshold=4k |
|
39 | $ hg log -l 5 -T '{rev}\n' --config experimental.mmapindexthreshold=4k | |
40 |
mmapping $TESTTMP/a/.hg/store/00changelog.i |
|
40 | mmapping $TESTTMP/a/.hg/store/00changelog.i | |
41 | 100 |
|
41 | 100 | |
42 | 99 |
|
42 | 99 | |
43 | 98 |
|
43 | 98 |
@@ -38,7 +38,7 b'' | |||||
38 | $ cat .hg/hgrc |
|
38 | $ cat .hg/hgrc | |
39 | # example repository config (see 'hg help config' for more info) |
|
39 | # example repository config (see 'hg help config' for more info) | |
40 | [paths] |
|
40 | [paths] | |
41 |
default = $TESTTMP/a#stable |
|
41 | default = $TESTTMP/a#stable | |
42 |
|
42 | |||
43 | # path aliases to other clones of this repo in URLs or filesystem paths |
|
43 | # path aliases to other clones of this repo in URLs or filesystem paths | |
44 | # (see 'hg help config.paths' for more info) |
|
44 | # (see 'hg help config.paths' for more info) | |
@@ -70,7 +70,7 b'' | |||||
70 |
|
70 | |||
71 |
|
71 | |||
72 | $ hg tout |
|
72 | $ hg tout | |
73 |
comparing with $TESTTMP/a |
|
73 | comparing with $TESTTMP/a | |
74 | searching for changes |
|
74 | searching for changes | |
75 | 2:1d4099801a4e: '3' stable |
|
75 | 2:1d4099801a4e: '3' stable | |
76 |
|
76 | |||
@@ -90,7 +90,7 b'' | |||||
90 | $ cat .hg/hgrc |
|
90 | $ cat .hg/hgrc | |
91 | # example repository config (see 'hg help config' for more info) |
|
91 | # example repository config (see 'hg help config' for more info) | |
92 | [paths] |
|
92 | [paths] | |
93 |
default = $TESTTMP/a#stable |
|
93 | default = $TESTTMP/a#stable | |
94 |
|
94 | |||
95 | # path aliases to other clones of this repo in URLs or filesystem paths |
|
95 | # path aliases to other clones of this repo in URLs or filesystem paths | |
96 | # (see 'hg help config.paths' for more info) |
|
96 | # (see 'hg help config.paths' for more info) |
@@ -680,7 +680,7 b' Refuse the fix' | |||||
680 | Interactive with custom view |
|
680 | Interactive with custom view | |
681 |
|
681 | |||
682 | $ echo 'n' | rt -i --view echo |
|
682 | $ echo 'n' | rt -i --view echo | |
683 |
$TESTTMP/test-failure.t $TESTTMP/test-failure.t.err |
|
683 | $TESTTMP/test-failure.t $TESTTMP/test-failure.t.err | |
684 | Accept this change? [n]* (glob) |
|
684 | Accept this change? [n]* (glob) | |
685 | ERROR: test-failure.t output changed |
|
685 | ERROR: test-failure.t output changed | |
686 | !. |
|
686 | !. | |
@@ -692,7 +692,7 b' Interactive with custom view' | |||||
692 | View the fix |
|
692 | View the fix | |
693 |
|
693 | |||
694 | $ echo 'y' | rt --view echo |
|
694 | $ echo 'y' | rt --view echo | |
695 |
$TESTTMP/test-failure.t $TESTTMP/test-failure.t.err |
|
695 | $TESTTMP/test-failure.t $TESTTMP/test-failure.t.err | |
696 |
|
696 | |||
697 | ERROR: test-failure.t output changed |
|
697 | ERROR: test-failure.t output changed | |
698 | !. |
|
698 | !. | |
@@ -858,8 +858,8 b' No Diff' | |||||
858 | test --tmpdir support |
|
858 | test --tmpdir support | |
859 | $ rt --tmpdir=$TESTTMP/keep test-success.t |
|
859 | $ rt --tmpdir=$TESTTMP/keep test-success.t | |
860 |
|
860 | |||
861 |
Keeping testtmp dir: $TESTTMP/keep/child1/test-success.t |
|
861 | Keeping testtmp dir: $TESTTMP/keep/child1/test-success.t | |
862 |
Keeping threadtmp dir: $TESTTMP/keep/child1 |
|
862 | Keeping threadtmp dir: $TESTTMP/keep/child1 | |
863 | . |
|
863 | . | |
864 | # Ran 1 tests, 0 skipped, 0 failed. |
|
864 | # Ran 1 tests, 0 skipped, 0 failed. | |
865 |
|
865 |
@@ -41,14 +41,14 b" share shouldn't have a cache dir, origin" | |||||
41 | Some sed versions appends newline, some don't, and some just fails |
|
41 | Some sed versions appends newline, some don't, and some just fails | |
42 |
|
42 | |||
43 | $ cat .hg/sharedpath; echo |
|
43 | $ cat .hg/sharedpath; echo | |
44 |
$TESTTMP/repo1/.hg |
|
44 | $TESTTMP/repo1/.hg | |
45 |
|
45 | |||
46 | trailing newline on .hg/sharedpath is ok |
|
46 | trailing newline on .hg/sharedpath is ok | |
47 | $ hg tip -q |
|
47 | $ hg tip -q | |
48 | 0:d3873e73d99e |
|
48 | 0:d3873e73d99e | |
49 | $ echo '' >> .hg/sharedpath |
|
49 | $ echo '' >> .hg/sharedpath | |
50 | $ cat .hg/sharedpath |
|
50 | $ cat .hg/sharedpath | |
51 |
$TESTTMP/repo1/.hg |
|
51 | $TESTTMP/repo1/.hg | |
52 | $ hg tip -q |
|
52 | $ hg tip -q | |
53 | 0:d3873e73d99e |
|
53 | 0:d3873e73d99e | |
54 |
|
54 | |||
@@ -278,7 +278,7 b' test pushing bookmarks works' | |||||
278 | bm3 4:62f4ded848e4 |
|
278 | bm3 4:62f4ded848e4 | |
279 | * bm4 5:92793bfc8cad |
|
279 | * bm4 5:92793bfc8cad | |
280 | $ hg push -B bm4 |
|
280 | $ hg push -B bm4 | |
281 |
pushing to $TESTTMP/repo3 |
|
281 | pushing to $TESTTMP/repo3 | |
282 | searching for changes |
|
282 | searching for changes | |
283 | adding changesets |
|
283 | adding changesets | |
284 | adding manifests |
|
284 | adding manifests | |
@@ -348,7 +348,7 b' verify that bookmarks are not written on' | |||||
348 | bm1 3:b87954705719 |
|
348 | bm1 3:b87954705719 | |
349 | bm4 5:92793bfc8cad |
|
349 | bm4 5:92793bfc8cad | |
350 | $ hg --config "extensions.failpullbookmarks=$TESTTMP/failpullbookmarks.py" pull $TESTTMP/repo4 |
|
350 | $ hg --config "extensions.failpullbookmarks=$TESTTMP/failpullbookmarks.py" pull $TESTTMP/repo4 | |
351 |
pulling from $TESTTMP/repo4 |
|
351 | pulling from $TESTTMP/repo4 | |
352 | searching for changes |
|
352 | searching for changes | |
353 | no changes found |
|
353 | no changes found | |
354 | adding remote bookmark bm3 |
|
354 | adding remote bookmark bm3 | |
@@ -358,7 +358,7 b' verify that bookmarks are not written on' | |||||
358 | bm1 3:b87954705719 |
|
358 | bm1 3:b87954705719 | |
359 | bm4 5:92793bfc8cad |
|
359 | bm4 5:92793bfc8cad | |
360 | $ hg pull $TESTTMP/repo4 |
|
360 | $ hg pull $TESTTMP/repo4 | |
361 |
pulling from $TESTTMP/repo4 |
|
361 | pulling from $TESTTMP/repo4 | |
362 | searching for changes |
|
362 | searching for changes | |
363 | no changes found |
|
363 | no changes found | |
364 | adding remote bookmark bm3 |
|
364 | adding remote bookmark bm3 | |
@@ -396,7 +396,7 b' test shared clones using relative paths ' | |||||
396 | $ hg share -U thisdir/orig thisdir/abs |
|
396 | $ hg share -U thisdir/orig thisdir/abs | |
397 | $ hg share -U --relative thisdir/abs thisdir/rel |
|
397 | $ hg share -U --relative thisdir/abs thisdir/rel | |
398 | $ cat thisdir/rel/.hg/sharedpath |
|
398 | $ cat thisdir/rel/.hg/sharedpath | |
399 |
../../orig/.hg (no-eol) |
|
399 | ../../orig/.hg (no-eol) | |
400 | $ grep shared thisdir/*/.hg/requires |
|
400 | $ grep shared thisdir/*/.hg/requires | |
401 | thisdir/abs/.hg/requires:shared |
|
401 | thisdir/abs/.hg/requires:shared | |
402 | thisdir/rel/.hg/requires:shared |
|
402 | thisdir/rel/.hg/requires:shared | |
@@ -406,22 +406,22 b" test that relative shared paths aren't r" | |||||
406 |
|
406 | |||
407 | $ cd thisdir |
|
407 | $ cd thisdir | |
408 | $ hg -R rel root |
|
408 | $ hg -R rel root | |
409 |
$TESTTMP/thisdir/rel |
|
409 | $TESTTMP/thisdir/rel | |
410 | $ cd .. |
|
410 | $ cd .. | |
411 |
|
411 | |||
412 | now test that relative paths really are relative, survive across |
|
412 | now test that relative paths really are relative, survive across | |
413 | renames and changes of PWD |
|
413 | renames and changes of PWD | |
414 |
|
414 | |||
415 | $ hg -R thisdir/abs root |
|
415 | $ hg -R thisdir/abs root | |
416 |
$TESTTMP/thisdir/abs |
|
416 | $TESTTMP/thisdir/abs | |
417 | $ hg -R thisdir/rel root |
|
417 | $ hg -R thisdir/rel root | |
418 |
$TESTTMP/thisdir/rel |
|
418 | $TESTTMP/thisdir/rel | |
419 | $ mv thisdir thatdir |
|
419 | $ mv thisdir thatdir | |
420 | $ hg -R thatdir/abs root |
|
420 | $ hg -R thatdir/abs root | |
421 |
abort: .hg/sharedpath points to nonexistent directory $TESTTMP/thisdir/orig/.hg! |
|
421 | abort: .hg/sharedpath points to nonexistent directory $TESTTMP/thisdir/orig/.hg! | |
422 | [255] |
|
422 | [255] | |
423 | $ hg -R thatdir/rel root |
|
423 | $ hg -R thatdir/rel root | |
424 |
$TESTTMP/thatdir/rel |
|
424 | $TESTTMP/thatdir/rel | |
425 |
|
425 | |||
426 | test unshare relshared repo |
|
426 | test unshare relshared repo | |
427 |
|
427 |
@@ -158,7 +158,7 b' set up some more complex changes to shel' | |||||
158 |
|
158 | |||
159 | $ echo a >> a/a |
|
159 | $ echo a >> a/a | |
160 | $ hg mv b b.rename |
|
160 | $ hg mv b b.rename | |
161 |
moving b/b to b.rename/b |
|
161 | moving b/b to b.rename/b | |
162 | $ hg cp c c.copy |
|
162 | $ hg cp c c.copy | |
163 | $ hg status -C |
|
163 | $ hg status -C | |
164 | M a/a |
|
164 | M a/a | |
@@ -352,7 +352,7 b' force a conflicted merge to occur' | |||||
352 |
|
352 | |||
353 | # Unresolved merge conflicts: |
|
353 | # Unresolved merge conflicts: | |
354 | # |
|
354 | # | |
355 |
# a/a |
|
355 | # a/a | |
356 | # |
|
356 | # | |
357 | # To mark files as resolved: hg resolve --mark FILE |
|
357 | # To mark files as resolved: hg resolve --mark FILE | |
358 |
|
358 | |||
@@ -643,7 +643,7 b' shelve should leave dirstate clean (issu' | |||||
643 | $ hg rebase -d 1 --config extensions.rebase= |
|
643 | $ hg rebase -d 1 --config extensions.rebase= | |
644 | rebasing 2:323bfa07f744 "xyz" (tip) |
|
644 | rebasing 2:323bfa07f744 "xyz" (tip) | |
645 | merging x |
|
645 | merging x | |
646 |
saved backup bundle to $TESTTMP/shelverebase/.hg/strip-backup/323bfa07f744-78114325-rebase.hg |
|
646 | saved backup bundle to $TESTTMP/shelverebase/.hg/strip-backup/323bfa07f744-78114325-rebase.hg | |
647 | $ hg unshelve |
|
647 | $ hg unshelve | |
648 | unshelving change 'default' |
|
648 | unshelving change 'default' | |
649 | rebasing shelved changes |
|
649 | rebasing shelved changes | |
@@ -899,7 +899,7 b' Test that resolving all conflicts in one' | |||||
899 | is a no-op), works (issue4398) |
|
899 | is a no-op), works (issue4398) | |
900 |
|
900 | |||
901 | $ hg revert -a -r . |
|
901 | $ hg revert -a -r . | |
902 |
reverting a/a |
|
902 | reverting a/a | |
903 | $ hg resolve -m a/a |
|
903 | $ hg resolve -m a/a | |
904 | (no more unresolved files) |
|
904 | (no more unresolved files) | |
905 | continue: hg unshelve --continue |
|
905 | continue: hg unshelve --continue |
@@ -36,7 +36,7 b' continuing the current defaultbranch' | |||||
36 |
|
36 | |||
37 | $ mkcommit c_dB0 |
|
37 | $ mkcommit c_dB0 | |
38 | $ hg push |
|
38 | $ hg push | |
39 |
pushing to $TESTTMP/single-head-server |
|
39 | pushing to $TESTTMP/single-head-server | |
40 | searching for changes |
|
40 | searching for changes | |
41 | adding changesets |
|
41 | adding changesets | |
42 | adding manifests |
|
42 | adding manifests | |
@@ -52,7 +52,7 b' creating a new branch' | |||||
52 | (branches are permanent and global, did you want a bookmark?) |
|
52 | (branches are permanent and global, did you want a bookmark?) | |
53 | $ mkcommit c_aC0 |
|
53 | $ mkcommit c_aC0 | |
54 | $ hg push --new-branch |
|
54 | $ hg push --new-branch | |
55 |
pushing to $TESTTMP/single-head-server |
|
55 | pushing to $TESTTMP/single-head-server | |
56 | searching for changes |
|
56 | searching for changes | |
57 | adding changesets |
|
57 | adding changesets | |
58 | adding manifests |
|
58 | adding manifests | |
@@ -66,7 +66,7 b' Create a new head on the default branch' | |||||
66 | $ mkcommit c_dD0 |
|
66 | $ mkcommit c_dD0 | |
67 | created new head |
|
67 | created new head | |
68 | $ hg push -f |
|
68 | $ hg push -f | |
69 |
pushing to $TESTTMP/single-head-server |
|
69 | pushing to $TESTTMP/single-head-server | |
70 | searching for changes |
|
70 | searching for changes | |
71 | adding changesets |
|
71 | adding changesets | |
72 | adding manifests |
|
72 | adding manifests | |
@@ -85,7 +85,7 b' remerge them' | |||||
85 | (branch merge, don't forget to commit) |
|
85 | (branch merge, don't forget to commit) | |
86 | $ mkcommit c_dE0 |
|
86 | $ mkcommit c_dE0 | |
87 | $ hg push |
|
87 | $ hg push | |
88 |
pushing to $TESTTMP/single-head-server |
|
88 | pushing to $TESTTMP/single-head-server | |
89 | searching for changes |
|
89 | searching for changes | |
90 | adding changesets |
|
90 | adding changesets | |
91 | adding manifests |
|
91 | adding manifests | |
@@ -97,7 +97,7 b' Test single head enforcing - after rewri' | |||||
97 |
|
97 | |||
98 | $ mkcommit c_dF0 |
|
98 | $ mkcommit c_dF0 | |
99 | $ hg push |
|
99 | $ hg push | |
100 |
pushing to $TESTTMP/single-head-server |
|
100 | pushing to $TESTTMP/single-head-server | |
101 | searching for changes |
|
101 | searching for changes | |
102 | adding changesets |
|
102 | adding changesets | |
103 | adding manifests |
|
103 | adding manifests | |
@@ -105,7 +105,7 b' Test single head enforcing - after rewri' | |||||
105 | added 1 changesets with 1 changes to 1 files |
|
105 | added 1 changesets with 1 changes to 1 files | |
106 | $ hg commit --amend -m c_dF1 |
|
106 | $ hg commit --amend -m c_dF1 | |
107 | $ hg push |
|
107 | $ hg push | |
108 |
pushing to $TESTTMP/single-head-server |
|
108 | pushing to $TESTTMP/single-head-server | |
109 | searching for changes |
|
109 | searching for changes | |
110 | adding changesets |
|
110 | adding changesets | |
111 | adding manifests |
|
111 | adding manifests | |
@@ -199,5 +199,5 b' setup' | |||||
199 | actual stripping |
|
199 | actual stripping | |
200 |
|
200 | |||
201 | $ hg strip --config extensions.strip= --rev 'desc("c_dH0")' |
|
201 | $ hg strip --config extensions.strip= --rev 'desc("c_dH0")' | |
202 |
saved backup bundle to $TESTTMP/client/.hg/strip-backup/fe47ea669cea-a41bf5a9-backup.hg |
|
202 | saved backup bundle to $TESTTMP/client/.hg/strip-backup/fe47ea669cea-a41bf5a9-backup.hg | |
203 |
|
203 |
@@ -257,7 +257,7 b' Verify strip -k resets dirstate correctl' | |||||
257 | 4 files changed, 4 insertions(+), 2 deletions(-) |
|
257 | 4 files changed, 4 insertions(+), 2 deletions(-) | |
258 |
|
258 | |||
259 | $ hg strip -r . -k |
|
259 | $ hg strip -r . -k | |
260 |
saved backup bundle to $TESTTMP/myrepo/.hg/strip-backup/39278f7c08a9-ce59e002-backup.hg |
|
260 | saved backup bundle to $TESTTMP/myrepo/.hg/strip-backup/39278f7c08a9-ce59e002-backup.hg | |
261 | $ hg status |
|
261 | $ hg status | |
262 | M show |
|
262 | M show | |
263 | ? show2 |
|
263 | ? show2 | |
@@ -267,7 +267,7 b' Verify rebase succeeds if all changed fi' | |||||
267 | $ hg commit -Aqm "add show2" |
|
267 | $ hg commit -Aqm "add show2" | |
268 | $ hg rebase -d 1 --config extensions.rebase= |
|
268 | $ hg rebase -d 1 --config extensions.rebase= | |
269 | rebasing 2:bdde55290160 "add show2" (tip) |
|
269 | rebasing 2:bdde55290160 "add show2" (tip) | |
270 |
saved backup bundle to $TESTTMP/myrepo/.hg/strip-backup/bdde55290160-216ed9c6-rebase.hg |
|
270 | saved backup bundle to $TESTTMP/myrepo/.hg/strip-backup/bdde55290160-216ed9c6-rebase.hg | |
271 |
|
271 | |||
272 | Verify log --sparse only shows commits that affect the sparse checkout |
|
272 | Verify log --sparse only shows commits that affect the sparse checkout | |
273 |
|
273 |
@@ -372,7 +372,7 b' parameters:' | |||||
372 | 73649e48688a |
|
372 | 73649e48688a | |
373 |
|
373 | |||
374 | $ hg id --ssh "sh ssh.sh" "ssh://user@dummy/a'repo" |
|
374 | $ hg id --ssh "sh ssh.sh" "ssh://user@dummy/a'repo" | |
375 |
remote: Illegal repository "$TESTTMP/a'repo" |
|
375 | remote: Illegal repository "$TESTTMP/a'repo" | |
376 | abort: no suitable response from remote hg! |
|
376 | abort: no suitable response from remote hg! | |
377 | [255] |
|
377 | [255] | |
378 |
|
378 |
@@ -389,7 +389,7 b' parameters:' | |||||
389 | 73649e48688a |
|
389 | 73649e48688a | |
390 |
|
390 | |||
391 | $ hg id --ssh "sh ssh.sh" "ssh://user@dummy/a'repo" |
|
391 | $ hg id --ssh "sh ssh.sh" "ssh://user@dummy/a'repo" | |
392 |
remote: Illegal repository "$TESTTMP/a'repo" |
|
392 | remote: Illegal repository "$TESTTMP/a'repo" | |
393 | abort: no suitable response from remote hg! |
|
393 | abort: no suitable response from remote hg! | |
394 | [255] |
|
394 | [255] | |
395 |
|
395 |
@@ -203,7 +203,7 b'' | |||||
203 |
|
203 | |||
204 | $ hg --traceback strip 4 |
|
204 | $ hg --traceback strip 4 | |
205 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
205 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
206 |
saved backup bundle to $TESTTMP/test/.hg/strip-backup/264128213d29-0b39d6bf-backup.hg |
|
206 | saved backup bundle to $TESTTMP/test/.hg/strip-backup/264128213d29-0b39d6bf-backup.hg | |
207 | $ hg parents |
|
207 | $ hg parents | |
208 | changeset: 1:ef3a871183d7 |
|
208 | changeset: 1:ef3a871183d7 | |
209 | user: test |
|
209 | user: test | |
@@ -659,7 +659,7 b' test hg strip -B bookmark' | |||||
659 | singlenode1 13:43227190fef8 |
|
659 | singlenode1 13:43227190fef8 | |
660 | singlenode2 13:43227190fef8 |
|
660 | singlenode2 13:43227190fef8 | |
661 | $ hg strip -B multipledelete1 -B multipledelete2 |
|
661 | $ hg strip -B multipledelete1 -B multipledelete2 | |
662 |
saved backup bundle to $TESTTMP/bookmarks/.hg/strip-backup/e46a4836065c-89ec65c2-backup.hg |
|
662 | saved backup bundle to $TESTTMP/bookmarks/.hg/strip-backup/e46a4836065c-89ec65c2-backup.hg | |
663 | bookmark 'multipledelete1' deleted |
|
663 | bookmark 'multipledelete1' deleted | |
664 | bookmark 'multipledelete2' deleted |
|
664 | bookmark 'multipledelete2' deleted | |
665 | $ hg id -ir e46a4836065c |
|
665 | $ hg id -ir e46a4836065c | |
@@ -669,7 +669,7 b' test hg strip -B bookmark' | |||||
669 | abort: unknown revision 'b4594d867745'! |
|
669 | abort: unknown revision 'b4594d867745'! | |
670 | [255] |
|
670 | [255] | |
671 | $ hg strip -B singlenode1 -B singlenode2 |
|
671 | $ hg strip -B singlenode1 -B singlenode2 | |
672 |
saved backup bundle to $TESTTMP/bookmarks/.hg/strip-backup/43227190fef8-8da858f2-backup.hg |
|
672 | saved backup bundle to $TESTTMP/bookmarks/.hg/strip-backup/43227190fef8-8da858f2-backup.hg | |
673 | bookmark 'singlenode1' deleted |
|
673 | bookmark 'singlenode1' deleted | |
674 | bookmark 'singlenode2' deleted |
|
674 | bookmark 'singlenode2' deleted | |
675 | $ hg id -ir 43227190fef8 |
|
675 | $ hg id -ir 43227190fef8 | |
@@ -737,12 +737,12 b" Verify bundles don't get overwritten:" | |||||
737 | $ hg commit -Aqm b |
|
737 | $ hg commit -Aqm b | |
738 | $ hg strip -r 0 |
|
738 | $ hg strip -r 0 | |
739 | 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
739 | 0 files updated, 0 files merged, 2 files removed, 0 files unresolved | |
740 |
saved backup bundle to $TESTTMP/doublebundle/.hg/strip-backup/3903775176ed-e68910bd-backup.hg |
|
740 | saved backup bundle to $TESTTMP/doublebundle/.hg/strip-backup/3903775176ed-e68910bd-backup.hg | |
741 | $ ls .hg/strip-backup |
|
741 | $ ls .hg/strip-backup | |
742 | 3903775176ed-e68910bd-backup.hg |
|
742 | 3903775176ed-e68910bd-backup.hg | |
743 | $ hg pull -q -r 3903775176ed .hg/strip-backup/3903775176ed-e68910bd-backup.hg |
|
743 | $ hg pull -q -r 3903775176ed .hg/strip-backup/3903775176ed-e68910bd-backup.hg | |
744 | $ hg strip -r 0 |
|
744 | $ hg strip -r 0 | |
745 |
saved backup bundle to $TESTTMP/doublebundle/.hg/strip-backup/3903775176ed-54390173-backup.hg |
|
745 | saved backup bundle to $TESTTMP/doublebundle/.hg/strip-backup/3903775176ed-54390173-backup.hg | |
746 | $ ls .hg/strip-backup |
|
746 | $ ls .hg/strip-backup | |
747 | 3903775176ed-54390173-backup.hg |
|
747 | 3903775176ed-54390173-backup.hg | |
748 | 3903775176ed-e68910bd-backup.hg |
|
748 | 3903775176ed-e68910bd-backup.hg | |
@@ -846,7 +846,7 b' check strip behavior' | |||||
846 | bundle2-output-bundle: "HG20", (1 params) 2 parts total |
|
846 | bundle2-output-bundle: "HG20", (1 params) 2 parts total | |
847 | bundle2-output-part: "changegroup" (params: 1 mandatory 1 advisory) streamed payload |
|
847 | bundle2-output-part: "changegroup" (params: 1 mandatory 1 advisory) streamed payload | |
848 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
848 | bundle2-output-part: "phase-heads" 24 bytes payload | |
849 |
saved backup bundle to $TESTTMP/issue4736/.hg/strip-backup/6625a5168474-345bb43d-backup.hg |
|
849 | saved backup bundle to $TESTTMP/issue4736/.hg/strip-backup/6625a5168474-345bb43d-backup.hg | |
850 | updating the branch cache |
|
850 | updating the branch cache | |
851 | invalid branchheads cache (served): tip differs |
|
851 | invalid branchheads cache (served): tip differs | |
852 | truncating cache/rbc-revs-v1 to 24 |
|
852 | truncating cache/rbc-revs-v1 to 24 | |
@@ -917,7 +917,7 b' Check that the phase cache is properly i' | |||||
917 | $ hg book -r tip blah |
|
917 | $ hg book -r tip blah | |
918 | $ hg strip ".^" --config extensions.crash=$TESTTMP/stripstalephasecache.py |
|
918 | $ hg strip ".^" --config extensions.crash=$TESTTMP/stripstalephasecache.py | |
919 | 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
919 | 0 files updated, 0 files merged, 2 files removed, 0 files unresolved | |
920 |
saved backup bundle to $TESTTMP/issue4736/.hg/strip-backup/8f0b4384875c-4fa10deb-backup.hg |
|
920 | saved backup bundle to $TESTTMP/issue4736/.hg/strip-backup/8f0b4384875c-4fa10deb-backup.hg | |
921 | $ hg up -C 1 |
|
921 | $ hg up -C 1 | |
922 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
922 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
923 |
|
923 | |||
@@ -937,8 +937,8 b' Error during post-close callback of the ' | |||||
937 | > repo.__class__ = crashstriprepo |
|
937 | > repo.__class__ = crashstriprepo | |
938 | > EOF |
|
938 | > EOF | |
939 | $ hg strip tip --config extensions.crash=$TESTTMP/crashstrip.py |
|
939 | $ hg strip tip --config extensions.crash=$TESTTMP/crashstrip.py | |
940 |
saved backup bundle to $TESTTMP/issue4736/.hg/strip-backup/5c51d8d6557d-70daef06-backup.hg |
|
940 | saved backup bundle to $TESTTMP/issue4736/.hg/strip-backup/5c51d8d6557d-70daef06-backup.hg | |
941 |
strip failed, backup bundle stored in '$TESTTMP/issue4736/.hg/strip-backup/5c51d8d6557d-70daef06-backup.hg' |
|
941 | strip failed, backup bundle stored in '$TESTTMP/issue4736/.hg/strip-backup/5c51d8d6557d-70daef06-backup.hg' | |
942 | abort: boom |
|
942 | abort: boom | |
943 | [255] |
|
943 | [255] | |
944 |
|
944 | |||
@@ -1005,7 +1005,7 b' test stripping a working directory paren' | |||||
1005 |
|
1005 | |||
1006 | $ hg strip --force -r 35358f982181 |
|
1006 | $ hg strip --force -r 35358f982181 | |
1007 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
1007 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
1008 |
saved backup bundle to $TESTTMP/issue4736/.hg/strip-backup/35358f982181-50d992d4-backup.hg |
|
1008 | saved backup bundle to $TESTTMP/issue4736/.hg/strip-backup/35358f982181-50d992d4-backup.hg | |
1009 | $ hg log -G |
|
1009 | $ hg log -G | |
1010 | @ changeset: 3:f62c6c09b707 |
|
1010 | @ changeset: 3:f62c6c09b707 | |
1011 | | branch: new-branch |
|
1011 | | branch: new-branch | |
@@ -1082,7 +1082,7 b' test stripping a working directory paren' | |||||
1082 |
|
1082 | |||
1083 | $ hg strip -r 35358f982181 |
|
1083 | $ hg strip -r 35358f982181 | |
1084 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
1084 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
1085 |
saved backup bundle to $TESTTMP/issue4736/.hg/strip-backup/35358f982181-a6f020aa-backup.hg |
|
1085 | saved backup bundle to $TESTTMP/issue4736/.hg/strip-backup/35358f982181-a6f020aa-backup.hg | |
1086 | $ hg log -G |
|
1086 | $ hg log -G | |
1087 | @ changeset: 3:f62c6c09b707 |
|
1087 | @ changeset: 3:f62c6c09b707 | |
1088 | | branch: new-branch |
|
1088 | | branch: new-branch | |
@@ -1109,7 +1109,7 b' test stripping a working directory paren' | |||||
1109 |
|
1109 | |||
1110 |
|
1110 | |||
1111 | $ hg pull -u $TESTTMP/issue4736/.hg/strip-backup/35358f982181-a6f020aa-backup.hg |
|
1111 | $ hg pull -u $TESTTMP/issue4736/.hg/strip-backup/35358f982181-a6f020aa-backup.hg | |
1112 |
pulling from $TESTTMP/issue4736/.hg/strip-backup/35358f982181-a6f020aa-backup.hg |
|
1112 | pulling from $TESTTMP/issue4736/.hg/strip-backup/35358f982181-a6f020aa-backup.hg | |
1113 | searching for changes |
|
1113 | searching for changes | |
1114 | adding changesets |
|
1114 | adding changesets | |
1115 | adding manifests |
|
1115 | adding manifests | |
@@ -1119,7 +1119,7 b' test stripping a working directory paren' | |||||
1119 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
1119 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
1120 |
|
1120 | |||
1121 | $ hg strip -k -r 35358f982181 |
|
1121 | $ hg strip -k -r 35358f982181 | |
1122 |
saved backup bundle to $TESTTMP/issue4736/.hg/strip-backup/35358f982181-a6f020aa-backup.hg |
|
1122 | saved backup bundle to $TESTTMP/issue4736/.hg/strip-backup/35358f982181-a6f020aa-backup.hg | |
1123 | $ hg log -G |
|
1123 | $ hg log -G | |
1124 | @ changeset: 3:f62c6c09b707 |
|
1124 | @ changeset: 3:f62c6c09b707 | |
1125 | | branch: new-branch |
|
1125 | | branch: new-branch | |
@@ -1188,7 +1188,7 b' Use delayedstrip to strip inside a trans' | |||||
1188 | > EOF |
|
1188 | > EOF | |
1189 | $ hg testdelayedstrip --config extensions.t=$TESTTMP/delayedstrip.py |
|
1189 | $ hg testdelayedstrip --config extensions.t=$TESTTMP/delayedstrip.py | |
1190 | warning: orphaned descendants detected, not stripping 08ebfeb61bac, 112478962961, 7fb047a69f22 |
|
1190 | warning: orphaned descendants detected, not stripping 08ebfeb61bac, 112478962961, 7fb047a69f22 | |
1191 |
saved backup bundle to $TESTTMP/delayedstrip/.hg/strip-backup/f585351a92f8-17475721-I.hg |
|
1191 | saved backup bundle to $TESTTMP/delayedstrip/.hg/strip-backup/f585351a92f8-17475721-I.hg | |
1192 |
|
1192 | |||
1193 | $ hg log -G -T '{rev}:{node|short} {desc}' -r 'sort(all(), topo)' |
|
1193 | $ hg log -G -T '{rev}:{node|short} {desc}' -r 'sort(all(), topo)' | |
1194 | @ 6:2f2d51af6205 J |
|
1194 | @ 6:2f2d51af6205 J | |
@@ -1242,7 +1242,7 b' Test high-level scmutil.cleanupnodes API' | |||||
1242 | > EOF |
|
1242 | > EOF | |
1243 | $ hg testnodescleanup --config extensions.t=$TESTTMP/scmutilcleanup.py |
|
1243 | $ hg testnodescleanup --config extensions.t=$TESTTMP/scmutilcleanup.py | |
1244 | warning: orphaned descendants detected, not stripping 112478962961, 1fc8102cda62, 26805aba1e60 |
|
1244 | warning: orphaned descendants detected, not stripping 112478962961, 1fc8102cda62, 26805aba1e60 | |
1245 |
saved backup bundle to $TESTTMP/scmutilcleanup/.hg/strip-backup/f585351a92f8-73fb7c03-replace.hg |
|
1245 | saved backup bundle to $TESTTMP/scmutilcleanup/.hg/strip-backup/f585351a92f8-73fb7c03-replace.hg | |
1246 |
|
1246 | |||
1247 | $ hg log -G -T '{rev}:{node|short} {desc} {bookmarks}' -r 'sort(all(), topo)' |
|
1247 | $ hg log -G -T '{rev}:{node|short} {desc} {bookmarks}' -r 'sort(all(), topo)' | |
1248 | o 8:1473d4b996d1 G2 b-F@divergent3 b-G |
|
1248 | o 8:1473d4b996d1 G2 b-F@divergent3 b-G | |
@@ -1331,7 +1331,7 b' Test that obsmarkers are restored even w' | |||||
1331 | cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b 489bac576828490c0bb8d45eac9e5e172e4ec0a8 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '1', 'operation': 'amend', 'user': 'test'} |
|
1331 | cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b 489bac576828490c0bb8d45eac9e5e172e4ec0a8 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '1', 'operation': 'amend', 'user': 'test'} | |
1332 | $ hg strip . |
|
1332 | $ hg strip . | |
1333 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
1333 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
1334 |
saved backup bundle to $TESTTMP/issue5678/.hg/strip-backup/489bac576828-bef27e14-backup.hg |
|
1334 | saved backup bundle to $TESTTMP/issue5678/.hg/strip-backup/489bac576828-bef27e14-backup.hg | |
1335 | $ hg unbundle -q .hg/strip-backup/* |
|
1335 | $ hg unbundle -q .hg/strip-backup/* | |
1336 | $ hg debugobsolete |
|
1336 | $ hg debugobsolete | |
1337 | cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b 489bac576828490c0bb8d45eac9e5e172e4ec0a8 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '1', 'operation': 'amend', 'user': 'test'} |
|
1337 | cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b 489bac576828490c0bb8d45eac9e5e172e4ec0a8 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '1', 'operation': 'amend', 'user': 'test'} |
@@ -18,7 +18,7 b" Preparing the subrepository 'sub2'" | |||||
18 | $ hg init sub2 |
|
18 | $ hg init sub2 | |
19 | $ echo sub2 > sub2/sub2 |
|
19 | $ echo sub2 > sub2/sub2 | |
20 | $ hg add -R sub2 |
|
20 | $ hg add -R sub2 | |
21 |
adding sub2/sub2 |
|
21 | adding sub2/sub2 | |
22 | $ hg commit -R sub2 -m "sub2 import" |
|
22 | $ hg commit -R sub2 -m "sub2 import" | |
23 |
|
23 | |||
24 | Preparing the 'sub1' repo which depends on the subrepo 'sub2' |
|
24 | Preparing the 'sub1' repo which depends on the subrepo 'sub2' | |
@@ -41,8 +41,8 b" Preparing the 'sub1' repo which depends " | |||||
41 | updating to branch default |
|
41 | updating to branch default | |
42 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
42 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
43 | $ hg add -R sub1 |
|
43 | $ hg add -R sub1 | |
44 |
adding sub1/.hgsub |
|
44 | adding sub1/.hgsub | |
45 |
adding sub1/sub1 |
|
45 | adding sub1/sub1 | |
46 | $ hg commit -R sub1 -m "sub1 import" |
|
46 | $ hg commit -R sub1 -m "sub1 import" | |
47 |
|
47 | |||
48 | Preparing the 'main' repo which depends on the subrepo 'sub1' |
|
48 | Preparing the 'main' repo which depends on the subrepo 'sub1' | |
@@ -77,8 +77,8 b" Preparing the 'main' repo which depends " | |||||
77 | cloning subrepo sub2 from $TESTTMP/sub2 |
|
77 | cloning subrepo sub2 from $TESTTMP/sub2 | |
78 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
78 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
79 | $ hg add -R main |
|
79 | $ hg add -R main | |
80 |
adding main/.hgsub |
|
80 | adding main/.hgsub | |
81 |
adding main/main |
|
81 | adding main/main | |
82 | $ hg commit -R main -m "main import" |
|
82 | $ hg commit -R main -m "main import" | |
83 |
|
83 | |||
84 | #if serve |
|
84 | #if serve | |
@@ -89,13 +89,13 b" reason why 'main' can be cloned via the " | |||||
89 | are also available as siblings of 'main'. |
|
89 | are also available as siblings of 'main'. | |
90 |
|
90 | |||
91 | $ hg serve -R main --debug -S -p $HGPORT -d --pid-file=hg1.pid -E error.log -A access.log |
|
91 | $ hg serve -R main --debug -S -p $HGPORT -d --pid-file=hg1.pid -E error.log -A access.log | |
92 |
adding = $TESTTMP/main |
|
92 | adding = $TESTTMP/main | |
93 |
adding sub1 = $TESTTMP/main/sub1 |
|
93 | adding sub1 = $TESTTMP/main/sub1 | |
94 |
adding sub1/sub2 = $TESTTMP/main/sub1/sub2 |
|
94 | adding sub1/sub2 = $TESTTMP/main/sub1/sub2 | |
95 | listening at http://*:$HGPORT/ (bound to *:$HGPORT) (glob) (?) |
|
95 | listening at http://*:$HGPORT/ (bound to *:$HGPORT) (glob) (?) | |
96 |
adding = $TESTTMP/main ( |
|
96 | adding = $TESTTMP/main (?) | |
97 |
adding sub1 = $TESTTMP/main/sub1 ( |
|
97 | adding sub1 = $TESTTMP/main/sub1 (?) | |
98 |
adding sub1/sub2 = $TESTTMP/main/sub1/sub2 ( |
|
98 | adding sub1/sub2 = $TESTTMP/main/sub1/sub2 (?) | |
99 | $ cat hg1.pid >> $DAEMON_PIDS |
|
99 | $ cat hg1.pid >> $DAEMON_PIDS | |
100 |
|
100 | |||
101 | $ hg clone http://localhost:$HGPORT httpclone --config progress.disable=True |
|
101 | $ hg clone http://localhost:$HGPORT httpclone --config progress.disable=True | |
@@ -186,14 +186,14 b' Clone main' | |||||
186 | \r (no-eol) (esc) |
|
186 | \r (no-eol) (esc) | |
187 | updating to branch default |
|
187 | updating to branch default | |
188 | cloning subrepo sub1 from $TESTTMP/sub1 |
|
188 | cloning subrepo sub1 from $TESTTMP/sub1 | |
189 |
cloning subrepo sub1/sub2 from $TESTTMP/sub2 |
|
189 | cloning subrepo sub1/sub2 from $TESTTMP/sub2 | |
190 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
190 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
191 |
|
191 | |||
192 | Largefiles is NOT enabled in the clone if the source repo doesn't require it |
|
192 | Largefiles is NOT enabled in the clone if the source repo doesn't require it | |
193 | $ cat cloned/.hg/hgrc |
|
193 | $ cat cloned/.hg/hgrc | |
194 | # example repository config (see 'hg help config' for more info) |
|
194 | # example repository config (see 'hg help config' for more info) | |
195 | [paths] |
|
195 | [paths] | |
196 |
default = $TESTTMP/main |
|
196 | default = $TESTTMP/main | |
197 |
|
197 | |||
198 | # path aliases to other clones of this repo in URLs or filesystem paths |
|
198 | # path aliases to other clones of this repo in URLs or filesystem paths | |
199 | # (see 'hg help config.paths' for more info) |
|
199 | # (see 'hg help config.paths' for more info) | |
@@ -231,7 +231,7 b" Modifying deeply nested 'sub2'" | |||||
231 | $ echo modified > cloned/sub1/sub2/sub2 |
|
231 | $ echo modified > cloned/sub1/sub2/sub2 | |
232 | $ hg commit --subrepos -m "deep nested modif should trigger a commit" -R cloned |
|
232 | $ hg commit --subrepos -m "deep nested modif should trigger a commit" -R cloned | |
233 | committing subrepository sub1 |
|
233 | committing subrepository sub1 | |
234 |
committing subrepository sub1/sub2 |
|
234 | committing subrepository sub1/sub2 | |
235 |
|
235 | |||
236 | Checking modified node ids |
|
236 | Checking modified node ids | |
237 |
|
237 | |||
@@ -263,7 +263,7 b' Check that deep archiving works' | |||||
263 | $ hg ci -ASm "add test.txt" |
|
263 | $ hg ci -ASm "add test.txt" | |
264 | adding sub1/sub2/folder/test.txt |
|
264 | adding sub1/sub2/folder/test.txt | |
265 | committing subrepository sub1 |
|
265 | committing subrepository sub1 | |
266 |
committing subrepository sub1/sub2 |
|
266 | committing subrepository sub1/sub2 | |
267 |
|
267 | |||
268 | $ rm -r main |
|
268 | $ rm -r main | |
269 | $ hg archive -S -qr 'wdir()' ../wdir |
|
269 | $ hg archive -S -qr 'wdir()' ../wdir | |
@@ -309,8 +309,8 b' A deleted subrepo file is flagged as dir' | |||||
309 | \r (no-eol) (esc) |
|
309 | \r (no-eol) (esc) | |
310 | deleting [===========================================>] 2/2\r (no-eol) (esc) |
|
310 | deleting [===========================================>] 2/2\r (no-eol) (esc) | |
311 | \r (no-eol) (esc) |
|
311 | \r (no-eol) (esc) | |
312 |
removing sub1/sub2/folder/test.txt |
|
312 | removing sub1/sub2/folder/test.txt | |
313 |
removing sub1/sub2/test.txt |
|
313 | removing sub1/sub2/test.txt | |
314 | $ hg status -S |
|
314 | $ hg status -S | |
315 | R sub1/sub2/folder/test.txt |
|
315 | R sub1/sub2/folder/test.txt | |
316 | R sub1/sub2/test.txt |
|
316 | R sub1/sub2/test.txt | |
@@ -368,10 +368,10 b' Test relative path printing + subrepos' | |||||
368 | \r (no-eol) (esc) |
|
368 | \r (no-eol) (esc) | |
369 | searching for exact renames [ ] 0/1\r (no-eol) (esc) |
|
369 | searching for exact renames [ ] 0/1\r (no-eol) (esc) | |
370 | \r (no-eol) (esc) |
|
370 | \r (no-eol) (esc) | |
371 |
adding ../sub1/sub2/folder/test.txt |
|
371 | adding ../sub1/sub2/folder/test.txt | |
372 |
removing ../sub1/sub2/test.txt |
|
372 | removing ../sub1/sub2/test.txt | |
373 |
adding ../sub1/foo |
|
373 | adding ../sub1/foo | |
374 |
adding bar/abc |
|
374 | adding bar/abc | |
375 | $ cd .. |
|
375 | $ cd .. | |
376 | $ hg status -S |
|
376 | $ hg status -S | |
377 | A foo/bar/abc |
|
377 | A foo/bar/abc | |
@@ -398,9 +398,9 b' Archive wdir() with subrepos' | |||||
398 | archiving (sub1) [===================================>] 4/4\r (no-eol) (esc) |
|
398 | archiving (sub1) [===================================>] 4/4\r (no-eol) (esc) | |
399 | \r (no-eol) (esc) |
|
399 | \r (no-eol) (esc) | |
400 | \r (no-eol) (esc) |
|
400 | \r (no-eol) (esc) | |
401 |
archiving (sub1/sub2) [ ] 0/2\r (no-eol) ( |
|
401 | archiving (sub1/sub2) [ ] 0/2\r (no-eol) (esc) | |
402 |
archiving (sub1/sub2) [==============> ] 1/2\r (no-eol) ( |
|
402 | archiving (sub1/sub2) [==============> ] 1/2\r (no-eol) (esc) | |
403 |
archiving (sub1/sub2) [==============================>] 2/2\r (no-eol) ( |
|
403 | archiving (sub1/sub2) [==============================>] 2/2\r (no-eol) (esc) | |
404 | \r (no-eol) (esc) |
|
404 | \r (no-eol) (esc) | |
405 | $ diff -r . ../wdir | egrep -v '\.hg$|^Common subdirectories:' |
|
405 | $ diff -r . ../wdir | egrep -v '\.hg$|^Common subdirectories:' | |
406 | Only in ../wdir: .hg_archival.txt |
|
406 | Only in ../wdir: .hg_archival.txt | |
@@ -442,9 +442,9 b" Attempting to archive 'wdir()' with a mi" | |||||
442 | archiving (sub1) [===================================>] 3/3\r (no-eol) (esc) |
|
442 | archiving (sub1) [===================================>] 3/3\r (no-eol) (esc) | |
443 | \r (no-eol) (esc) |
|
443 | \r (no-eol) (esc) | |
444 | \r (no-eol) (esc) |
|
444 | \r (no-eol) (esc) | |
445 |
archiving (sub1/sub2) [ ] 0/2\r (no-eol) ( |
|
445 | archiving (sub1/sub2) [ ] 0/2\r (no-eol) (esc) | |
446 |
archiving (sub1/sub2) [==============> ] 1/2\r (no-eol) ( |
|
446 | archiving (sub1/sub2) [==============> ] 1/2\r (no-eol) (esc) | |
447 |
archiving (sub1/sub2) [==============================>] 2/2\r (no-eol) ( |
|
447 | archiving (sub1/sub2) [==============================>] 2/2\r (no-eol) (esc) | |
448 | \r (no-eol) (esc) |
|
448 | \r (no-eol) (esc) | |
449 | $ find ../wdir -type f | sort |
|
449 | $ find ../wdir -type f | sort | |
450 | ../wdir/.hg_archival.txt |
|
450 | ../wdir/.hg_archival.txt | |
@@ -474,10 +474,10 b' Continue relative path printing + subrep' | |||||
474 | archiving (sub1) [===================================>] 3/3\r (no-eol) (esc) |
|
474 | archiving (sub1) [===================================>] 3/3\r (no-eol) (esc) | |
475 | \r (no-eol) (esc) |
|
475 | \r (no-eol) (esc) | |
476 | \r (no-eol) (esc) |
|
476 | \r (no-eol) (esc) | |
477 |
archiving (sub1/sub2) [ ] 0/3\r (no-eol) ( |
|
477 | archiving (sub1/sub2) [ ] 0/3\r (no-eol) (esc) | |
478 |
archiving (sub1/sub2) [=========> ] 1/3\r (no-eol) ( |
|
478 | archiving (sub1/sub2) [=========> ] 1/3\r (no-eol) (esc) | |
479 |
archiving (sub1/sub2) [===================> ] 2/3\r (no-eol) ( |
|
479 | archiving (sub1/sub2) [===================> ] 2/3\r (no-eol) (esc) | |
480 |
archiving (sub1/sub2) [==============================>] 3/3\r (no-eol) ( |
|
480 | archiving (sub1/sub2) [==============================>] 3/3\r (no-eol) (esc) | |
481 | \r (no-eol) (esc) |
|
481 | \r (no-eol) (esc) | |
482 | $ cat ../wdir/.hg_archival.txt |
|
482 | $ cat ../wdir/.hg_archival.txt | |
483 | repo: 7f491f53a367861f47ee64a80eb997d1f341b77a |
|
483 | repo: 7f491f53a367861f47ee64a80eb997d1f341b77a | |
@@ -489,15 +489,15 b' Continue relative path printing + subrep' | |||||
489 |
|
489 | |||
490 | $ touch sub1/sub2/folder/bar |
|
490 | $ touch sub1/sub2/folder/bar | |
491 | $ hg addremove sub1/sub2 |
|
491 | $ hg addremove sub1/sub2 | |
492 |
adding sub1/sub2/folder/bar |
|
492 | adding sub1/sub2/folder/bar | |
493 | $ hg status -S |
|
493 | $ hg status -S | |
494 | A sub1/sub2/folder/bar |
|
494 | A sub1/sub2/folder/bar | |
495 | ? foo/bar/abc |
|
495 | ? foo/bar/abc | |
496 | ? sub1/foo |
|
496 | ? sub1/foo | |
497 | $ hg update -Cq |
|
497 | $ hg update -Cq | |
498 | $ hg addremove sub1 |
|
498 | $ hg addremove sub1 | |
499 |
adding sub1/sub2/folder/bar |
|
499 | adding sub1/sub2/folder/bar | |
500 |
adding sub1/foo |
|
500 | adding sub1/foo | |
501 | $ hg update -Cq |
|
501 | $ hg update -Cq | |
502 | $ rm sub1/sub2/folder/test.txt |
|
502 | $ rm sub1/sub2/folder/test.txt | |
503 | $ rm sub1/sub2/test.txt |
|
503 | $ rm sub1/sub2/test.txt | |
@@ -508,7 +508,7 b' Continue relative path printing + subrep' | |||||
508 | adding sub1/foo |
|
508 | adding sub1/foo | |
509 | adding foo/bar/abc |
|
509 | adding foo/bar/abc | |
510 | committing subrepository sub1 |
|
510 | committing subrepository sub1 | |
511 |
committing subrepository sub1/sub2 |
|
511 | committing subrepository sub1/sub2 | |
512 |
|
512 | |||
513 | $ hg forget sub1/sub2/sub2 |
|
513 | $ hg forget sub1/sub2/sub2 | |
514 | $ echo x > sub1/sub2/x.txt |
|
514 | $ echo x > sub1/sub2/x.txt | |
@@ -518,75 +518,75 b' Files sees uncommitted adds and removes ' | |||||
518 | $ hg files -S |
|
518 | $ hg files -S | |
519 | .hgsub |
|
519 | .hgsub | |
520 | .hgsubstate |
|
520 | .hgsubstate | |
521 |
foo/bar/abc |
|
521 | foo/bar/abc | |
522 | main |
|
522 | main | |
523 |
sub1/.hgsub |
|
523 | sub1/.hgsub | |
524 |
sub1/.hgsubstate |
|
524 | sub1/.hgsubstate | |
525 |
sub1/foo |
|
525 | sub1/foo | |
526 |
sub1/sub1 |
|
526 | sub1/sub1 | |
527 |
sub1/sub2/folder/bar |
|
527 | sub1/sub2/folder/bar | |
528 |
sub1/sub2/x.txt |
|
528 | sub1/sub2/x.txt | |
529 |
|
529 | |||
530 | $ hg files -S "set:eol('dos') or eol('unix') or size('<= 0')" |
|
530 | $ hg files -S "set:eol('dos') or eol('unix') or size('<= 0')" | |
531 | .hgsub |
|
531 | .hgsub | |
532 | .hgsubstate |
|
532 | .hgsubstate | |
533 |
foo/bar/abc |
|
533 | foo/bar/abc | |
534 | main |
|
534 | main | |
535 |
sub1/.hgsub |
|
535 | sub1/.hgsub | |
536 |
sub1/.hgsubstate |
|
536 | sub1/.hgsubstate | |
537 |
sub1/foo |
|
537 | sub1/foo | |
538 |
sub1/sub1 |
|
538 | sub1/sub1 | |
539 |
sub1/sub2/folder/bar |
|
539 | sub1/sub2/folder/bar | |
540 |
sub1/sub2/x.txt |
|
540 | sub1/sub2/x.txt | |
541 |
|
541 | |||
542 | $ hg files -r '.^' -S "set:eol('dos') or eol('unix')" |
|
542 | $ hg files -r '.^' -S "set:eol('dos') or eol('unix')" | |
543 | .hgsub |
|
543 | .hgsub | |
544 | .hgsubstate |
|
544 | .hgsubstate | |
545 | main |
|
545 | main | |
546 |
sub1/.hgsub |
|
546 | sub1/.hgsub | |
547 |
sub1/.hgsubstate |
|
547 | sub1/.hgsubstate | |
548 |
sub1/sub1 |
|
548 | sub1/sub1 | |
549 |
sub1/sub2/folder/test.txt |
|
549 | sub1/sub2/folder/test.txt | |
550 |
sub1/sub2/sub2 |
|
550 | sub1/sub2/sub2 | |
551 |
sub1/sub2/test.txt |
|
551 | sub1/sub2/test.txt | |
552 |
|
552 | |||
553 | $ hg files sub1 |
|
553 | $ hg files sub1 | |
554 |
sub1/.hgsub |
|
554 | sub1/.hgsub | |
555 |
sub1/.hgsubstate |
|
555 | sub1/.hgsubstate | |
556 |
sub1/foo |
|
556 | sub1/foo | |
557 |
sub1/sub1 |
|
557 | sub1/sub1 | |
558 |
sub1/sub2/folder/bar |
|
558 | sub1/sub2/folder/bar | |
559 |
sub1/sub2/x.txt |
|
559 | sub1/sub2/x.txt | |
560 |
|
560 | |||
561 | $ hg files sub1/sub2 |
|
561 | $ hg files sub1/sub2 | |
562 |
sub1/sub2/folder/bar |
|
562 | sub1/sub2/folder/bar | |
563 |
sub1/sub2/x.txt |
|
563 | sub1/sub2/x.txt | |
564 |
|
564 | |||
565 | $ hg files |
|
565 | $ hg files | |
566 | .hgsub |
|
566 | .hgsub | |
567 | .hgsubstate |
|
567 | .hgsubstate | |
568 |
foo/bar/abc |
|
568 | foo/bar/abc | |
569 | main |
|
569 | main | |
570 |
|
570 | |||
571 | $ hg files -S -r '.^' sub1/sub2/folder |
|
571 | $ hg files -S -r '.^' sub1/sub2/folder | |
572 |
sub1/sub2/folder/test.txt |
|
572 | sub1/sub2/folder/test.txt | |
573 |
|
573 | |||
574 | $ hg files -S -r '.^' sub1/sub2/missing |
|
574 | $ hg files -S -r '.^' sub1/sub2/missing | |
575 |
sub1/sub2/missing: no such file in rev 78026e779ea6 |
|
575 | sub1/sub2/missing: no such file in rev 78026e779ea6 | |
576 | [1] |
|
576 | [1] | |
577 |
|
577 | |||
578 | $ hg files -r '.^' sub1/ |
|
578 | $ hg files -r '.^' sub1/ | |
579 |
sub1/.hgsub |
|
579 | sub1/.hgsub | |
580 |
sub1/.hgsubstate |
|
580 | sub1/.hgsubstate | |
581 |
sub1/sub1 |
|
581 | sub1/sub1 | |
582 |
sub1/sub2/folder/test.txt |
|
582 | sub1/sub2/folder/test.txt | |
583 |
sub1/sub2/sub2 |
|
583 | sub1/sub2/sub2 | |
584 |
sub1/sub2/test.txt |
|
584 | sub1/sub2/test.txt | |
585 |
|
585 | |||
586 | $ hg files -r '.^' sub1/sub2 |
|
586 | $ hg files -r '.^' sub1/sub2 | |
587 |
sub1/sub2/folder/test.txt |
|
587 | sub1/sub2/folder/test.txt | |
588 |
sub1/sub2/sub2 |
|
588 | sub1/sub2/sub2 | |
589 |
sub1/sub2/test.txt |
|
589 | sub1/sub2/test.txt | |
590 |
|
590 | |||
591 | $ hg rollback -q |
|
591 | $ hg rollback -q | |
592 | $ hg up -Cq |
|
592 | $ hg up -Cq | |
@@ -605,10 +605,10 b' Files sees uncommitted adds and removes ' | |||||
605 | archiving (sub1) [===================================>] 3/3\r (no-eol) (esc) |
|
605 | archiving (sub1) [===================================>] 3/3\r (no-eol) (esc) | |
606 | \r (no-eol) (esc) |
|
606 | \r (no-eol) (esc) | |
607 | \r (no-eol) (esc) |
|
607 | \r (no-eol) (esc) | |
608 |
archiving (sub1/sub2) [ ] 0/3\r (no-eol) ( |
|
608 | archiving (sub1/sub2) [ ] 0/3\r (no-eol) (esc) | |
609 |
archiving (sub1/sub2) [=========> ] 1/3\r (no-eol) ( |
|
609 | archiving (sub1/sub2) [=========> ] 1/3\r (no-eol) (esc) | |
610 |
archiving (sub1/sub2) [===================> ] 2/3\r (no-eol) ( |
|
610 | archiving (sub1/sub2) [===================> ] 2/3\r (no-eol) (esc) | |
611 |
archiving (sub1/sub2) [==============================>] 3/3\r (no-eol) ( |
|
611 | archiving (sub1/sub2) [==============================>] 3/3\r (no-eol) (esc) | |
612 | \r (no-eol) (esc) |
|
612 | \r (no-eol) (esc) | |
613 | $ find ../archive_all | sort |
|
613 | $ find ../archive_all | sort | |
614 | ../archive_all |
|
614 | ../archive_all | |
@@ -642,8 +642,8 b' Check that archive -X works in deep subr' | |||||
642 | archiving (sub1) [===================================>] 3/3\r (no-eol) (esc) |
|
642 | archiving (sub1) [===================================>] 3/3\r (no-eol) (esc) | |
643 | \r (no-eol) (esc) |
|
643 | \r (no-eol) (esc) | |
644 | \r (no-eol) (esc) |
|
644 | \r (no-eol) (esc) | |
645 |
archiving (sub1/sub2) [ ] 0/1\r (no-eol) ( |
|
645 | archiving (sub1/sub2) [ ] 0/1\r (no-eol) (esc) | |
646 |
archiving (sub1/sub2) [==============================>] 1/1\r (no-eol) ( |
|
646 | archiving (sub1/sub2) [==============================>] 1/1\r (no-eol) (esc) | |
647 | \r (no-eol) (esc) |
|
647 | \r (no-eol) (esc) | |
648 | $ find ../archive_exclude | sort |
|
648 | $ find ../archive_exclude | sort | |
649 | ../archive_exclude |
|
649 | ../archive_exclude | |
@@ -663,9 +663,9 b' Check that archive -X works in deep subr' | |||||
663 | archiving (sub1) [ <=> ] 0\r (no-eol) (esc) |
|
663 | archiving (sub1) [ <=> ] 0\r (no-eol) (esc) | |
664 | \r (no-eol) (esc) |
|
664 | \r (no-eol) (esc) | |
665 | \r (no-eol) (esc) |
|
665 | \r (no-eol) (esc) | |
666 |
archiving (sub1/sub2) [ ] 0/2\r (no-eol) ( |
|
666 | archiving (sub1/sub2) [ ] 0/2\r (no-eol) (esc) | |
667 |
archiving (sub1/sub2) [==============> ] 1/2\r (no-eol) ( |
|
667 | archiving (sub1/sub2) [==============> ] 1/2\r (no-eol) (esc) | |
668 |
archiving (sub1/sub2) [==============================>] 2/2\r (no-eol) ( |
|
668 | archiving (sub1/sub2) [==============================>] 2/2\r (no-eol) (esc) | |
669 | \r (no-eol) (esc) |
|
669 | \r (no-eol) (esc) | |
670 | $ find ../archive_include | sort |
|
670 | $ find ../archive_include | sort | |
671 | ../archive_include |
|
671 | ../archive_include | |
@@ -686,7 +686,7 b' Note that add --large through a subrepo ' | |||||
686 | $ hg --config extensions.largefiles= add --large large.bin |
|
686 | $ hg --config extensions.largefiles= add --large large.bin | |
687 | $ hg --config extensions.largefiles= ci -S -m "add large files" |
|
687 | $ hg --config extensions.largefiles= ci -S -m "add large files" | |
688 | committing subrepository sub1 |
|
688 | committing subrepository sub1 | |
689 |
committing subrepository sub1/sub2 |
|
689 | committing subrepository sub1/sub2 | |
690 |
|
690 | |||
691 | $ hg --config extensions.largefiles= archive -S ../archive_lf |
|
691 | $ hg --config extensions.largefiles= archive -S ../archive_lf | |
692 | $ find ../archive_lf | sort |
|
692 | $ find ../archive_lf | sort | |
@@ -785,7 +785,7 b' The local repo enables largefiles if a l' | |||||
785 | $ cat ../lfclone/.hg/hgrc |
|
785 | $ cat ../lfclone/.hg/hgrc | |
786 | # example repository config (see 'hg help config' for more info) |
|
786 | # example repository config (see 'hg help config' for more info) | |
787 | [paths] |
|
787 | [paths] | |
788 |
default = $TESTTMP/cloned |
|
788 | default = $TESTTMP/cloned | |
789 |
|
789 | |||
790 | # path aliases to other clones of this repo in URLs or filesystem paths |
|
790 | # path aliases to other clones of this repo in URLs or filesystem paths | |
791 | # (see 'hg help config.paths' for more info) |
|
791 | # (see 'hg help config.paths' for more info) | |
@@ -817,16 +817,16 b' largefile and a normal file. Then a lar' | |||||
817 | $ touch sub1/sub2/untracked.txt |
|
817 | $ touch sub1/sub2/untracked.txt | |
818 | $ touch sub1/sub2/large.dat |
|
818 | $ touch sub1/sub2/large.dat | |
819 | $ hg forget sub1/sub2/large.bin sub1/sub2/test.txt sub1/sub2/untracked.txt |
|
819 | $ hg forget sub1/sub2/large.bin sub1/sub2/test.txt sub1/sub2/untracked.txt | |
820 |
not removing sub1/sub2/untracked.txt: file is already untracked |
|
820 | not removing sub1/sub2/untracked.txt: file is already untracked | |
821 | [1] |
|
821 | [1] | |
822 | $ hg add --large --dry-run -v sub1/sub2/untracked.txt |
|
822 | $ hg add --large --dry-run -v sub1/sub2/untracked.txt | |
823 |
adding sub1/sub2/untracked.txt as a largefile |
|
823 | adding sub1/sub2/untracked.txt as a largefile | |
824 | $ hg add --large -v sub1/sub2/untracked.txt |
|
824 | $ hg add --large -v sub1/sub2/untracked.txt | |
825 |
adding sub1/sub2/untracked.txt as a largefile |
|
825 | adding sub1/sub2/untracked.txt as a largefile | |
826 | $ hg add --normal -v sub1/sub2/large.dat |
|
826 | $ hg add --normal -v sub1/sub2/large.dat | |
827 |
adding sub1/sub2/large.dat |
|
827 | adding sub1/sub2/large.dat | |
828 | $ hg forget -v sub1/sub2/untracked.txt |
|
828 | $ hg forget -v sub1/sub2/untracked.txt | |
829 |
removing sub1/sub2/untracked.txt |
|
829 | removing sub1/sub2/untracked.txt | |
830 | $ hg status -S |
|
830 | $ hg status -S | |
831 | A sub1/sub2/large.dat |
|
831 | A sub1/sub2/large.dat | |
832 | R sub1/sub2/large.bin |
|
832 | R sub1/sub2/large.bin | |
@@ -907,7 +907,7 b' Test issue4330: commit a directory where' | |||||
907 | $ hg add -v foo/bar/abc a.txt a.dat |
|
907 | $ hg add -v foo/bar/abc a.txt a.dat | |
908 | adding a.dat as a largefile |
|
908 | adding a.dat as a largefile | |
909 | adding a.txt |
|
909 | adding a.txt | |
910 |
adding foo/bar/abc |
|
910 | adding foo/bar/abc | |
911 | $ hg ci -m 'dir commit with only normal file deltas' foo/bar |
|
911 | $ hg ci -m 'dir commit with only normal file deltas' foo/bar | |
912 | $ hg status |
|
912 | $ hg status | |
913 | A a.dat |
|
913 | A a.dat | |
@@ -1040,7 +1040,7 b' Interaction with extdiff, largefiles and' | |||||
1040 | archiving (sub1) [ <=> ] 0\r (no-eol) (esc) |
|
1040 | archiving (sub1) [ <=> ] 0\r (no-eol) (esc) | |
1041 | \r (no-eol) (esc) |
|
1041 | \r (no-eol) (esc) | |
1042 | \r (no-eol) (esc) |
|
1042 | \r (no-eol) (esc) | |
1043 |
archiving (sub1/sub2) [ <=> ] 0\r (no-eol) ( |
|
1043 | archiving (sub1/sub2) [ <=> ] 0\r (no-eol) (esc) | |
1044 | \r (no-eol) (esc) |
|
1044 | \r (no-eol) (esc) | |
1045 | \r (no-eol) (esc) |
|
1045 | \r (no-eol) (esc) | |
1046 | archiving (sub3) [ <=> ] 0\r (no-eol) (esc) |
|
1046 | archiving (sub3) [ <=> ] 0\r (no-eol) (esc) | |
@@ -1054,7 +1054,7 b' Interaction with extdiff, largefiles and' | |||||
1054 | archiving (sub1) [ <=> ] 0\r (no-eol) (esc) |
|
1054 | archiving (sub1) [ <=> ] 0\r (no-eol) (esc) | |
1055 | \r (no-eol) (esc) |
|
1055 | \r (no-eol) (esc) | |
1056 | \r (no-eol) (esc) |
|
1056 | \r (no-eol) (esc) | |
1057 |
archiving (sub1/sub2) [ <=> ] 0\r (no-eol) ( |
|
1057 | archiving (sub1/sub2) [ <=> ] 0\r (no-eol) (esc) | |
1058 | \r (no-eol) (esc) |
|
1058 | \r (no-eol) (esc) | |
1059 | diff -Nru cloned.*/.hgsub cloned/.hgsub (glob) |
|
1059 | diff -Nru cloned.*/.hgsub cloned/.hgsub (glob) | |
1060 | --- cloned.*/.hgsub * (glob) |
|
1060 | --- cloned.*/.hgsub * (glob) | |
@@ -1082,8 +1082,8 b' Interaction with extdiff, largefiles and' | |||||
1082 | archiving (sub1) [===================================>] 1/1\r (no-eol) (esc) |
|
1082 | archiving (sub1) [===================================>] 1/1\r (no-eol) (esc) | |
1083 | \r (no-eol) (esc) |
|
1083 | \r (no-eol) (esc) | |
1084 | \r (no-eol) (esc) |
|
1084 | \r (no-eol) (esc) | |
1085 |
archiving (sub1/sub2) [ ] 0/1\r (no-eol) ( |
|
1085 | archiving (sub1/sub2) [ ] 0/1\r (no-eol) (esc) | |
1086 |
archiving (sub1/sub2) [==============================>] 1/1\r (no-eol) ( |
|
1086 | archiving (sub1/sub2) [==============================>] 1/1\r (no-eol) (esc) | |
1087 | \r (no-eol) (esc) |
|
1087 | \r (no-eol) (esc) | |
1088 | \r (no-eol) (esc) |
|
1088 | \r (no-eol) (esc) | |
1089 | archiving [ ] 0/8\r (no-eol) (esc) |
|
1089 | archiving [ ] 0/8\r (no-eol) (esc) | |
@@ -1101,10 +1101,10 b' Interaction with extdiff, largefiles and' | |||||
1101 | archiving (sub1) [===================================>] 1/1\r (no-eol) (esc) |
|
1101 | archiving (sub1) [===================================>] 1/1\r (no-eol) (esc) | |
1102 | \r (no-eol) (esc) |
|
1102 | \r (no-eol) (esc) | |
1103 | \r (no-eol) (esc) |
|
1103 | \r (no-eol) (esc) | |
1104 |
archiving (sub1/sub2) [ ] 0/3\r (no-eol) ( |
|
1104 | archiving (sub1/sub2) [ ] 0/3\r (no-eol) (esc) | |
1105 |
archiving (sub1/sub2) [=========> ] 1/3\r (no-eol) ( |
|
1105 | archiving (sub1/sub2) [=========> ] 1/3\r (no-eol) (esc) | |
1106 |
archiving (sub1/sub2) [===================> ] 2/3\r (no-eol) ( |
|
1106 | archiving (sub1/sub2) [===================> ] 2/3\r (no-eol) (esc) | |
1107 |
archiving (sub1/sub2) [==============================>] 3/3\r (no-eol) ( |
|
1107 | archiving (sub1/sub2) [==============================>] 3/3\r (no-eol) (esc) | |
1108 | \r (no-eol) (esc) |
|
1108 | \r (no-eol) (esc) | |
1109 | \r (no-eol) (esc) |
|
1109 | \r (no-eol) (esc) | |
1110 | archiving (sub3) [ ] 0/1\r (no-eol) (esc) |
|
1110 | archiving (sub3) [ ] 0/1\r (no-eol) (esc) | |
@@ -1179,8 +1179,8 b' Interaction with extdiff, largefiles and' | |||||
1179 | archiving (sub1) [ <=> ] 0\r (no-eol) (esc) |
|
1179 | archiving (sub1) [ <=> ] 0\r (no-eol) (esc) | |
1180 | \r (no-eol) (esc) |
|
1180 | \r (no-eol) (esc) | |
1181 | \r (no-eol) (esc) |
|
1181 | \r (no-eol) (esc) | |
1182 |
archiving (sub1/sub2) [ ] 0/1\r (no-eol) ( |
|
1182 | archiving (sub1/sub2) [ ] 0/1\r (no-eol) (esc) | |
1183 |
archiving (sub1/sub2) [==============================>] 1/1\r (no-eol) ( |
|
1183 | archiving (sub1/sub2) [==============================>] 1/1\r (no-eol) (esc) | |
1184 | \r (no-eol) (esc) |
|
1184 | \r (no-eol) (esc) | |
1185 | --- */cloned.*/sub1/sub2/sub2 * (glob) |
|
1185 | --- */cloned.*/sub1/sub2/sub2 * (glob) | |
1186 | +++ */cloned/sub1/sub2/sub2 * (glob) |
|
1186 | +++ */cloned/sub1/sub2/sub2 * (glob) |
@@ -191,7 +191,7 b' clone root separately, make different lo' | |||||
191 | user b push changes |
|
191 | user b push changes | |
192 |
|
192 | |||
193 | $ hg push 2>/dev/null |
|
193 | $ hg push 2>/dev/null | |
194 |
pushing to $TESTTMP/t |
|
194 | pushing to $TESTTMP/t | |
195 | pushing branch testing of subrepository "s" |
|
195 | pushing branch testing of subrepository "s" | |
196 | searching for changes |
|
196 | searching for changes | |
197 | adding changesets |
|
197 | adding changesets | |
@@ -203,7 +203,7 b' user a pulls, merges, commits' | |||||
203 |
|
203 | |||
204 | $ cd ../ta |
|
204 | $ cd ../ta | |
205 | $ hg pull |
|
205 | $ hg pull | |
206 |
pulling from $TESTTMP/t |
|
206 | pulling from $TESTTMP/t | |
207 | searching for changes |
|
207 | searching for changes | |
208 | adding changesets |
|
208 | adding changesets | |
209 | adding manifests |
|
209 | adding manifests | |
@@ -236,7 +236,7 b' user a pulls, merges, commits' | |||||
236 | source ../gitroot |
|
236 | source ../gitroot | |
237 | revision f47b465e1bce645dbf37232a00574aa1546ca8d3 |
|
237 | revision f47b465e1bce645dbf37232a00574aa1546ca8d3 | |
238 | $ hg push 2>/dev/null |
|
238 | $ hg push 2>/dev/null | |
239 |
pushing to $TESTTMP/t |
|
239 | pushing to $TESTTMP/t | |
240 | pushing branch testing of subrepository "s" |
|
240 | pushing branch testing of subrepository "s" | |
241 | searching for changes |
|
241 | searching for changes | |
242 | adding changesets |
|
242 | adding changesets | |
@@ -268,7 +268,7 b' make and push changes to hg without upda' | |||||
268 | $ echo aa >> a |
|
268 | $ echo aa >> a | |
269 | $ hg commit -m aa |
|
269 | $ hg commit -m aa | |
270 | $ hg push |
|
270 | $ hg push | |
271 |
pushing to $TESTTMP/t |
|
271 | pushing to $TESTTMP/t | |
272 | searching for changes |
|
272 | searching for changes | |
273 | adding changesets |
|
273 | adding changesets | |
274 | adding manifests |
|
274 | adding manifests | |
@@ -399,7 +399,7 b' nested commit' | |||||
399 | M inner/s/f |
|
399 | M inner/s/f | |
400 | $ hg commit --subrepos -m nested |
|
400 | $ hg commit --subrepos -m nested | |
401 | committing subrepository inner |
|
401 | committing subrepository inner | |
402 |
committing subrepository inner/s |
|
402 | committing subrepository inner/s | |
403 |
|
403 | |||
404 | nested archive |
|
404 | nested archive | |
405 |
|
405 | |||
@@ -678,8 +678,8 b' Test sanitizing ".hg/hgrc" in subrepo' | |||||
678 |
|
678 | |||
679 | $ hg -R tc pull -q |
|
679 | $ hg -R tc pull -q | |
680 | $ hg -R tc update -q -C 3473d20bddcf 2>&1 | sort |
|
680 | $ hg -R tc update -q -C 3473d20bddcf 2>&1 | sort | |
681 |
warning: removing potentially hostile 'hgrc' in '$TESTTMP/tc/s/.hg' |
|
681 | warning: removing potentially hostile 'hgrc' in '$TESTTMP/tc/s/.hg' | |
682 |
warning: removing potentially hostile 'hgrc' in '$TESTTMP/tc/s/sub/.hg' |
|
682 | warning: removing potentially hostile 'hgrc' in '$TESTTMP/tc/s/sub/.hg' | |
683 | $ cd tc |
|
683 | $ cd tc | |
684 | $ hg parents -q |
|
684 | $ hg parents -q | |
685 | 8:3473d20bddcf |
|
685 | 8:3473d20bddcf | |
@@ -725,8 +725,8 b' additional test for "git merge --ff" rou' | |||||
725 | $ cd .. |
|
725 | $ cd .. | |
726 | $ hg -R tc pull -q |
|
726 | $ hg -R tc pull -q | |
727 | $ hg -R tc update -q -C ed23f7fe024e 2>&1 | sort |
|
727 | $ hg -R tc update -q -C ed23f7fe024e 2>&1 | sort | |
728 |
warning: removing potentially hostile 'hgrc' in '$TESTTMP/tc/s/.hg' |
|
728 | warning: removing potentially hostile 'hgrc' in '$TESTTMP/tc/s/.hg' | |
729 |
warning: removing potentially hostile 'hgrc' in '$TESTTMP/tc/s/sub/.hg' |
|
729 | warning: removing potentially hostile 'hgrc' in '$TESTTMP/tc/s/sub/.hg' | |
730 | $ cd tc |
|
730 | $ cd tc | |
731 | $ hg parents -q |
|
731 | $ hg parents -q | |
732 | 9:ed23f7fe024e |
|
732 | 9:ed23f7fe024e | |
@@ -924,8 +924,8 b' revert moves orig files to the right pla' | |||||
924 | $ echo 'bloop' > s/foobar |
|
924 | $ echo 'bloop' > s/foobar | |
925 | $ hg revert --all --verbose --config 'ui.origbackuppath=.hg/origbackups' |
|
925 | $ hg revert --all --verbose --config 'ui.origbackuppath=.hg/origbackups' | |
926 | reverting subrepo ../gitroot |
|
926 | reverting subrepo ../gitroot | |
927 |
creating directory: $TESTTMP/tc/.hg/origbackups |
|
927 | creating directory: $TESTTMP/tc/.hg/origbackups | |
928 |
saving current version of foobar as $TESTTMP/tc/.hg/origbackups/foobar |
|
928 | saving current version of foobar as $TESTTMP/tc/.hg/origbackups/foobar | |
929 | $ ls .hg/origbackups |
|
929 | $ ls .hg/origbackups | |
930 | foobar |
|
930 | foobar | |
931 | $ rm -rf .hg/origbackups |
|
931 | $ rm -rf .hg/origbackups | |
@@ -998,7 +998,7 b' add git files, using either files or pat' | |||||
998 | reverting subrepo ../gitroot |
|
998 | reverting subrepo ../gitroot | |
999 |
|
999 | |||
1000 | $ hg add --subrepos "glob:**.python" |
|
1000 | $ hg add --subrepos "glob:**.python" | |
1001 |
adding s/snake.python |
|
1001 | adding s/snake.python | |
1002 | $ hg st --subrepos s |
|
1002 | $ hg st --subrepos s | |
1003 | A s/snake.python |
|
1003 | A s/snake.python | |
1004 | ? s/barfoo |
|
1004 | ? s/barfoo | |
@@ -1009,11 +1009,11 b' add git files, using either files or pat' | |||||
1009 | reverting subrepo ../gitroot |
|
1009 | reverting subrepo ../gitroot | |
1010 |
|
1010 | |||
1011 | $ hg add --subrepos s |
|
1011 | $ hg add --subrepos s | |
1012 |
adding s/barfoo |
|
1012 | adding s/barfoo | |
1013 |
adding s/c.c |
|
1013 | adding s/c.c | |
1014 |
adding s/cpp.cpp |
|
1014 | adding s/cpp.cpp | |
1015 |
adding s/foobar.orig |
|
1015 | adding s/foobar.orig | |
1016 |
adding s/snake.python |
|
1016 | adding s/snake.python | |
1017 | $ hg st --subrepos s |
|
1017 | $ hg st --subrepos s | |
1018 | A s/barfoo |
|
1018 | A s/barfoo | |
1019 | A s/c.c |
|
1019 | A s/c.c | |
@@ -1031,10 +1031,10 b' make sure everything is reverted correct' | |||||
1031 | ? s/snake.python |
|
1031 | ? s/snake.python | |
1032 |
|
1032 | |||
1033 | $ hg add --subrepos --exclude "path:s/c.c" |
|
1033 | $ hg add --subrepos --exclude "path:s/c.c" | |
1034 |
adding s/barfoo |
|
1034 | adding s/barfoo | |
1035 |
adding s/cpp.cpp |
|
1035 | adding s/cpp.cpp | |
1036 |
adding s/foobar.orig |
|
1036 | adding s/foobar.orig | |
1037 |
adding s/snake.python |
|
1037 | adding s/snake.python | |
1038 | $ hg st --subrepos s |
|
1038 | $ hg st --subrepos s | |
1039 | A s/barfoo |
|
1039 | A s/barfoo | |
1040 | A s/cpp.cpp |
|
1040 | A s/cpp.cpp | |
@@ -1050,7 +1050,7 b' make sure everything is reverted correct' | |||||
1050 | > EOF |
|
1050 | > EOF | |
1051 | $ hg add .hgignore |
|
1051 | $ hg add .hgignore | |
1052 | $ hg add --subrepos "glob:**.python" s/barfoo |
|
1052 | $ hg add --subrepos "glob:**.python" s/barfoo | |
1053 |
adding s/snake.python |
|
1053 | adding s/snake.python | |
1054 | $ hg st --subrepos s |
|
1054 | $ hg st --subrepos s | |
1055 | A s/barfoo |
|
1055 | A s/barfoo | |
1056 | A s/snake.python |
|
1056 | A s/snake.python | |
@@ -1099,10 +1099,10 b' except for explicitly added files (no pa' | |||||
1099 |
|
1099 | |||
1100 | correctly do a dry run |
|
1100 | correctly do a dry run | |
1101 | $ hg add --subrepos s --dry-run |
|
1101 | $ hg add --subrepos s --dry-run | |
1102 |
adding s/barfoo |
|
1102 | adding s/barfoo | |
1103 |
adding s/c.c |
|
1103 | adding s/c.c | |
1104 |
adding s/cpp.cpp |
|
1104 | adding s/cpp.cpp | |
1105 |
adding s/foobar.orig |
|
1105 | adding s/foobar.orig | |
1106 | $ hg st --subrepos s |
|
1106 | $ hg st --subrepos s | |
1107 | A s/.gitignore |
|
1107 | A s/.gitignore | |
1108 | A s/snake.python |
|
1108 | A s/snake.python | |
@@ -1196,7 +1196,7 b' test for Git CVE-2016-3068' | |||||
1196 | $ unset GIT_ALLOW_PROTOCOL |
|
1196 | $ unset GIT_ALLOW_PROTOCOL | |
1197 | $ PWNED_MSG="your git is too old or mercurial has regressed" hg clone \ |
|
1197 | $ PWNED_MSG="your git is too old or mercurial has regressed" hg clone \ | |
1198 | > malicious-subrepository malicious-subrepository-protected |
|
1198 | > malicious-subrepository malicious-subrepository-protected | |
1199 |
Cloning into '$TESTTMP/tc/malicious-subrepository-protected/s'... |
|
1199 | Cloning into '$TESTTMP/tc/malicious-subrepository-protected/s'... | |
1200 | fatal: transport 'ext' not allowed |
|
1200 | fatal: transport 'ext' not allowed | |
1201 | updating to branch default |
|
1201 | updating to branch default | |
1202 | cloning subrepo s from ext::sh -c echo% pwned:% $PWNED_MSG% >pwned.txt |
|
1202 | cloning subrepo s from ext::sh -c echo% pwned:% $PWNED_MSG% >pwned.txt | |
@@ -1209,7 +1209,7 b' whitelisting of ext should be respected ' | |||||
1209 | $ rm -f pwned.txt |
|
1209 | $ rm -f pwned.txt | |
1210 | $ env GIT_ALLOW_PROTOCOL=ext PWNED_MSG="you asked for it" hg clone \ |
|
1210 | $ env GIT_ALLOW_PROTOCOL=ext PWNED_MSG="you asked for it" hg clone \ | |
1211 | > malicious-subrepository malicious-subrepository-clone-allowed |
|
1211 | > malicious-subrepository malicious-subrepository-clone-allowed | |
1212 |
Cloning into '$TESTTMP/tc/malicious-subrepository-clone-allowed/s'... |
|
1212 | Cloning into '$TESTTMP/tc/malicious-subrepository-clone-allowed/s'... | |
1213 | fatal: Could not read from remote repository. |
|
1213 | fatal: Could not read from remote repository. | |
1214 |
|
1214 | |||
1215 | Please make sure you have the correct access rights |
|
1215 | Please make sure you have the correct access rights |
@@ -130,10 +130,10 b" verifying shouldn't init a new subrepo i" | |||||
130 | checking files |
|
130 | checking files | |
131 | 2 files, 5 changesets, 5 total revisions |
|
131 | 2 files, 5 changesets, 5 total revisions | |
132 | checking subrepo links |
|
132 | checking subrepo links | |
133 |
0: repository $TESTTMP/repo/subrepo not found |
|
133 | 0: repository $TESTTMP/repo/subrepo not found | |
134 |
1: repository $TESTTMP/repo/subrepo not found |
|
134 | 1: repository $TESTTMP/repo/subrepo not found | |
135 |
3: repository $TESTTMP/repo/subrepo not found |
|
135 | 3: repository $TESTTMP/repo/subrepo not found | |
136 |
4: repository $TESTTMP/repo/subrepo not found |
|
136 | 4: repository $TESTTMP/repo/subrepo not found | |
137 | $ ls |
|
137 | $ ls | |
138 | b |
|
138 | b | |
139 | $ mv b subrepo |
|
139 | $ mv b subrepo |
@@ -55,7 +55,7 b' test bad subpaths pattern' | |||||
55 | > .* = \1 |
|
55 | > .* = \1 | |
56 | > EOF |
|
56 | > EOF | |
57 | $ hg debugsub |
|
57 | $ hg debugsub | |
58 |
abort: bad subrepository pattern in $TESTTMP/outer/.hg/hgrc:2: invalid group reference |
|
58 | abort: bad subrepository pattern in $TESTTMP/outer/.hg/hgrc:2: invalid group reference | |
59 | [255] |
|
59 | [255] | |
60 |
|
60 | |||
61 | $ cd .. |
|
61 | $ cd .. |
@@ -23,10 +23,10 b' Add files --- .hgsub files must go first' | |||||
23 | $ hg add -S .hgsub |
|
23 | $ hg add -S .hgsub | |
24 | $ hg add -S foo/.hgsub |
|
24 | $ hg add -S foo/.hgsub | |
25 | $ hg add -S foo/bar |
|
25 | $ hg add -S foo/bar | |
26 |
adding foo/bar/z.txt |
|
26 | adding foo/bar/z.txt | |
27 | $ hg add -S |
|
27 | $ hg add -S | |
28 | adding x.txt |
|
28 | adding x.txt | |
29 |
adding foo/y.txt |
|
29 | adding foo/y.txt | |
30 |
|
30 | |||
31 | Test recursive status without committing anything: |
|
31 | Test recursive status without committing anything: | |
32 |
|
32 | |||
@@ -67,7 +67,7 b' The --subrepos flag overwrite the config' | |||||
67 |
|
67 | |||
68 | $ hg commit -m 0-0-0 --config ui.commitsubrepos=No --subrepos |
|
68 | $ hg commit -m 0-0-0 --config ui.commitsubrepos=No --subrepos | |
69 | committing subrepository foo |
|
69 | committing subrepository foo | |
70 |
committing subrepository foo/bar |
|
70 | committing subrepository foo/bar | |
71 |
|
71 | |||
72 | $ cd foo |
|
72 | $ cd foo | |
73 | $ echo y2 >> y.txt |
|
73 | $ echo y2 >> y.txt | |
@@ -192,7 +192,7 b' Cleanup and final commit:' | |||||
192 | $ rm -r dir |
|
192 | $ rm -r dir | |
193 | $ hg commit --subrepos -m 2-3-2 |
|
193 | $ hg commit --subrepos -m 2-3-2 | |
194 | committing subrepository foo |
|
194 | committing subrepository foo | |
195 |
committing subrepository foo/bar |
|
195 | committing subrepository foo/bar | |
196 |
|
196 | |||
197 | Test explicit path commands within subrepos: add/forget |
|
197 | Test explicit path commands within subrepos: add/forget | |
198 | $ echo z1 > foo/bar/z2.txt |
|
198 | $ echo z1 > foo/bar/z2.txt | |
@@ -205,7 +205,7 b' Test explicit path commands within subre' | |||||
205 | $ hg status -S |
|
205 | $ hg status -S | |
206 | ? foo/bar/z2.txt |
|
206 | ? foo/bar/z2.txt | |
207 | $ hg forget foo/bar/z2.txt |
|
207 | $ hg forget foo/bar/z2.txt | |
208 |
not removing foo/bar/z2.txt: file is already untracked |
|
208 | not removing foo/bar/z2.txt: file is already untracked | |
209 | [1] |
|
209 | [1] | |
210 | $ hg status -S |
|
210 | $ hg status -S | |
211 | ? foo/bar/z2.txt |
|
211 | ? foo/bar/z2.txt | |
@@ -254,13 +254,13 b' Status between revisions:' | |||||
254 | #if serve |
|
254 | #if serve | |
255 | $ cd .. |
|
255 | $ cd .. | |
256 | $ hg serve -R repo --debug -S -p $HGPORT -d --pid-file=hg1.pid -E error.log -A access.log |
|
256 | $ hg serve -R repo --debug -S -p $HGPORT -d --pid-file=hg1.pid -E error.log -A access.log | |
257 |
adding = $TESTTMP/repo |
|
257 | adding = $TESTTMP/repo | |
258 |
adding foo = $TESTTMP/repo/foo |
|
258 | adding foo = $TESTTMP/repo/foo | |
259 |
adding foo/bar = $TESTTMP/repo/foo/bar |
|
259 | adding foo/bar = $TESTTMP/repo/foo/bar | |
260 | listening at http://*:$HGPORT/ (bound to *:$HGPORT) (glob) (?) |
|
260 | listening at http://*:$HGPORT/ (bound to *:$HGPORT) (glob) (?) | |
261 |
adding = $TESTTMP/repo ( |
|
261 | adding = $TESTTMP/repo (?) | |
262 |
adding foo = $TESTTMP/repo/foo ( |
|
262 | adding foo = $TESTTMP/repo/foo (?) | |
263 |
adding foo/bar = $TESTTMP/repo/foo/bar ( |
|
263 | adding foo/bar = $TESTTMP/repo/foo/bar (?) | |
264 | $ cat hg1.pid >> $DAEMON_PIDS |
|
264 | $ cat hg1.pid >> $DAEMON_PIDS | |
265 |
|
265 | |||
266 | $ hg clone http://localhost:$HGPORT clone --config progress.disable=True |
|
266 | $ hg clone http://localhost:$HGPORT clone --config progress.disable=True | |
@@ -278,7 +278,7 b' Status between revisions:' | |||||
278 | adding file changes |
|
278 | adding file changes | |
279 | added 4 changesets with 7 changes to 3 files |
|
279 | added 4 changesets with 7 changes to 3 files | |
280 | new changesets af048e97ade2:65903cebad86 |
|
280 | new changesets af048e97ade2:65903cebad86 | |
281 |
cloning subrepo foo/bar from http://localhost:$HGPORT/foo/bar |
|
281 | cloning subrepo foo/bar from http://localhost:$HGPORT/foo/bar | |
282 | requesting all changes |
|
282 | requesting all changes | |
283 | adding changesets |
|
283 | adding changesets | |
284 | adding manifests |
|
284 | adding manifests | |
@@ -340,8 +340,8 b' only show up in the test output, not in ' | |||||
340 | archiving (foo) [====================================>] 3/3\r (no-eol) (esc) |
|
340 | archiving (foo) [====================================>] 3/3\r (no-eol) (esc) | |
341 | \r (no-eol) (esc) |
|
341 | \r (no-eol) (esc) | |
342 | \r (no-eol) (esc) |
|
342 | \r (no-eol) (esc) | |
343 |
archiving (foo/bar) [ ] 0/1\r (no-eol) ( |
|
343 | archiving (foo/bar) [ ] 0/1\r (no-eol) (esc) | |
344 |
archiving (foo/bar) [================================>] 1/1\r (no-eol) ( |
|
344 | archiving (foo/bar) [================================>] 1/1\r (no-eol) (esc) | |
345 | \r (no-eol) (esc) |
|
345 | \r (no-eol) (esc) | |
346 | $ find ../archive | sort |
|
346 | $ find ../archive | sort | |
347 | ../archive |
|
347 | ../archive | |
@@ -372,8 +372,8 b' Test archiving to zip file (unzip output' | |||||
372 | archiving (foo) [====================================>] 3/3\r (no-eol) (esc) |
|
372 | archiving (foo) [====================================>] 3/3\r (no-eol) (esc) | |
373 | \r (no-eol) (esc) |
|
373 | \r (no-eol) (esc) | |
374 | \r (no-eol) (esc) |
|
374 | \r (no-eol) (esc) | |
375 |
archiving (foo/bar) [ ] 0/1\r (no-eol) ( |
|
375 | archiving (foo/bar) [ ] 0/1\r (no-eol) (esc) | |
376 |
archiving (foo/bar) [================================>] 1/1\r (no-eol) ( |
|
376 | archiving (foo/bar) [================================>] 1/1\r (no-eol) (esc) | |
377 | \r (no-eol) (esc) |
|
377 | \r (no-eol) (esc) | |
378 |
|
378 | |||
379 | (unzip date formating is unstable, we do not care about it and glob it out) |
|
379 | (unzip date formating is unstable, we do not care about it and glob it out) | |
@@ -445,11 +445,11 b' cloned:' | |||||
445 | linking [ <=> ] 6\r (no-eol) (esc) |
|
445 | linking [ <=> ] 6\r (no-eol) (esc) | |
446 | \r (no-eol) (esc) |
|
446 | \r (no-eol) (esc) | |
447 | \r (no-eol) (esc) |
|
447 | \r (no-eol) (esc) | |
448 |
archiving (foo/bar) [ ] 0/1\r (no-eol) ( |
|
448 | archiving (foo/bar) [ ] 0/1\r (no-eol) (esc) | |
449 |
archiving (foo/bar) [================================>] 1/1\r (no-eol) ( |
|
449 | archiving (foo/bar) [================================>] 1/1\r (no-eol) (esc) | |
450 | \r (no-eol) (esc) |
|
450 | \r (no-eol) (esc) | |
451 | cloning subrepo foo from $TESTTMP/repo/foo |
|
451 | cloning subrepo foo from $TESTTMP/repo/foo | |
452 |
cloning subrepo foo/bar from $TESTTMP/repo/foo/bar |
|
452 | cloning subrepo foo/bar from $TESTTMP/repo/foo/bar | |
453 | #else |
|
453 | #else | |
454 | Note there's a slight output glitch on non-hardlink systems: the last |
|
454 | Note there's a slight output glitch on non-hardlink systems: the last | |
455 | "linking" progress topic never gets closed, leading to slight output corruption on that platform. |
|
455 | "linking" progress topic never gets closed, leading to slight output corruption on that platform. | |
@@ -462,7 +462,7 b" Note there's a slight output glitch on n" | |||||
462 | \r (no-eol) (esc) |
|
462 | \r (no-eol) (esc) | |
463 | \r (no-eol) (esc) |
|
463 | \r (no-eol) (esc) | |
464 | linking [ <=> ] 1\r (no-eol) (esc) |
|
464 | linking [ <=> ] 1\r (no-eol) (esc) | |
465 |
cloning subrepo foo/bar from $TESTTMP/repo/foo/bar |
|
465 | cloning subrepo foo/bar from $TESTTMP/repo/foo/bar | |
466 | #endif |
|
466 | #endif | |
467 |
|
467 | |||
468 | Archive + subrepos uses '/' for all component separators |
|
468 | Archive + subrepos uses '/' for all component separators | |
@@ -498,7 +498,7 b' created by archive:' | |||||
498 | $ echo f > foo/f |
|
498 | $ echo f > foo/f | |
499 | $ hg archive --subrepos -r tip archive |
|
499 | $ hg archive --subrepos -r tip archive | |
500 | cloning subrepo foo from $TESTTMP/empty/foo |
|
500 | cloning subrepo foo from $TESTTMP/empty/foo | |
501 |
abort: destination '$TESTTMP/almost-empty/foo' is not empty (in subrepository "foo") |
|
501 | abort: destination '$TESTTMP/almost-empty/foo' is not empty (in subrepository "foo") | |
502 | [255] |
|
502 | [255] | |
503 |
|
503 | |||
504 | Clone and test outgoing: |
|
504 | Clone and test outgoing: | |
@@ -507,11 +507,11 b' Clone and test outgoing:' | |||||
507 | $ hg clone repo repo2 |
|
507 | $ hg clone repo repo2 | |
508 | updating to branch default |
|
508 | updating to branch default | |
509 | cloning subrepo foo from $TESTTMP/repo/foo |
|
509 | cloning subrepo foo from $TESTTMP/repo/foo | |
510 |
cloning subrepo foo/bar from $TESTTMP/repo/foo/bar |
|
510 | cloning subrepo foo/bar from $TESTTMP/repo/foo/bar | |
511 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
511 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
512 | $ cd repo2 |
|
512 | $ cd repo2 | |
513 | $ hg outgoing -S |
|
513 | $ hg outgoing -S | |
514 |
comparing with $TESTTMP/repo |
|
514 | comparing with $TESTTMP/repo | |
515 | searching for changes |
|
515 | searching for changes | |
516 | no changes found |
|
516 | no changes found | |
517 | comparing with $TESTTMP/repo/foo |
|
517 | comparing with $TESTTMP/repo/foo | |
@@ -537,7 +537,7 b' Make nested change:' | |||||
537 | $ hg commit --subrepos -m 3-4-2 |
|
537 | $ hg commit --subrepos -m 3-4-2 | |
538 | committing subrepository foo |
|
538 | committing subrepository foo | |
539 | $ hg outgoing -S |
|
539 | $ hg outgoing -S | |
540 |
comparing with $TESTTMP/repo |
|
540 | comparing with $TESTTMP/repo | |
541 | searching for changes |
|
541 | searching for changes | |
542 | changeset: 3:2655b8ecc4ee |
|
542 | changeset: 3:2655b8ecc4ee | |
543 | tag: tip |
|
543 | tag: tip | |
@@ -567,7 +567,7 b' Switch to original repo and setup defaul' | |||||
567 | Test incoming: |
|
567 | Test incoming: | |
568 |
|
568 | |||
569 | $ hg incoming -S |
|
569 | $ hg incoming -S | |
570 |
comparing with $TESTTMP/repo2 |
|
570 | comparing with $TESTTMP/repo2 | |
571 | searching for changes |
|
571 | searching for changes | |
572 | changeset: 3:2655b8ecc4ee |
|
572 | changeset: 3:2655b8ecc4ee | |
573 | tag: tip |
|
573 | tag: tip |
@@ -5,7 +5,7 b" Preparing the subrepository 'sub'" | |||||
5 | $ hg init sub |
|
5 | $ hg init sub | |
6 | $ echo sub > sub/sub |
|
6 | $ echo sub > sub/sub | |
7 | $ hg add -R sub |
|
7 | $ hg add -R sub | |
8 |
adding sub/sub |
|
8 | adding sub/sub | |
9 | $ hg commit -R sub -m "sub import" |
|
9 | $ hg commit -R sub -m "sub import" | |
10 |
|
10 | |||
11 | Preparing the 'main' repo which depends on the subrepo 'sub' |
|
11 | Preparing the 'main' repo which depends on the subrepo 'sub' | |
@@ -17,8 +17,8 b" Preparing the 'main' repo which depends " | |||||
17 | updating to branch default |
|
17 | updating to branch default | |
18 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
18 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
19 | $ hg add -R main |
|
19 | $ hg add -R main | |
20 |
adding main/.hgsub |
|
20 | adding main/.hgsub | |
21 |
adding main/main |
|
21 | adding main/main | |
22 | $ hg commit -R main -m "main import" |
|
22 | $ hg commit -R main -m "main import" | |
23 |
|
23 | |||
24 | Cleaning both repositories, just as a clone -U |
|
24 | Cleaning both repositories, just as a clone -U |
@@ -22,12 +22,12 b' create subversion repo' | |||||
22 | $ echo alpha > src/alpha |
|
22 | $ echo alpha > src/alpha | |
23 | $ svn add src |
|
23 | $ svn add src | |
24 | A src |
|
24 | A src | |
25 |
A src/alpha |
|
25 | A src/alpha | |
26 | $ mkdir externals |
|
26 | $ mkdir externals | |
27 | $ echo other > externals/other |
|
27 | $ echo other > externals/other | |
28 | $ svn add externals |
|
28 | $ svn add externals | |
29 | A externals |
|
29 | A externals | |
30 |
A externals/other |
|
30 | A externals/other | |
31 | $ svn ci -qm 'Add alpha' |
|
31 | $ svn ci -qm 'Add alpha' | |
32 | $ svn up -q |
|
32 | $ svn up -q | |
33 | $ echo "externals -r1 $SVNREPOURL/externals" > extdef |
|
33 | $ echo "externals -r1 $SVNREPOURL/externals" > extdef | |
@@ -173,7 +173,7 b' this commit from hg will fail' | |||||
173 | this commit fails because of meta changes |
|
173 | this commit fails because of meta changes | |
174 |
|
174 | |||
175 | $ svn propset svn:mime-type 'text/html' s/alpha |
|
175 | $ svn propset svn:mime-type 'text/html' s/alpha | |
176 |
property 'svn:mime-type' set on 's/alpha' |
|
176 | property 'svn:mime-type' set on 's/alpha' | |
177 | $ (hg ci --subrepos -m 'amend alpha from hg' 2>&1; echo "[$?]") | grep -vi 'out of date' |
|
177 | $ (hg ci --subrepos -m 'amend alpha from hg' 2>&1; echo "[$?]") | grep -vi 'out of date' | |
178 | committing subrepository s |
|
178 | committing subrepository s | |
179 | abort: svn:*Commit failed (details follow): (glob) |
|
179 | abort: svn:*Commit failed (details follow): (glob) | |
@@ -204,7 +204,7 b' this commit fails because of externals c' | |||||
204 | this commit fails because of externals meta changes |
|
204 | this commit fails because of externals meta changes | |
205 |
|
205 | |||
206 | $ svn propset svn:mime-type 'text/html' s/externals/other |
|
206 | $ svn propset svn:mime-type 'text/html' s/externals/other | |
207 |
property 'svn:mime-type' set on 's/externals/other' |
|
207 | property 'svn:mime-type' set on 's/externals/other' | |
208 | $ hg ci --subrepos -m 'amend externals from hg' |
|
208 | $ hg ci --subrepos -m 'amend externals from hg' | |
209 | committing subrepository s |
|
209 | committing subrepository s | |
210 | abort: cannot commit svn externals (in subrepository "s") |
|
210 | abort: cannot commit svn externals (in subrepository "s") | |
@@ -216,19 +216,19 b' clone' | |||||
216 | $ cd .. |
|
216 | $ cd .. | |
217 | $ hg clone t tc |
|
217 | $ hg clone t tc | |
218 | updating to branch default |
|
218 | updating to branch default | |
219 |
A tc/s/alpha |
|
219 | A tc/s/alpha | |
220 |
U tc/s |
|
220 | U tc/s | |
221 |
|
221 | |||
222 | Fetching external item into 'tc/s/externals'* (glob) |
|
222 | Fetching external item into 'tc/s/externals'* (glob) | |
223 |
A tc/s/externals/other |
|
223 | A tc/s/externals/other | |
224 | Checked out external at revision 1. |
|
224 | Checked out external at revision 1. | |
225 |
|
225 | |||
226 | Checked out revision 3. |
|
226 | Checked out revision 3. | |
227 |
A tc/subdir/s/alpha |
|
227 | A tc/subdir/s/alpha | |
228 |
U tc/subdir/s |
|
228 | U tc/subdir/s | |
229 |
|
229 | |||
230 | Fetching external item into 'tc/subdir/s/externals'* (glob) |
|
230 | Fetching external item into 'tc/subdir/s/externals'* (glob) | |
231 |
A tc/subdir/s/externals/other |
|
231 | A tc/subdir/s/externals/other | |
232 | Checked out external at revision 1. |
|
232 | Checked out external at revision 1. | |
233 |
|
233 | |||
234 | Checked out revision 2. |
|
234 | Checked out revision 2. | |
@@ -430,7 +430,7 b' are unknown directories being replaced b' | |||||
430 | $ echo epsilon.py > dir/epsilon.py |
|
430 | $ echo epsilon.py > dir/epsilon.py | |
431 | $ svn add dir |
|
431 | $ svn add dir | |
432 | A dir |
|
432 | A dir | |
433 |
A dir/epsilon.py |
|
433 | A dir/epsilon.py | |
434 | $ svn ci -qm 'Add dir/epsilon.py' |
|
434 | $ svn ci -qm 'Add dir/epsilon.py' | |
435 | $ cd ../.. |
|
435 | $ cd ../.. | |
436 | $ hg init rebaserepo |
|
436 | $ hg init rebaserepo | |
@@ -495,7 +495,7 b' First, create that condition in the repo' | |||||
495 |
|
495 | |||
496 | $ hg ci --subrepos -m cleanup | filter_svn_output |
|
496 | $ hg ci --subrepos -m cleanup | filter_svn_output | |
497 | committing subrepository obstruct |
|
497 | committing subrepository obstruct | |
498 |
Sending obstruct/other |
|
498 | Sending obstruct/other | |
499 | Committed revision 7. |
|
499 | Committed revision 7. | |
500 | At revision 7. |
|
500 | At revision 7. | |
501 | $ svn mkdir -qm "baseline" $SVNREPOURL/trunk |
|
501 | $ svn mkdir -qm "baseline" $SVNREPOURL/trunk | |
@@ -516,7 +516,7 b' First, create that condition in the repo' | |||||
516 | $ cd .. |
|
516 | $ cd .. | |
517 | $ rm -rf tempwc |
|
517 | $ rm -rf tempwc | |
518 | $ svn co "$SVNREPOURL/branch"@10 recreated |
|
518 | $ svn co "$SVNREPOURL/branch"@10 recreated | |
519 |
A recreated/somethingold |
|
519 | A recreated/somethingold | |
520 | Checked out revision 10. |
|
520 | Checked out revision 10. | |
521 | $ echo "recreated = [svn] $SVNREPOURL/branch" >> .hgsub |
|
521 | $ echo "recreated = [svn] $SVNREPOURL/branch" >> .hgsub | |
522 | $ hg ci -m addsub |
|
522 | $ hg ci -m addsub | |
@@ -584,8 +584,8 b' well.' | |||||
584 | $ mkdir trunk/subdir branches |
|
584 | $ mkdir trunk/subdir branches | |
585 | $ echo a > trunk/subdir/a |
|
585 | $ echo a > trunk/subdir/a | |
586 | $ svn add trunk/subdir branches |
|
586 | $ svn add trunk/subdir branches | |
587 |
A trunk/subdir |
|
587 | A trunk/subdir | |
588 |
A trunk/subdir/a |
|
588 | A trunk/subdir/a | |
589 | A branches |
|
589 | A branches | |
590 | $ svn ci -qm addsubdir |
|
590 | $ svn ci -qm addsubdir | |
591 | $ svn cp -qm branchtrunk $SVNREPOURL/trunk $SVNREPOURL/branches/somebranch |
|
591 | $ svn cp -qm branchtrunk $SVNREPOURL/trunk $SVNREPOURL/branches/somebranch | |
@@ -594,7 +594,7 b' well.' | |||||
594 | $ hg init repo2 |
|
594 | $ hg init repo2 | |
595 | $ cd repo2 |
|
595 | $ cd repo2 | |
596 | $ svn co $SVNREPOURL/branches/somebranch/subdir |
|
596 | $ svn co $SVNREPOURL/branches/somebranch/subdir | |
597 |
A subdir/a |
|
597 | A subdir/a | |
598 | Checked out revision 15. |
|
598 | Checked out revision 15. | |
599 | $ echo "subdir = [svn] $SVNREPOURL/branches/somebranch/subdir" > .hgsub |
|
599 | $ echo "subdir = [svn] $SVNREPOURL/branches/somebranch/subdir" > .hgsub | |
600 | $ hg add .hgsub |
|
600 | $ hg add .hgsub | |
@@ -618,10 +618,10 b' Test sanitizing ".hg/hgrc" in subrepo' | |||||
618 | $ echo 'sub/.hg/hgrc in svn repo' > sub/.hg/hgrc |
|
618 | $ echo 'sub/.hg/hgrc in svn repo' > sub/.hg/hgrc | |
619 | $ svn add .hg sub |
|
619 | $ svn add .hg sub | |
620 | A .hg |
|
620 | A .hg | |
621 |
A .hg/hgrc |
|
621 | A .hg/hgrc | |
622 | A sub |
|
622 | A sub | |
623 |
A sub/.hg |
|
623 | A sub/.hg | |
624 |
A sub/.hg/hgrc |
|
624 | A sub/.hg/hgrc | |
625 | $ svn ci -qm 'add .hg/hgrc to be sanitized at hg update' |
|
625 | $ svn ci -qm 'add .hg/hgrc to be sanitized at hg update' | |
626 | $ svn up -q |
|
626 | $ svn up -q | |
627 | $ cd .. |
|
627 | $ cd .. | |
@@ -631,8 +631,8 b' Test sanitizing ".hg/hgrc" in subrepo' | |||||
631 | $ cd .. |
|
631 | $ cd .. | |
632 |
|
632 | |||
633 | $ hg -R tc pull -u -q 2>&1 | sort |
|
633 | $ hg -R tc pull -u -q 2>&1 | sort | |
634 |
warning: removing potentially hostile 'hgrc' in '$TESTTMP/sub/tc/s/.hg' |
|
634 | warning: removing potentially hostile 'hgrc' in '$TESTTMP/sub/tc/s/.hg' | |
635 |
warning: removing potentially hostile 'hgrc' in '$TESTTMP/sub/tc/s/sub/.hg' |
|
635 | warning: removing potentially hostile 'hgrc' in '$TESTTMP/sub/tc/s/sub/.hg' | |
636 | $ cd tc |
|
636 | $ cd tc | |
637 | $ grep ' s$' .hgsubstate |
|
637 | $ grep ' s$' .hgsubstate | |
638 | 16 s |
|
638 | 16 s |
@@ -29,7 +29,7 b' Issue2232: committing a subrepo without ' | |||||
29 | $ hg files -S |
|
29 | $ hg files -S | |
30 | .hgsub |
|
30 | .hgsub | |
31 | a |
|
31 | a | |
32 | s/a (glob) |
|
32 | s/a | |
33 |
|
33 | |||
34 | $ hg -R s ci -Ams0 |
|
34 | $ hg -R s ci -Ams0 | |
35 | $ hg sum |
|
35 | $ hg sum | |
@@ -58,10 +58,10 b' Subrepopath which overlaps with filepath' | |||||
58 | $ mkdir snot |
|
58 | $ mkdir snot | |
59 | $ touch snot/file |
|
59 | $ touch snot/file | |
60 | $ hg remove -S snot/file |
|
60 | $ hg remove -S snot/file | |
61 |
not removing snot/file: file is untracked |
|
61 | not removing snot/file: file is untracked | |
62 | [1] |
|
62 | [1] | |
63 | $ hg cat snot/filenot |
|
63 | $ hg cat snot/filenot | |
64 |
snot/filenot: no such file in rev 7cf8cfea66e4 |
|
64 | snot/filenot: no such file in rev 7cf8cfea66e4 | |
65 | [1] |
|
65 | [1] | |
66 | $ rm -r snot |
|
66 | $ rm -r snot | |
67 |
|
67 | |||
@@ -70,12 +70,12 b' Revert subrepo and test subrepo fileset ' | |||||
70 | $ echo b > s/a |
|
70 | $ echo b > s/a | |
71 | $ hg revert --dry-run "set:subrepo('glob:s*')" |
|
71 | $ hg revert --dry-run "set:subrepo('glob:s*')" | |
72 | reverting subrepo s |
|
72 | reverting subrepo s | |
73 |
reverting s/a |
|
73 | reverting s/a | |
74 | $ cat s/a |
|
74 | $ cat s/a | |
75 | b |
|
75 | b | |
76 | $ hg revert "set:subrepo('glob:s*')" |
|
76 | $ hg revert "set:subrepo('glob:s*')" | |
77 | reverting subrepo s |
|
77 | reverting subrepo s | |
78 |
reverting s/a |
|
78 | reverting s/a | |
79 | $ cat s/a |
|
79 | $ cat s/a | |
80 | a |
|
80 | a | |
81 | $ rm s/a.orig |
|
81 | $ rm s/a.orig | |
@@ -131,7 +131,7 b' add sub sub' | |||||
131 | phases: 2 draft |
|
131 | phases: 2 draft | |
132 | $ hg ci -m2 |
|
132 | $ hg ci -m2 | |
133 | committing subrepository s |
|
133 | committing subrepository s | |
134 |
committing subrepository s/ss |
|
134 | committing subrepository s/ss | |
135 | $ hg sum |
|
135 | $ hg sum | |
136 | parent: 2:df30734270ae tip |
|
136 | parent: 2:df30734270ae tip | |
137 | 2 |
|
137 | 2 | |
@@ -205,7 +205,7 b' new branch for merge tests' | |||||
205 | $ hg init t |
|
205 | $ hg init t | |
206 | $ echo t > t/t |
|
206 | $ echo t > t/t | |
207 | $ hg -R t add t |
|
207 | $ hg -R t add t | |
208 |
adding t/t |
|
208 | adding t/t | |
209 |
|
209 | |||
210 | 5 |
|
210 | 5 | |
211 |
|
211 | |||
@@ -473,7 +473,7 b' clone' | |||||
473 | $ hg clone t tc |
|
473 | $ hg clone t tc | |
474 | updating to branch default |
|
474 | updating to branch default | |
475 | cloning subrepo s from $TESTTMP/t/s |
|
475 | cloning subrepo s from $TESTTMP/t/s | |
476 |
cloning subrepo s/ss from $TESTTMP/t/s/ss |
|
476 | cloning subrepo s/ss from $TESTTMP/t/s/ss | |
477 | cloning subrepo t from $TESTTMP/t/t |
|
477 | cloning subrepo t from $TESTTMP/t/t | |
478 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
478 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
479 | $ cd tc |
|
479 | $ cd tc | |
@@ -529,8 +529,8 b' push' | |||||
529 | $ hg ci -m11 |
|
529 | $ hg ci -m11 | |
530 | committing subrepository t |
|
530 | committing subrepository t | |
531 | $ hg push |
|
531 | $ hg push | |
532 |
pushing to $TESTTMP/t |
|
532 | pushing to $TESTTMP/t | |
533 |
no changes made to subrepo s/ss since last push to $TESTTMP/t/s/ss |
|
533 | no changes made to subrepo s/ss since last push to $TESTTMP/t/s/ss | |
534 | no changes made to subrepo s since last push to $TESTTMP/t/s |
|
534 | no changes made to subrepo s since last push to $TESTTMP/t/s | |
535 | pushing subrepo t to $TESTTMP/t/t |
|
535 | pushing subrepo t to $TESTTMP/t/t | |
536 | searching for changes |
|
536 | searching for changes | |
@@ -550,16 +550,16 b' push -f' | |||||
550 | $ hg ci -m12 |
|
550 | $ hg ci -m12 | |
551 | committing subrepository s |
|
551 | committing subrepository s | |
552 | $ hg push |
|
552 | $ hg push | |
553 |
pushing to $TESTTMP/t |
|
553 | pushing to $TESTTMP/t | |
554 |
no changes made to subrepo s/ss since last push to $TESTTMP/t/s/ss |
|
554 | no changes made to subrepo s/ss since last push to $TESTTMP/t/s/ss | |
555 | pushing subrepo s to $TESTTMP/t/s |
|
555 | pushing subrepo s to $TESTTMP/t/s | |
556 | searching for changes |
|
556 | searching for changes | |
557 | abort: push creates new remote head 12a213df6fa9! (in subrepository "s") |
|
557 | abort: push creates new remote head 12a213df6fa9! (in subrepository "s") | |
558 | (merge or see 'hg help push' for details about pushing new heads) |
|
558 | (merge or see 'hg help push' for details about pushing new heads) | |
559 | [255] |
|
559 | [255] | |
560 | $ hg push -f |
|
560 | $ hg push -f | |
561 |
pushing to $TESTTMP/t |
|
561 | pushing to $TESTTMP/t | |
562 |
pushing subrepo s/ss to $TESTTMP/t/s/ss |
|
562 | pushing subrepo s/ss to $TESTTMP/t/s/ss | |
563 | searching for changes |
|
563 | searching for changes | |
564 | no changes found |
|
564 | no changes found | |
565 | pushing subrepo s to $TESTTMP/t/s |
|
565 | pushing subrepo s to $TESTTMP/t/s | |
@@ -582,7 +582,7 b' check that unmodified subrepos are not p' | |||||
582 | $ hg clone . ../tcc |
|
582 | $ hg clone . ../tcc | |
583 | updating to branch default |
|
583 | updating to branch default | |
584 | cloning subrepo s from $TESTTMP/tc/s |
|
584 | cloning subrepo s from $TESTTMP/tc/s | |
585 |
cloning subrepo s/ss from $TESTTMP/tc/s/ss |
|
585 | cloning subrepo s/ss from $TESTTMP/tc/s/ss | |
586 | cloning subrepo t from $TESTTMP/tc/t |
|
586 | cloning subrepo t from $TESTTMP/tc/t | |
587 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
587 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
588 |
|
588 | |||
@@ -590,7 +590,7 b' the subrepos on the new clone have nothi' | |||||
590 |
|
590 | |||
591 | $ hg push -R ../tcc . |
|
591 | $ hg push -R ../tcc . | |
592 | pushing to . |
|
592 | pushing to . | |
593 |
no changes made to subrepo s/ss since last push to s/ss |
|
593 | no changes made to subrepo s/ss since last push to s/ss | |
594 | no changes made to subrepo s since last push to s |
|
594 | no changes made to subrepo s since last push to s | |
595 | no changes made to subrepo t since last push to t |
|
595 | no changes made to subrepo t since last push to t | |
596 | searching for changes |
|
596 | searching for changes | |
@@ -602,7 +602,7 b' because they were never explicitly pushe' | |||||
602 |
|
602 | |||
603 | $ hg push ../tcc |
|
603 | $ hg push ../tcc | |
604 | pushing to ../tcc |
|
604 | pushing to ../tcc | |
605 |
pushing subrepo s/ss to ../tcc/s/ss |
|
605 | pushing subrepo s/ss to ../tcc/s/ss | |
606 | searching for changes |
|
606 | searching for changes | |
607 | no changes found |
|
607 | no changes found | |
608 | pushing subrepo s to ../tcc/s |
|
608 | pushing subrepo s to ../tcc/s | |
@@ -619,7 +619,7 b' after push their stores become clean' | |||||
619 |
|
619 | |||
620 | $ hg push ../tcc |
|
620 | $ hg push ../tcc | |
621 | pushing to ../tcc |
|
621 | pushing to ../tcc | |
622 |
no changes made to subrepo s/ss since last push to ../tcc/s/ss |
|
622 | no changes made to subrepo s/ss since last push to ../tcc/s/ss | |
623 | no changes made to subrepo s since last push to ../tcc/s |
|
623 | no changes made to subrepo s since last push to ../tcc/s | |
624 | no changes made to subrepo t since last push to ../tcc/t |
|
624 | no changes made to subrepo t since last push to ../tcc/t | |
625 | searching for changes |
|
625 | searching for changes | |
@@ -632,8 +632,8 b' its working directory does not make its ' | |||||
632 | $ hg -R s update '.^' |
|
632 | $ hg -R s update '.^' | |
633 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
633 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
634 | $ hg push |
|
634 | $ hg push | |
635 |
pushing to $TESTTMP/t |
|
635 | pushing to $TESTTMP/t | |
636 |
no changes made to subrepo s/ss since last push to $TESTTMP/t/s/ss |
|
636 | no changes made to subrepo s/ss since last push to $TESTTMP/t/s/ss | |
637 | no changes made to subrepo s since last push to $TESTTMP/t/s |
|
637 | no changes made to subrepo s since last push to $TESTTMP/t/s | |
638 | no changes made to subrepo t since last push to $TESTTMP/t/t |
|
638 | no changes made to subrepo t since last push to $TESTTMP/t/t | |
639 | searching for changes |
|
639 | searching for changes | |
@@ -641,8 +641,8 b' its working directory does not make its ' | |||||
641 | [1] |
|
641 | [1] | |
642 | $ echo foo >> s/a |
|
642 | $ echo foo >> s/a | |
643 | $ hg push |
|
643 | $ hg push | |
644 |
pushing to $TESTTMP/t |
|
644 | pushing to $TESTTMP/t | |
645 |
no changes made to subrepo s/ss since last push to $TESTTMP/t/s/ss |
|
645 | no changes made to subrepo s/ss since last push to $TESTTMP/t/s/ss | |
646 | no changes made to subrepo s since last push to $TESTTMP/t/s |
|
646 | no changes made to subrepo s since last push to $TESTTMP/t/s | |
647 | no changes made to subrepo t since last push to $TESTTMP/t/t |
|
647 | no changes made to subrepo t since last push to $TESTTMP/t/t | |
648 | searching for changes |
|
648 | searching for changes | |
@@ -657,7 +657,7 b' committing into a subrepo makes its stor' | |||||
657 | $ hg -R s/ss commit -m 'test dirty store detection' |
|
657 | $ hg -R s/ss commit -m 'test dirty store detection' | |
658 |
|
658 | |||
659 | $ hg out -S -r `hg log -r tip -T "{node|short}"` |
|
659 | $ hg out -S -r `hg log -r tip -T "{node|short}"` | |
660 |
comparing with $TESTTMP/t |
|
660 | comparing with $TESTTMP/t | |
661 | searching for changes |
|
661 | searching for changes | |
662 | no changes found |
|
662 | no changes found | |
663 | comparing with $TESTTMP/t/s |
|
663 | comparing with $TESTTMP/t/s | |
@@ -676,8 +676,8 b' committing into a subrepo makes its stor' | |||||
676 | no changes found |
|
676 | no changes found | |
677 |
|
677 | |||
678 | $ hg push |
|
678 | $ hg push | |
679 |
pushing to $TESTTMP/t |
|
679 | pushing to $TESTTMP/t | |
680 |
pushing subrepo s/ss to $TESTTMP/t/s/ss |
|
680 | pushing subrepo s/ss to $TESTTMP/t/s/ss | |
681 | searching for changes |
|
681 | searching for changes | |
682 | adding changesets |
|
682 | adding changesets | |
683 | adding manifests |
|
683 | adding manifests | |
@@ -692,8 +692,8 b' committing into a subrepo makes its stor' | |||||
692 | a subrepo store may be clean versus one repo but not versus another |
|
692 | a subrepo store may be clean versus one repo but not versus another | |
693 |
|
693 | |||
694 | $ hg push |
|
694 | $ hg push | |
695 |
pushing to $TESTTMP/t |
|
695 | pushing to $TESTTMP/t | |
696 |
no changes made to subrepo s/ss since last push to $TESTTMP/t/s/ss |
|
696 | no changes made to subrepo s/ss since last push to $TESTTMP/t/s/ss | |
697 | no changes made to subrepo s since last push to $TESTTMP/t/s |
|
697 | no changes made to subrepo s since last push to $TESTTMP/t/s | |
698 | no changes made to subrepo t since last push to $TESTTMP/t/t |
|
698 | no changes made to subrepo t since last push to $TESTTMP/t/t | |
699 | searching for changes |
|
699 | searching for changes | |
@@ -701,7 +701,7 b' a subrepo store may be clean versus one ' | |||||
701 | [1] |
|
701 | [1] | |
702 | $ hg push ../tcc |
|
702 | $ hg push ../tcc | |
703 | pushing to ../tcc |
|
703 | pushing to ../tcc | |
704 |
pushing subrepo s/ss to ../tcc/s/ss |
|
704 | pushing subrepo s/ss to ../tcc/s/ss | |
705 | searching for changes |
|
705 | searching for changes | |
706 | adding changesets |
|
706 | adding changesets | |
707 | adding manifests |
|
707 | adding manifests | |
@@ -740,7 +740,7 b' pull' | |||||
740 |
|
740 | |||
741 | $ cd ../tc |
|
741 | $ cd ../tc | |
742 | $ hg pull |
|
742 | $ hg pull | |
743 |
pulling from $TESTTMP/t |
|
743 | pulling from $TESTTMP/t | |
744 | searching for changes |
|
744 | searching for changes | |
745 | adding changesets |
|
745 | adding changesets | |
746 | adding manifests |
|
746 | adding manifests | |
@@ -752,7 +752,7 b' pull' | |||||
752 | should pull t |
|
752 | should pull t | |
753 |
|
753 | |||
754 | $ hg incoming -S -r `hg log -r tip -T "{node|short}"` |
|
754 | $ hg incoming -S -r `hg log -r tip -T "{node|short}"` | |
755 |
comparing with $TESTTMP/t |
|
755 | comparing with $TESTTMP/t | |
756 | no changes found |
|
756 | no changes found | |
757 | comparing with $TESTTMP/t/s |
|
757 | comparing with $TESTTMP/t/s | |
758 | searching for changes |
|
758 | searching for changes | |
@@ -918,15 +918,15 b' test subrepo delete from .hgsubstate' | |||||
918 | $ echo test > testdelete/nested/foo |
|
918 | $ echo test > testdelete/nested/foo | |
919 | $ echo test > testdelete/nested2/foo |
|
919 | $ echo test > testdelete/nested2/foo | |
920 | $ hg -R testdelete/nested add |
|
920 | $ hg -R testdelete/nested add | |
921 |
adding testdelete/nested/foo |
|
921 | adding testdelete/nested/foo | |
922 | $ hg -R testdelete/nested2 add |
|
922 | $ hg -R testdelete/nested2 add | |
923 |
adding testdelete/nested2/foo |
|
923 | adding testdelete/nested2/foo | |
924 | $ hg -R testdelete/nested ci -m test |
|
924 | $ hg -R testdelete/nested ci -m test | |
925 | $ hg -R testdelete/nested2 ci -m test |
|
925 | $ hg -R testdelete/nested2 ci -m test | |
926 | $ echo nested = nested > testdelete/.hgsub |
|
926 | $ echo nested = nested > testdelete/.hgsub | |
927 | $ echo nested2 = nested2 >> testdelete/.hgsub |
|
927 | $ echo nested2 = nested2 >> testdelete/.hgsub | |
928 | $ hg -R testdelete add |
|
928 | $ hg -R testdelete add | |
929 |
adding testdelete/.hgsub |
|
929 | adding testdelete/.hgsub | |
930 | $ hg -R testdelete ci -m "nested 1 & 2 added" |
|
930 | $ hg -R testdelete ci -m "nested 1 & 2 added" | |
931 | $ echo nested = nested > testdelete/.hgsub |
|
931 | $ echo nested = nested > testdelete/.hgsub | |
932 | $ hg -R testdelete ci -m "nested 2 deleted" |
|
932 | $ hg -R testdelete ci -m "nested 2 deleted" | |
@@ -943,19 +943,19 b' test repository cloning' | |||||
943 | $ hg init nested_absolute |
|
943 | $ hg init nested_absolute | |
944 | $ echo test > nested_absolute/foo |
|
944 | $ echo test > nested_absolute/foo | |
945 | $ hg -R nested_absolute add |
|
945 | $ hg -R nested_absolute add | |
946 |
adding nested_absolute/foo |
|
946 | adding nested_absolute/foo | |
947 | $ hg -R nested_absolute ci -mtest |
|
947 | $ hg -R nested_absolute ci -mtest | |
948 | $ cd mercurial |
|
948 | $ cd mercurial | |
949 | $ hg init nested_relative |
|
949 | $ hg init nested_relative | |
950 | $ echo test2 > nested_relative/foo2 |
|
950 | $ echo test2 > nested_relative/foo2 | |
951 | $ hg -R nested_relative add |
|
951 | $ hg -R nested_relative add | |
952 |
adding nested_relative/foo2 |
|
952 | adding nested_relative/foo2 | |
953 | $ hg -R nested_relative ci -mtest2 |
|
953 | $ hg -R nested_relative ci -mtest2 | |
954 | $ hg init main |
|
954 | $ hg init main | |
955 | $ echo "nested_relative = ../nested_relative" > main/.hgsub |
|
955 | $ echo "nested_relative = ../nested_relative" > main/.hgsub | |
956 | $ echo "nested_absolute = `pwd`/nested_absolute" >> main/.hgsub |
|
956 | $ echo "nested_absolute = `pwd`/nested_absolute" >> main/.hgsub | |
957 | $ hg -R main add |
|
957 | $ hg -R main add | |
958 |
adding main/.hgsub |
|
958 | adding main/.hgsub | |
959 | $ hg -R main ci -m "add subrepos" |
|
959 | $ hg -R main ci -m "add subrepos" | |
960 | $ cd .. |
|
960 | $ cd .. | |
961 | $ hg clone mercurial/main mercurial2/main |
|
961 | $ hg clone mercurial/main mercurial2/main | |
@@ -1035,7 +1035,7 b' filesystem (see also issue4583))' | |||||
1035 | $ rm repo/s/b |
|
1035 | $ rm repo/s/b | |
1036 | $ touch -t 200001010000 repo/.hgsubstate |
|
1036 | $ touch -t 200001010000 repo/.hgsubstate | |
1037 | $ hg -R repo revert --all |
|
1037 | $ hg -R repo revert --all | |
1038 |
reverting repo/.hgsubstate |
|
1038 | reverting repo/.hgsubstate | |
1039 | reverting subrepo s |
|
1039 | reverting subrepo s | |
1040 | $ hg -R repo update |
|
1040 | $ hg -R repo update | |
1041 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
1041 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
@@ -1056,10 +1056,10 b' Prepare a repo with subrepo' | |||||
1056 | $ echo sub/repo = sub/repo > .hgsub |
|
1056 | $ echo sub/repo = sub/repo > .hgsub | |
1057 | $ hg add .hgsub |
|
1057 | $ hg add .hgsub | |
1058 | $ hg ci -mtest |
|
1058 | $ hg ci -mtest | |
1059 |
committing subrepository sub/repo |
|
1059 | committing subrepository sub/repo | |
1060 | $ echo test >> sub/repo/foo |
|
1060 | $ echo test >> sub/repo/foo | |
1061 | $ hg ci -mtest |
|
1061 | $ hg ci -mtest | |
1062 |
committing subrepository sub/repo |
|
1062 | committing subrepository sub/repo | |
1063 | $ hg cat sub/repo/foo |
|
1063 | $ hg cat sub/repo/foo | |
1064 | test |
|
1064 | test | |
1065 | test |
|
1065 | test | |
@@ -1077,9 +1077,9 b' Prepare a repo with subrepo' | |||||
1077 | $ hg cat -T '{path}\n' 'glob:**' |
|
1077 | $ hg cat -T '{path}\n' 'glob:**' | |
1078 | .hgsub |
|
1078 | .hgsub | |
1079 | .hgsubstate |
|
1079 | .hgsubstate | |
1080 |
sub/repo/foo |
|
1080 | sub/repo/foo | |
1081 | $ hg cat -T '{path}\n' 're:^sub' |
|
1081 | $ hg cat -T '{path}\n' 're:^sub' | |
1082 |
sub/repo/foo |
|
1082 | sub/repo/foo | |
1083 |
|
1083 | |||
1084 | missing subrepos in working directory: |
|
1084 | missing subrepos in working directory: | |
1085 |
|
1085 | |||
@@ -1108,7 +1108,7 b' Create repo without default path, pull t' | |||||
1108 | new changesets 19487b456929:be5eb94e7215 |
|
1108 | new changesets 19487b456929:be5eb94e7215 | |
1109 | (run 'hg update' to get a working copy) |
|
1109 | (run 'hg update' to get a working copy) | |
1110 | $ hg -R issue1852b update |
|
1110 | $ hg -R issue1852b update | |
1111 |
abort: default path for subrepository not found (in subrepository "sub/repo") |
|
1111 | abort: default path for subrepository not found (in subrepository "sub/repo") | |
1112 | [255] |
|
1112 | [255] | |
1113 |
|
1113 | |||
1114 | Ensure a full traceback, not just the SubrepoAbort part |
|
1114 | Ensure a full traceback, not just the SubrepoAbort part | |
@@ -1133,14 +1133,14 b' Try the same, but with pull -u' | |||||
1133 | adding file changes |
|
1133 | adding file changes | |
1134 | added 1 changesets with 2 changes to 2 files |
|
1134 | added 1 changesets with 2 changes to 2 files | |
1135 | new changesets 19487b456929 |
|
1135 | new changesets 19487b456929 | |
1136 |
cloning subrepo sub/repo from issue1852a/sub/repo |
|
1136 | cloning subrepo sub/repo from issue1852a/sub/repo | |
1137 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
1137 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
1138 |
|
1138 | |||
1139 | Try to push from the other side |
|
1139 | Try to push from the other side | |
1140 |
|
1140 | |||
1141 | $ hg -R issue1852a push `pwd`/issue1852c |
|
1141 | $ hg -R issue1852a push `pwd`/issue1852c | |
1142 |
pushing to $TESTTMP/issue1852c |
|
1142 | pushing to $TESTTMP/issue1852c | |
1143 |
pushing subrepo sub/repo to $TESTTMP/issue1852c/sub/repo |
|
1143 | pushing subrepo sub/repo to $TESTTMP/issue1852c/sub/repo | |
1144 | searching for changes |
|
1144 | searching for changes | |
1145 | no changes found |
|
1145 | no changes found | |
1146 | searching for changes |
|
1146 | searching for changes | |
@@ -1183,12 +1183,12 b" Check that merge of a new subrepo doesn'" | |||||
1183 | $ echo def > issue1852a/sub/repo/foo |
|
1183 | $ echo def > issue1852a/sub/repo/foo | |
1184 | $ hg -R issue1852a ci -SAm 'tweaked subrepo' |
|
1184 | $ hg -R issue1852a ci -SAm 'tweaked subrepo' | |
1185 | adding tmp/sub/repo/foo_p |
|
1185 | adding tmp/sub/repo/foo_p | |
1186 |
committing subrepository sub/repo |
|
1186 | committing subrepository sub/repo | |
1187 |
|
1187 | |||
1188 | $ echo 'addedsub = addedsub' >> issue1852d/.hgsub |
|
1188 | $ echo 'addedsub = addedsub' >> issue1852d/.hgsub | |
1189 | $ echo xyz > issue1852d/sub/repo/foo |
|
1189 | $ echo xyz > issue1852d/sub/repo/foo | |
1190 | $ hg -R issue1852d pull -u |
|
1190 | $ hg -R issue1852d pull -u | |
1191 |
pulling from $TESTTMP/issue1852a |
|
1191 | pulling from $TESTTMP/issue1852a | |
1192 | searching for changes |
|
1192 | searching for changes | |
1193 | adding changesets |
|
1193 | adding changesets | |
1194 | adding manifests |
|
1194 | adding manifests | |
@@ -1197,14 +1197,14 b" Check that merge of a new subrepo doesn'" | |||||
1197 | new changesets c82b79fdcc5b |
|
1197 | new changesets c82b79fdcc5b | |
1198 | subrepository sub/repo diverged (local revision: f42d5c7504a8, remote revision: 46cd4aac504c) |
|
1198 | subrepository sub/repo diverged (local revision: f42d5c7504a8, remote revision: 46cd4aac504c) | |
1199 | (M)erge, keep (l)ocal [working copy] or keep (r)emote [destination]? m |
|
1199 | (M)erge, keep (l)ocal [working copy] or keep (r)emote [destination]? m | |
1200 |
pulling subrepo sub/repo from $TESTTMP/issue1852a/sub/repo |
|
1200 | pulling subrepo sub/repo from $TESTTMP/issue1852a/sub/repo | |
1201 | searching for changes |
|
1201 | searching for changes | |
1202 | adding changesets |
|
1202 | adding changesets | |
1203 | adding manifests |
|
1203 | adding manifests | |
1204 | adding file changes |
|
1204 | adding file changes | |
1205 | added 1 changesets with 1 changes to 1 files |
|
1205 | added 1 changesets with 1 changes to 1 files | |
1206 | new changesets 46cd4aac504c |
|
1206 | new changesets 46cd4aac504c | |
1207 |
subrepository sources for sub/repo differ |
|
1207 | subrepository sources for sub/repo differ | |
1208 | use (l)ocal source (f42d5c7504a8) or (r)emote source (46cd4aac504c)? l |
|
1208 | use (l)ocal source (f42d5c7504a8) or (r)emote source (46cd4aac504c)? l | |
1209 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
1209 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
1210 | $ cat issue1852d/.hgsubstate |
|
1210 | $ cat issue1852d/.hgsubstate | |
@@ -1541,8 +1541,8 b' Adding without a path or pattern with -S' | |||||
1541 | ? s/f9 |
|
1541 | ? s/f9 | |
1542 | $ hg add -S |
|
1542 | $ hg add -S | |
1543 | adding f8 |
|
1543 | adding f8 | |
1544 |
adding s/f10 |
|
1544 | adding s/f10 | |
1545 |
adding s/f9 |
|
1545 | adding s/f9 | |
1546 | $ hg st -S |
|
1546 | $ hg st -S | |
1547 | A f8 |
|
1547 | A f8 | |
1548 | A s/f10 |
|
1548 | A s/f10 | |
@@ -1583,7 +1583,7 b' Adding with a pattern with -S also adds ' | |||||
1583 | ? s/fn18 |
|
1583 | ? s/fn18 | |
1584 | $ hg add -S 'glob:**fm*' |
|
1584 | $ hg add -S 'glob:**fm*' | |
1585 | adding fm15 |
|
1585 | adding fm15 | |
1586 |
adding s/fm17 |
|
1586 | adding s/fm17 | |
1587 | $ hg st -S |
|
1587 | $ hg st -S | |
1588 | A fm15 |
|
1588 | A fm15 | |
1589 | A s/fm17 |
|
1589 | A s/fm17 | |
@@ -1621,7 +1621,7 b' Courtesy phases synchronisation to publi' | |||||
1621 | > default=../issue3781-dest/ |
|
1621 | > default=../issue3781-dest/ | |
1622 | > EOF |
|
1622 | > EOF | |
1623 | $ hg push --config devel.legacy.exchange=bundle1 |
|
1623 | $ hg push --config devel.legacy.exchange=bundle1 | |
1624 |
pushing to $TESTTMP/issue3781-dest |
|
1624 | pushing to $TESTTMP/issue3781-dest | |
1625 | pushing subrepo s to $TESTTMP/issue3781-dest/s |
|
1625 | pushing subrepo s to $TESTTMP/issue3781-dest/s | |
1626 | searching for changes |
|
1626 | searching for changes | |
1627 | no changes found |
|
1627 | no changes found | |
@@ -1631,7 +1631,7 b' Courtesy phases synchronisation to publi' | |||||
1631 | # clean the push cache |
|
1631 | # clean the push cache | |
1632 | $ rm s/.hg/cache/storehash/* |
|
1632 | $ rm s/.hg/cache/storehash/* | |
1633 | $ hg push # bundle2+ |
|
1633 | $ hg push # bundle2+ | |
1634 |
pushing to $TESTTMP/issue3781-dest |
|
1634 | pushing to $TESTTMP/issue3781-dest | |
1635 | pushing subrepo s to $TESTTMP/issue3781-dest/s |
|
1635 | pushing subrepo s to $TESTTMP/issue3781-dest/s | |
1636 | searching for changes |
|
1636 | searching for changes | |
1637 | no changes found |
|
1637 | no changes found | |
@@ -1689,7 +1689,7 b' configuration' | |||||
1689 | $ echo phasecheck4 >> t/t |
|
1689 | $ echo phasecheck4 >> t/t | |
1690 | $ hg commit -S -m phasecheck4 |
|
1690 | $ hg commit -S -m phasecheck4 | |
1691 | committing subrepository s |
|
1691 | committing subrepository s | |
1692 |
committing subrepository s/ss |
|
1692 | committing subrepository s/ss | |
1693 | warning: changes are committed in secret phase from subrepository ss |
|
1693 | warning: changes are committed in secret phase from subrepository ss | |
1694 | committing subrepository t |
|
1694 | committing subrepository t | |
1695 | warning: changes are committed in secret phase from subrepository s |
|
1695 | warning: changes are committed in secret phase from subrepository s |
@@ -515,7 +515,7 b' commit hook on tag used to be run withou' | |||||
515 | $ hg -R repo-tag --config hooks.commit="sh ../issue3344.sh" tag tag |
|
515 | $ hg -R repo-tag --config hooks.commit="sh ../issue3344.sh" tag tag | |
516 | hook: tag changes detected |
|
516 | hook: tag changes detected | |
517 | hook: +A be090ea6625635128e90f7d89df8beeb2bcc1653 tag |
|
517 | hook: +A be090ea6625635128e90f7d89df8beeb2bcc1653 tag | |
518 |
pushing to $TESTTMP/repo-tag-target |
|
518 | pushing to $TESTTMP/repo-tag-target | |
519 | searching for changes |
|
519 | searching for changes | |
520 | adding changesets |
|
520 | adding changesets | |
521 | adding manifests |
|
521 | adding manifests | |
@@ -619,7 +619,7 b' check that we can merge tags that differ' | |||||
619 |
|
619 | |||
620 | $ cd ../repo-automatic-tag-merge-clone |
|
620 | $ cd ../repo-automatic-tag-merge-clone | |
621 | $ hg pull |
|
621 | $ hg pull | |
622 |
pulling from $TESTTMP/repo-automatic-tag-merge |
|
622 | pulling from $TESTTMP/repo-automatic-tag-merge | |
623 | searching for changes |
|
623 | searching for changes | |
624 | adding changesets |
|
624 | adding changesets | |
625 | adding manifests |
|
625 | adding manifests |
@@ -91,10 +91,10 b' Yadda is a symlink' | |||||
91 | $ f -qr dir -HB 17 |
|
91 | $ f -qr dir -HB 17 | |
92 | dir: directory with 3 files (symlink !) |
|
92 | dir: directory with 3 files (symlink !) | |
93 | dir: directory with 2 files (no-symlink !) |
|
93 | dir: directory with 2 files (no-symlink !) | |
94 |
dir/bar: |
|
94 | dir/bar: | |
95 | 0000: 31 0a 32 0a 33 0a 34 0a 35 0a 36 0a 37 0a 38 0a |1.2.3.4.5.6.7.8.| |
|
95 | 0000: 31 0a 32 0a 33 0a 34 0a 35 0a 36 0a 37 0a 38 0a |1.2.3.4.5.6.7.8.| | |
96 | 0010: 39 |9| |
|
96 | 0010: 39 |9| | |
97 |
dir/foo: |
|
97 | dir/foo: | |
98 | 0000: 66 6f 6f 0a |foo.| |
|
98 | 0000: 66 6f 6f 0a |foo.| | |
99 | dir/l: (symlink !) |
|
99 | dir/l: (symlink !) | |
100 | 0000: 79 61 64 64 61 |yadda| (symlink !) |
|
100 | 0000: 79 61 64 64 61 |yadda| (symlink !) |
@@ -54,12 +54,12 b' Can add nested directories' | |||||
54 | $ hg files -r . |
|
54 | $ hg files -r . | |
55 | a |
|
55 | a | |
56 | b |
|
56 | b | |
57 |
dir1/a |
|
57 | dir1/a | |
58 |
dir1/b |
|
58 | dir1/b | |
59 |
dir1/dir1/a |
|
59 | dir1/dir1/a | |
60 |
dir1/dir1/b |
|
60 | dir1/dir1/b | |
61 |
dir1/dir2/a |
|
61 | dir1/dir2/a | |
62 |
dir1/dir2/b |
|
62 | dir1/dir2/b | |
63 | e |
|
63 | e | |
64 |
|
64 | |||
65 | The manifest command works |
|
65 | The manifest command works | |
@@ -80,7 +80,7 b' Revision is not created for unchanged di' | |||||
80 | $ mkdir dir2 |
|
80 | $ mkdir dir2 | |
81 | $ echo 3 > dir2/a |
|
81 | $ echo 3 > dir2/a | |
82 | $ hg add dir2 |
|
82 | $ hg add dir2 | |
83 |
adding dir2/a |
|
83 | adding dir2/a | |
84 | $ hg debugindex --dir dir1 > before |
|
84 | $ hg debugindex --dir dir1 > before | |
85 | $ hg ci -qm 'add dir2' |
|
85 | $ hg ci -qm 'add dir2' | |
86 | $ hg debugindex --dir dir1 > after |
|
86 | $ hg debugindex --dir dir1 > after | |
@@ -90,8 +90,8 b' Revision is not created for unchanged di' | |||||
90 | Removing directory does not create an revlog entry |
|
90 | Removing directory does not create an revlog entry | |
91 |
|
91 | |||
92 | $ hg rm dir1/dir1 |
|
92 | $ hg rm dir1/dir1 | |
93 |
removing dir1/dir1/a |
|
93 | removing dir1/dir1/a | |
94 |
removing dir1/dir1/b |
|
94 | removing dir1/dir1/b | |
95 | $ hg debugindex --dir dir1/dir1 > before |
|
95 | $ hg debugindex --dir dir1/dir1 > before | |
96 | $ hg ci -qm 'remove dir1/dir1' |
|
96 | $ hg ci -qm 'remove dir1/dir1' | |
97 | $ hg debugindex --dir dir1/dir1 > after |
|
97 | $ hg debugindex --dir dir1/dir1 > after | |
@@ -105,12 +105,12 b' without loading all directory revlogs' | |||||
105 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
105 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
106 | $ mv .hg/store/meta/dir2 .hg/store/meta/dir2-backup |
|
106 | $ mv .hg/store/meta/dir2 .hg/store/meta/dir2-backup | |
107 | $ hg files -r . dir1 |
|
107 | $ hg files -r . dir1 | |
108 |
dir1/a |
|
108 | dir1/a | |
109 |
dir1/b |
|
109 | dir1/b | |
110 |
dir1/dir1/a |
|
110 | dir1/dir1/a | |
111 |
dir1/dir1/b |
|
111 | dir1/dir1/b | |
112 |
dir1/dir2/a |
|
112 | dir1/dir2/a | |
113 |
dir1/dir2/b |
|
113 | dir1/dir2/b | |
114 |
|
114 | |||
115 | Check that status between revisions works (calls treemanifest.matches()) |
|
115 | Check that status between revisions works (calls treemanifest.matches()) | |
116 | without loading all directory revlogs |
|
116 | without loading all directory revlogs | |
@@ -161,7 +161,7 b" dir1's manifest does change, but only be" | |||||
161 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
161 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
162 | (branch merge, don't forget to commit) |
|
162 | (branch merge, don't forget to commit) | |
163 | $ hg revert -r 'desc("modify dir2/a")' . |
|
163 | $ hg revert -r 'desc("modify dir2/a")' . | |
164 |
reverting dir1/a |
|
164 | reverting dir1/a | |
165 | $ hg ci -m 'merge, keeping parent 1' |
|
165 | $ hg ci -m 'merge, keeping parent 1' | |
166 | $ hg debugindex --dir dir2 > after |
|
166 | $ hg debugindex --dir dir2 > after | |
167 | $ diff before after |
|
167 | $ diff before after | |
@@ -177,7 +177,7 b" dir2's manifest does change, but only be" | |||||
177 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
177 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
178 | (branch merge, don't forget to commit) |
|
178 | (branch merge, don't forget to commit) | |
179 | $ hg revert -r 'desc("modify dir1/a")' . |
|
179 | $ hg revert -r 'desc("modify dir1/a")' . | |
180 |
reverting dir2/a |
|
180 | reverting dir2/a | |
181 | $ hg ci -m 'merge, keeping parent 2' |
|
181 | $ hg ci -m 'merge, keeping parent 2' | |
182 | created new head |
|
182 | created new head | |
183 | $ hg debugindex --dir dir1 > after |
|
183 | $ hg debugindex --dir dir1 > after | |
@@ -322,7 +322,7 b' Stripping and recovering changes should ' | |||||
322 | M dir1/a |
|
322 | M dir1/a | |
323 | $ hg --config extensions.strip= strip tip |
|
323 | $ hg --config extensions.strip= strip tip | |
324 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
324 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
325 |
saved backup bundle to $TESTTMP/repo-mixed/.hg/strip-backup/51cfd7b1e13b-78a2f3ed-backup.hg |
|
325 | saved backup bundle to $TESTTMP/repo-mixed/.hg/strip-backup/51cfd7b1e13b-78a2f3ed-backup.hg | |
326 | $ hg debugindex --dir dir1 |
|
326 | $ hg debugindex --dir dir1 | |
327 | rev offset length delta linkrev nodeid p1 p2 |
|
327 | rev offset length delta linkrev nodeid p1 p2 | |
328 | 0 0 127 -1 4 064927a0648a 000000000000 000000000000 |
|
328 | 0 0 127 -1 4 064927a0648a 000000000000 000000000000 | |
@@ -455,31 +455,31 b' the files command with various parameter' | |||||
455 | Test files from the root. |
|
455 | Test files from the root. | |
456 |
|
456 | |||
457 | $ hg files -r . |
|
457 | $ hg files -r . | |
458 |
.A/one.txt |
|
458 | .A/one.txt | |
459 |
.A/two.txt |
|
459 | .A/two.txt | |
460 |
b/bar/fruits.txt |
|
460 | b/bar/fruits.txt | |
461 |
b/bar/orange/fly/gnat.py |
|
461 | b/bar/orange/fly/gnat.py | |
462 |
b/bar/orange/fly/housefly.txt |
|
462 | b/bar/orange/fly/housefly.txt | |
463 |
b/foo/apple/bees/flower.py |
|
463 | b/foo/apple/bees/flower.py | |
464 | c.txt |
|
464 | c.txt | |
465 | d.py |
|
465 | d.py | |
466 |
|
466 | |||
467 | Excludes with a glob should not exclude everything from the glob's root |
|
467 | Excludes with a glob should not exclude everything from the glob's root | |
468 |
|
468 | |||
469 | $ hg files -r . -X 'b/fo?' b |
|
469 | $ hg files -r . -X 'b/fo?' b | |
470 |
b/bar/fruits.txt |
|
470 | b/bar/fruits.txt | |
471 |
b/bar/orange/fly/gnat.py |
|
471 | b/bar/orange/fly/gnat.py | |
472 |
b/bar/orange/fly/housefly.txt |
|
472 | b/bar/orange/fly/housefly.txt | |
473 | $ cp -R .hg/store .hg/store-copy |
|
473 | $ cp -R .hg/store .hg/store-copy | |
474 |
|
474 | |||
475 | Test files for a subdirectory. |
|
475 | Test files for a subdirectory. | |
476 |
|
476 | |||
477 | $ rm -r .hg/store/meta/~2e_a |
|
477 | $ rm -r .hg/store/meta/~2e_a | |
478 | $ hg files -r . b |
|
478 | $ hg files -r . b | |
479 |
b/bar/fruits.txt |
|
479 | b/bar/fruits.txt | |
480 |
b/bar/orange/fly/gnat.py |
|
480 | b/bar/orange/fly/gnat.py | |
481 |
b/bar/orange/fly/housefly.txt |
|
481 | b/bar/orange/fly/housefly.txt | |
482 |
b/foo/apple/bees/flower.py |
|
482 | b/foo/apple/bees/flower.py | |
483 | $ hg diff -r '.^' -r . --stat b |
|
483 | $ hg diff -r '.^' -r . --stat b | |
484 | b/bar/fruits.txt | 1 + |
|
484 | b/bar/fruits.txt | 1 + | |
485 | b/bar/orange/fly/gnat.py | 1 + |
|
485 | b/bar/orange/fly/gnat.py | 1 + | |
@@ -494,7 +494,7 b' Test files with just includes and exclud' | |||||
494 | $ rm -r .hg/store/meta/b/bar/orange/fly |
|
494 | $ rm -r .hg/store/meta/b/bar/orange/fly | |
495 | $ rm -r .hg/store/meta/b/foo/apple/bees |
|
495 | $ rm -r .hg/store/meta/b/foo/apple/bees | |
496 | $ hg files -r . -I path:b/bar -X path:b/bar/orange/fly -I path:b/foo -X path:b/foo/apple/bees |
|
496 | $ hg files -r . -I path:b/bar -X path:b/bar/orange/fly -I path:b/foo -X path:b/foo/apple/bees | |
497 |
b/bar/fruits.txt |
|
497 | b/bar/fruits.txt | |
498 | $ hg diff -r '.^' -r . --stat -I path:b/bar -X path:b/bar/orange/fly -I path:b/foo -X path:b/foo/apple/bees |
|
498 | $ hg diff -r '.^' -r . --stat -I path:b/bar -X path:b/bar/orange/fly -I path:b/foo -X path:b/foo/apple/bees | |
499 | b/bar/fruits.txt | 1 + |
|
499 | b/bar/fruits.txt | 1 + | |
500 | 1 files changed, 1 insertions(+), 0 deletions(-) |
|
500 | 1 files changed, 1 insertions(+), 0 deletions(-) | |
@@ -505,9 +505,9 b' Test files for a subdirectory, excluding' | |||||
505 | $ rm -r .hg/store/meta/~2e_a |
|
505 | $ rm -r .hg/store/meta/~2e_a | |
506 | $ rm -r .hg/store/meta/b/foo |
|
506 | $ rm -r .hg/store/meta/b/foo | |
507 | $ hg files -r . -X path:b/foo b |
|
507 | $ hg files -r . -X path:b/foo b | |
508 |
b/bar/fruits.txt |
|
508 | b/bar/fruits.txt | |
509 |
b/bar/orange/fly/gnat.py |
|
509 | b/bar/orange/fly/gnat.py | |
510 |
b/bar/orange/fly/housefly.txt |
|
510 | b/bar/orange/fly/housefly.txt | |
511 | $ hg diff -r '.^' -r . --stat -X path:b/foo b |
|
511 | $ hg diff -r '.^' -r . --stat -X path:b/foo b | |
512 | b/bar/fruits.txt | 1 + |
|
512 | b/bar/fruits.txt | 1 + | |
513 | b/bar/orange/fly/gnat.py | 1 + |
|
513 | b/bar/orange/fly/gnat.py | 1 + | |
@@ -521,8 +521,8 b' including an unrelated directory.' | |||||
521 | $ rm -r .hg/store/meta/~2e_a |
|
521 | $ rm -r .hg/store/meta/~2e_a | |
522 | $ rm -r .hg/store/meta/b/foo |
|
522 | $ rm -r .hg/store/meta/b/foo | |
523 | $ hg files -r . -I path:b/bar/orange -I path:a b |
|
523 | $ hg files -r . -I path:b/bar/orange -I path:a b | |
524 |
b/bar/orange/fly/gnat.py |
|
524 | b/bar/orange/fly/gnat.py | |
525 |
b/bar/orange/fly/housefly.txt |
|
525 | b/bar/orange/fly/housefly.txt | |
526 | $ hg diff -r '.^' -r . --stat -I path:b/bar/orange -I path:a b |
|
526 | $ hg diff -r '.^' -r . --stat -I path:b/bar/orange -I path:a b | |
527 | b/bar/orange/fly/gnat.py | 1 + |
|
527 | b/bar/orange/fly/gnat.py | 1 + | |
528 | b/bar/orange/fly/housefly.txt | 1 + |
|
528 | b/bar/orange/fly/housefly.txt | 1 + | |
@@ -536,7 +536,7 b' within that.' | |||||
536 | $ rm -r .hg/store/meta/b/foo |
|
536 | $ rm -r .hg/store/meta/b/foo | |
537 | $ rm -r .hg/store/meta/b/bar/orange |
|
537 | $ rm -r .hg/store/meta/b/bar/orange | |
538 | $ hg files -r . glob:**.txt -I path:b/bar -X path:b/bar/orange |
|
538 | $ hg files -r . glob:**.txt -I path:b/bar -X path:b/bar/orange | |
539 |
b/bar/fruits.txt |
|
539 | b/bar/fruits.txt | |
540 | $ hg diff -r '.^' -r . --stat glob:**.txt -I path:b/bar -X path:b/bar/orange |
|
540 | $ hg diff -r '.^' -r . --stat glob:**.txt -I path:b/bar -X path:b/bar/orange | |
541 | b/bar/fruits.txt | 1 + |
|
541 | b/bar/fruits.txt | 1 + | |
542 | 1 files changed, 1 insertions(+), 0 deletions(-) |
|
542 | 1 files changed, 1 insertions(+), 0 deletions(-) | |
@@ -838,7 +838,7 b' other branch' | |||||
838 | $ hg co '.^' |
|
838 | $ hg co '.^' | |
839 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
839 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
840 | $ hg revert -r tip dir/ |
|
840 | $ hg revert -r tip dir/ | |
841 |
reverting dir/file |
|
841 | reverting dir/file | |
842 | $ echo b > file # to make sure root manifest is sent |
|
842 | $ echo b > file # to make sure root manifest is sent | |
843 | $ hg ci -m grafted |
|
843 | $ hg ci -m grafted | |
844 | created new head |
|
844 | created new head | |
@@ -855,7 +855,7 b' other branch' | |||||
855 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
855 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
856 | $ cd grafted-dir-repo-clone |
|
856 | $ cd grafted-dir-repo-clone | |
857 | $ hg pull -r 2 |
|
857 | $ hg pull -r 2 | |
858 |
pulling from $TESTTMP/grafted-dir-repo |
|
858 | pulling from $TESTTMP/grafted-dir-repo | |
859 | searching for changes |
|
859 | searching for changes | |
860 | adding changesets |
|
860 | adding changesets | |
861 | adding manifests |
|
861 | adding manifests | |
@@ -869,7 +869,7 b' Committing a empty commit does not dupli' | |||||
869 | $ hg commit -Aqm 'pre-empty commit' |
|
869 | $ hg commit -Aqm 'pre-empty commit' | |
870 | $ hg rm z |
|
870 | $ hg rm z | |
871 | $ hg commit --amend -m 'empty commit' |
|
871 | $ hg commit --amend -m 'empty commit' | |
872 |
saved backup bundle to $TESTTMP/grafted-dir-repo-clone/.hg/strip-backup/cb99d5717cea-9e3b6b02-amend.hg |
|
872 | saved backup bundle to $TESTTMP/grafted-dir-repo-clone/.hg/strip-backup/cb99d5717cea-9e3b6b02-amend.hg | |
873 | $ hg log -r 'tip + tip^' -T '{manifest}\n' |
|
873 | $ hg log -r 'tip + tip^' -T '{manifest}\n' | |
874 | 1:678d3574b88c |
|
874 | 1:678d3574b88c | |
875 | 1:678d3574b88c |
|
875 | 1:678d3574b88c |
@@ -81,7 +81,7 b' Combining esc with other markups - and h' | |||||
81 | fo?/bar\r (no-eol) (glob) (esc) |
|
81 | fo?/bar\r (no-eol) (glob) (esc) | |
82 | #if windows |
|
82 | #if windows | |
83 | $ printf 'foo\\bar\r' |
|
83 | $ printf 'foo\\bar\r' | |
84 |
foo/bar\r (no-eol) ( |
|
84 | foo/bar\r (no-eol) (esc) | |
85 | #endif |
|
85 | #endif | |
86 | $ printf 'foo/bar\rfoo/bar\r' |
|
86 | $ printf 'foo/bar\rfoo/bar\r' | |
87 | foo.bar\r \(no-eol\) (re) (esc) |
|
87 | foo.bar\r \(no-eol\) (re) (esc) |
@@ -167,4 +167,4 b' union repos should use the correct rev n' | |||||
167 |
|
167 | |||
168 | "hg files -v" to call fctx.size() -> fctx.iscensored() |
|
168 | "hg files -v" to call fctx.size() -> fctx.iscensored() | |
169 | $ hg files -R union:b+a -r2 -v |
|
169 | $ hg files -R union:b+a -r2 -v | |
170 |
3 b/f |
|
170 | 3 b/f |
@@ -44,7 +44,7 b' Test basic functionality of url#rev synt' | |||||
44 | $ cat clone/.hg/hgrc |
|
44 | $ cat clone/.hg/hgrc | |
45 | # example repository config (see 'hg help config' for more info) |
|
45 | # example repository config (see 'hg help config' for more info) | |
46 | [paths] |
|
46 | [paths] | |
47 |
default = $TESTTMP/repo#foo |
|
47 | default = $TESTTMP/repo#foo | |
48 |
|
48 | |||
49 | # path aliases to other clones of this repo in URLs or filesystem paths |
|
49 | # path aliases to other clones of this repo in URLs or filesystem paths | |
50 | # (see 'hg help config.paths' for more info) |
|
50 | # (see 'hg help config.paths' for more info) | |
@@ -329,4 +329,4 b" a 'url#rev' path" | |||||
329 | updating to branch default |
|
329 | updating to branch default | |
330 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
330 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
331 | $ hg root -R '#foo' |
|
331 | $ hg root -R '#foo' | |
332 |
$TESTTMP/#foo |
|
332 | $TESTTMP/#foo |
@@ -255,7 +255,7 b'' | |||||
255 | f mammals/Procyonidae/raccoon Procyonidae/raccoon |
|
255 | f mammals/Procyonidae/raccoon Procyonidae/raccoon | |
256 | f mammals/skunk skunk |
|
256 | f mammals/skunk skunk | |
257 | $ hg debugwalk .hg |
|
257 | $ hg debugwalk .hg | |
258 |
abort: path 'mammals/.hg' is inside nested repo 'mammals' |
|
258 | abort: path 'mammals/.hg' is inside nested repo 'mammals' | |
259 | [255] |
|
259 | [255] | |
260 | $ hg debugwalk ../.hg |
|
260 | $ hg debugwalk ../.hg | |
261 | abort: path contains illegal component: .hg |
|
261 | abort: path contains illegal component: .hg | |
@@ -326,10 +326,10 b'' | |||||
326 | f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon |
|
326 | f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon | |
327 | f mammals/skunk mammals/skunk |
|
327 | f mammals/skunk mammals/skunk | |
328 | $ hg debugwalk .. |
|
328 | $ hg debugwalk .. | |
329 |
abort: .. not under root '$TESTTMP/t' |
|
329 | abort: .. not under root '$TESTTMP/t' | |
330 | [255] |
|
330 | [255] | |
331 | $ hg debugwalk beans/../.. |
|
331 | $ hg debugwalk beans/../.. | |
332 |
abort: beans/../.. not under root '$TESTTMP/t' |
|
332 | abort: beans/../.. not under root '$TESTTMP/t' | |
333 | [255] |
|
333 | [255] | |
334 | $ hg debugwalk .hg |
|
334 | $ hg debugwalk .hg | |
335 | abort: path contains illegal component: .hg |
|
335 | abort: path contains illegal component: .hg | |
@@ -338,10 +338,10 b'' | |||||
338 | abort: path contains illegal component: .hg |
|
338 | abort: path contains illegal component: .hg | |
339 | [255] |
|
339 | [255] | |
340 | $ hg debugwalk beans/../.hg/data |
|
340 | $ hg debugwalk beans/../.hg/data | |
341 |
abort: path contains illegal component: .hg/data |
|
341 | abort: path contains illegal component: .hg/data | |
342 | [255] |
|
342 | [255] | |
343 | $ hg debugwalk beans/.hg |
|
343 | $ hg debugwalk beans/.hg | |
344 |
abort: path 'beans/.hg' is inside nested repo 'beans' |
|
344 | abort: path 'beans/.hg' is inside nested repo 'beans' | |
345 | [255] |
|
345 | [255] | |
346 |
|
346 | |||
347 | Test absolute paths: |
|
347 | Test absolute paths: | |
@@ -355,7 +355,7 b' Test absolute paths:' | |||||
355 | f beans/pinto beans/pinto |
|
355 | f beans/pinto beans/pinto | |
356 | f beans/turtle beans/turtle |
|
356 | f beans/turtle beans/turtle | |
357 | $ hg debugwalk `pwd`/.. |
|
357 | $ hg debugwalk `pwd`/.. | |
358 |
abort: $TESTTMP/t/.. not under root '$TESTTMP/t' |
|
358 | abort: $TESTTMP/t/.. not under root '$TESTTMP/t' | |
359 | [255] |
|
359 | [255] | |
360 |
|
360 | |||
361 | Test patterns: |
|
361 | Test patterns: |
@@ -112,7 +112,7 b' and now for something completely differe' | |||||
112 | abort: pretxncommit.crlf hook failed |
|
112 | abort: pretxncommit.crlf hook failed | |
113 | [255] |
|
113 | [255] | |
114 | $ hg revert -a |
|
114 | $ hg revert -a | |
115 |
forgetting d/f2 |
|
115 | forgetting d/f2 | |
116 | $ rm d/f2 |
|
116 | $ rm d/f2 | |
117 |
|
117 | |||
118 | $ hg rem f |
|
118 | $ hg rem f | |
@@ -177,10 +177,10 b' and now for something completely differe' | |||||
177 |
|
177 | |||
178 | $ for x in a b c d; do echo content > dupe/$x; done |
|
178 | $ for x in a b c d; do echo content > dupe/$x; done | |
179 | $ hg -R dupe add |
|
179 | $ hg -R dupe add | |
180 |
adding dupe/a |
|
180 | adding dupe/a | |
181 |
adding dupe/b |
|
181 | adding dupe/b | |
182 |
adding dupe/c |
|
182 | adding dupe/c | |
183 |
adding dupe/d |
|
183 | adding dupe/d | |
184 | $ $PYTHON unix2dos.py dupe/b dupe/c dupe/d |
|
184 | $ $PYTHON unix2dos.py dupe/b dupe/c dupe/d | |
185 | $ hg -R dupe ci -m a dupe/a |
|
185 | $ hg -R dupe ci -m a dupe/a | |
186 | $ hg -R dupe ci -m b/c dupe/[bc] |
|
186 | $ hg -R dupe ci -m b/c dupe/[bc] | |
@@ -385,7 +385,7 b' Disable warning:' | |||||
385 | WARNING: f4.bat already has CRLF line endings |
|
385 | WARNING: f4.bat already has CRLF line endings | |
386 | and does not need EOL conversion by the win32text plugin. |
|
386 | and does not need EOL conversion by the win32text plugin. | |
387 | Before your next commit, please reconsider your encode/decode settings in |
|
387 | Before your next commit, please reconsider your encode/decode settings in | |
388 |
Mercurial.ini or $TESTTMP/t/.hg/hgrc. |
|
388 | Mercurial.ini or $TESTTMP/t/.hg/hgrc. | |
389 |
|
|
389 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
390 | $ cat bin |
|
390 | $ cat bin | |
391 | hello\x00\r (esc) |
|
391 | hello\x00\r (esc) |
General Comments 0
You need to be logged in to leave comments.
Login now