Show More
@@ -43,6 +43,7 b' from . import (' | |||||
43 | lock as lockmod, |
|
43 | lock as lockmod, | |
44 | merge as mergemod, |
|
44 | merge as mergemod, | |
45 | obsolete, |
|
45 | obsolete, | |
|
46 | obsutil, | |||
46 | patch, |
|
47 | patch, | |
47 | phases, |
|
48 | phases, | |
48 | pycompat, |
|
49 | pycompat, | |
@@ -5538,7 +5539,12 b' def update(ui, repo, node=None, rev=None' | |||||
5538 | ctx = scmutil.revsingle(repo, rev, rev) |
|
5539 | ctx = scmutil.revsingle(repo, rev, rev) | |
5539 | rev = ctx.rev() |
|
5540 | rev = ctx.rev() | |
5540 | if ctx.hidden(): |
|
5541 | if ctx.hidden(): | |
5541 | ui.warn(_("updating to a hidden changeset %s\n") % ctx.hex()[:12]) |
|
5542 | ctxstr = ctx.hex()[:12] | |
|
5543 | ui.warn(_("updating to a hidden changeset %s\n") % ctxstr) | |||
|
5544 | ||||
|
5545 | if ctx.obsolete(): | |||
|
5546 | obsfatemsg = obsutil._getfilteredreason(repo, ctxstr, ctx) | |||
|
5547 | ui.warn("(%s)\n" % obsfatemsg) | |||
5542 |
|
5548 | |||
5543 | repo.ui.setconfig('ui', 'forcemerge', tool, 'update') |
|
5549 | repo.ui.setconfig('ui', 'forcemerge', tool, 'update') | |
5544 |
|
5550 |
@@ -157,6 +157,7 b' This should not throw error' | |||||
157 |
|
157 | |||
158 | $ hg up 28ad74 |
|
158 | $ hg up 28ad74 | |
159 | updating to a hidden changeset 28ad74487de9 |
|
159 | updating to a hidden changeset 28ad74487de9 | |
|
160 | (hidden revision '28ad74487de9' was rewritten as: 2443a0e66469) | |||
160 | 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 | |
161 |
|
162 | |||
162 | $ hg up 3 |
|
163 | $ hg up 3 |
@@ -1941,6 +1941,7 b' test that parent prevent a changeset to ' | |||||
1941 |
|
1941 | |||
1942 | $ hg up 1 -q --hidden |
|
1942 | $ hg up 1 -q --hidden | |
1943 | updating to a hidden changeset a765632148dc |
|
1943 | updating to a hidden changeset a765632148dc | |
|
1944 | (hidden revision 'a765632148dc' is pruned) | |||
1944 | $ hg log --template='{rev}:{node}\n' |
|
1945 | $ hg log --template='{rev}:{node}\n' | |
1945 | 1:a765632148dc55d38c35c4f247c618701886cb2f |
|
1946 | 1:a765632148dc55d38c35c4f247c618701886cb2f | |
1946 | 0:9f758d63dcde62d547ebfb08e1e7ee96535f2b05 |
|
1947 | 0:9f758d63dcde62d547ebfb08e1e7ee96535f2b05 |
@@ -56,6 +56,7 b' Actual test' | |||||
56 | [255] |
|
56 | [255] | |
57 | $ hg update --hidden "desc(A0)" |
|
57 | $ hg update --hidden "desc(A0)" | |
58 | updating to a hidden changeset 471f378eab4c |
|
58 | updating to a hidden changeset 471f378eab4c | |
|
59 | (hidden revision '471f378eab4c' was rewritten as: 4ae3a4151de9) | |||
59 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
60 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
60 |
|
61 | |||
61 | Test output with pruned commit |
|
62 | Test output with pruned commit | |
@@ -118,6 +119,7 b' Actual test' | |||||
118 | [255] |
|
119 | [255] | |
119 | $ hg up --hidden -r 'desc(B0)' |
|
120 | $ hg up --hidden -r 'desc(B0)' | |
120 | updating to a hidden changeset 0dec01379d3b |
|
121 | updating to a hidden changeset 0dec01379d3b | |
|
122 | (hidden revision '0dec01379d3b' is pruned) | |||
121 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
123 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
122 |
|
124 | |||
123 | Test output with splitted commit |
|
125 | Test output with splitted commit | |
@@ -194,6 +196,7 b' Actual test' | |||||
194 | [255] |
|
196 | [255] | |
195 | $ hg update --hidden 'min(desc(A0))' |
|
197 | $ hg update --hidden 'min(desc(A0))' | |
196 | updating to a hidden changeset 471597cad322 |
|
198 | updating to a hidden changeset 471597cad322 | |
|
199 | (hidden revision '471597cad322' was split as: 337fec4d2edc, f257fde29c7a) | |||
197 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
200 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
198 |
|
201 | |||
199 | Test output with lots of splitted commit |
|
202 | Test output with lots of splitted commit | |
@@ -292,6 +295,7 b' Actual test' | |||||
292 | [255] |
|
295 | [255] | |
293 | $ hg update --hidden 'min(desc(A0))' |
|
296 | $ hg update --hidden 'min(desc(A0))' | |
294 | updating to a hidden changeset de7290d8b885 |
|
297 | updating to a hidden changeset de7290d8b885 | |
|
298 | (hidden revision 'de7290d8b885' was split as: 337fec4d2edc, f257fde29c7a and 2 more) | |||
295 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
299 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
296 |
|
300 | |||
297 | Test output with folded commit |
|
301 | Test output with folded commit | |
@@ -370,6 +374,7 b' Test setup' | |||||
370 | [255] |
|
374 | [255] | |
371 | $ hg update --hidden 'desc(A0)' |
|
375 | $ hg update --hidden 'desc(A0)' | |
372 | updating to a hidden changeset 471f378eab4c |
|
376 | updating to a hidden changeset 471f378eab4c | |
|
377 | (hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192) | |||
373 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
378 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
374 | $ hg update 0dec01379d3b |
|
379 | $ hg update 0dec01379d3b | |
375 | abort: hidden revision '0dec01379d3b' was rewritten as: eb5a0daa2192! |
|
380 | abort: hidden revision '0dec01379d3b' was rewritten as: eb5a0daa2192! | |
@@ -377,6 +382,7 b' Test setup' | |||||
377 | [255] |
|
382 | [255] | |
378 | $ hg update --hidden 'desc(B0)' |
|
383 | $ hg update --hidden 'desc(B0)' | |
379 | updating to a hidden changeset 0dec01379d3b |
|
384 | updating to a hidden changeset 0dec01379d3b | |
|
385 | (hidden revision '0dec01379d3b' was rewritten as: eb5a0daa2192) | |||
380 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
386 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
381 |
|
387 | |||
382 | Test output with divergence |
|
388 | Test output with divergence | |
@@ -411,6 +417,7 b' Test setup' | |||||
411 |
|
417 | |||
412 | $ hg update --hidden 'desc(A0)' |
|
418 | $ hg update --hidden 'desc(A0)' | |
413 | updating to a hidden changeset 471f378eab4c |
|
419 | updating to a hidden changeset 471f378eab4c | |
|
420 | (hidden revision '471f378eab4c' was rewritten as: fdf9bde5129a) | |||
414 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
421 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
415 | $ hg commit --amend -m "A2" |
|
422 | $ hg commit --amend -m "A2" | |
416 | 2 new content-divergent changesets |
|
423 | 2 new content-divergent changesets | |
@@ -450,6 +457,7 b' Actual test' | |||||
450 | [255] |
|
457 | [255] | |
451 | $ hg update --hidden 'desc(A0)' |
|
458 | $ hg update --hidden 'desc(A0)' | |
452 | updating to a hidden changeset 471f378eab4c |
|
459 | updating to a hidden changeset 471f378eab4c | |
|
460 | (hidden revision '471f378eab4c' has diverged) | |||
453 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
461 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
454 |
|
462 | |||
455 | Test output with amended + folded commit |
|
463 | Test output with amended + folded commit | |
@@ -544,9 +552,11 b' Test setup' | |||||
544 | [255] |
|
552 | [255] | |
545 | $ hg update --hidden 'desc(A0)' |
|
553 | $ hg update --hidden 'desc(A0)' | |
546 | updating to a hidden changeset 471f378eab4c |
|
554 | updating to a hidden changeset 471f378eab4c | |
|
555 | (hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192) | |||
547 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
556 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
548 | $ hg update --hidden 0dec01379d3b |
|
557 | $ hg update --hidden 0dec01379d3b | |
549 | updating to a hidden changeset 0dec01379d3b |
|
558 | updating to a hidden changeset 0dec01379d3b | |
|
559 | (hidden revision '0dec01379d3b' was rewritten as: eb5a0daa2192) | |||
550 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
560 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
551 | $ hg update 0dec01379d3b |
|
561 | $ hg update 0dec01379d3b | |
552 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
562 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
@@ -76,6 +76,7 b' Check templates' | |||||
76 | --------------- |
|
76 | --------------- | |
77 | $ hg up 'desc(A0)' --hidden |
|
77 | $ hg up 'desc(A0)' --hidden | |
78 | updating to a hidden changeset 471f378eab4c |
|
78 | updating to a hidden changeset 471f378eab4c | |
|
79 | (hidden revision '471f378eab4c' was rewritten as: d004c8f274b9) | |||
79 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
80 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
80 |
|
81 | |||
81 | Predecessors template should show current revision as it is the working copy |
|
82 | Predecessors template should show current revision as it is the working copy | |
@@ -148,6 +149,7 b' Predecessors template should show curren' | |||||
148 |
|
149 | |||
149 | $ hg up 'desc(A1)' --hidden |
|
150 | $ hg up 'desc(A1)' --hidden | |
150 | updating to a hidden changeset a468dc9b3633 |
|
151 | updating to a hidden changeset a468dc9b3633 | |
|
152 | (hidden revision 'a468dc9b3633' was rewritten as: d004c8f274b9) | |||
151 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
153 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
152 |
|
154 | |||
153 | Predecessors template should show current revision as it is the working copy |
|
155 | Predecessors template should show current revision as it is the working copy | |
@@ -416,6 +418,7 b' Check templates' | |||||
416 |
|
418 | |||
417 | $ hg up 'obsolete()' --hidden |
|
419 | $ hg up 'obsolete()' --hidden | |
418 | updating to a hidden changeset 471597cad322 |
|
420 | updating to a hidden changeset 471597cad322 | |
|
421 | (hidden revision '471597cad322' was split as: 337fec4d2edc, f257fde29c7a) | |||
419 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
422 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
420 |
|
423 | |||
421 | Predecessors template should show current revision as it is the working copy |
|
424 | Predecessors template should show current revision as it is the working copy | |
@@ -625,6 +628,7 b' Check templates' | |||||
625 |
|
628 | |||
626 | $ hg up 'desc(A0)' --hidden |
|
629 | $ hg up 'desc(A0)' --hidden | |
627 | updating to a hidden changeset 471f378eab4c |
|
630 | updating to a hidden changeset 471f378eab4c | |
|
631 | (hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192) | |||
628 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
632 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
629 |
|
633 | |||
630 | Predecessors template should show current revision as it is the working copy |
|
634 | Predecessors template should show current revision as it is the working copy | |
@@ -650,6 +654,7 b' Predecessors template should show curren' | |||||
650 |
|
654 | |||
651 | $ hg up 'desc(B0)' --hidden |
|
655 | $ hg up 'desc(B0)' --hidden | |
652 | updating to a hidden changeset 0dec01379d3b |
|
656 | updating to a hidden changeset 0dec01379d3b | |
|
657 | (hidden revision '0dec01379d3b' was rewritten as: eb5a0daa2192) | |||
653 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
658 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
654 |
|
659 | |||
655 | Predecessors template should show both predecessors as they should be both |
|
660 | Predecessors template should show both predecessors as they should be both | |
@@ -816,6 +821,7 b' Test setup' | |||||
816 |
|
821 | |||
817 | $ hg update --hidden 'desc(A0)' |
|
822 | $ hg update --hidden 'desc(A0)' | |
818 | updating to a hidden changeset 471f378eab4c |
|
823 | updating to a hidden changeset 471f378eab4c | |
|
824 | (hidden revision '471f378eab4c' was rewritten as: fdf9bde5129a) | |||
819 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
825 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
820 | $ hg commit --amend -m "A2" |
|
826 | $ hg commit --amend -m "A2" | |
821 | 2 new content-divergent changesets |
|
827 | 2 new content-divergent changesets | |
@@ -889,6 +895,7 b' Check templates' | |||||
889 |
|
895 | |||
890 | $ hg up 'desc(A0)' --hidden |
|
896 | $ hg up 'desc(A0)' --hidden | |
891 | updating to a hidden changeset 471f378eab4c |
|
897 | updating to a hidden changeset 471f378eab4c | |
|
898 | (hidden revision '471f378eab4c' has diverged) | |||
892 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
899 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
893 |
|
900 | |||
894 | Predecessors template should show current revision as it is the working copy |
|
901 | Predecessors template should show current revision as it is the working copy | |
@@ -1155,6 +1162,7 b' Check templates' | |||||
1155 |
|
1162 | |||
1156 | $ hg up 'desc(A0)' --hidden |
|
1163 | $ hg up 'desc(A0)' --hidden | |
1157 | updating to a hidden changeset 471f378eab4c |
|
1164 | updating to a hidden changeset 471f378eab4c | |
|
1165 | (hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192) | |||
1158 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
1166 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
1159 |
|
1167 | |||
1160 | Predecessors template should show current revision as it is the working copy |
|
1168 | Predecessors template should show current revision as it is the working copy | |
@@ -1180,6 +1188,7 b' Predecessors template should show curren' | |||||
1180 |
|
1188 | |||
1181 | $ hg up 'desc(B0)' --hidden |
|
1189 | $ hg up 'desc(B0)' --hidden | |
1182 | updating to a hidden changeset 0dec01379d3b |
|
1190 | updating to a hidden changeset 0dec01379d3b | |
|
1191 | (hidden revision '0dec01379d3b' was rewritten as: eb5a0daa2192) | |||
1183 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
1192 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
1184 |
|
1193 | |||
1185 | Predecessors template should both predecessors as they are visible |
|
1194 | Predecessors template should both predecessors as they are visible | |
@@ -1211,6 +1220,7 b' Predecessors template should both predec' | |||||
1211 |
|
1220 | |||
1212 | $ hg up 'desc(B1)' --hidden |
|
1221 | $ hg up 'desc(B1)' --hidden | |
1213 | updating to a hidden changeset b7ea6d14e664 |
|
1222 | updating to a hidden changeset b7ea6d14e664 | |
|
1223 | (hidden revision 'b7ea6d14e664' was rewritten as: eb5a0daa2192) | |||
1214 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
1224 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
1215 |
|
1225 | |||
1216 | Predecessors template should both predecessors as they are visible |
|
1226 | Predecessors template should both predecessors as they are visible | |
@@ -1614,6 +1624,7 b' Check templates' | |||||
1614 |
|
1624 | |||
1615 | $ hg up -r "desc(B0)" --hidden |
|
1625 | $ hg up -r "desc(B0)" --hidden | |
1616 | updating to a hidden changeset 0dec01379d3b |
|
1626 | updating to a hidden changeset 0dec01379d3b | |
|
1627 | (hidden revision '0dec01379d3b' is pruned) | |||
1617 | 2 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
1628 | 2 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
1618 | $ hg tlog |
|
1629 | $ hg tlog | |
1619 | o f897c6137566 |
|
1630 | o f897c6137566 | |
@@ -2077,6 +2088,7 b' Check templates' | |||||
2077 |
|
2088 | |||
2078 | $ hg up --hidden 4 |
|
2089 | $ hg up --hidden 4 | |
2079 | updating to a hidden changeset 9bd10a0775e4 |
|
2090 | updating to a hidden changeset 9bd10a0775e4 | |
|
2091 | (hidden revision '9bd10a0775e4' has diverged) | |||
2080 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
2092 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
2081 | $ hg rebase -r 7 -d 8 --config extensions.rebase= |
|
2093 | $ hg rebase -r 7 -d 8 --config extensions.rebase= | |
2082 | rebasing 7:ba2ed02b0c9a "Add A,B,C" |
|
2094 | rebasing 7:ba2ed02b0c9a "Add A,B,C" | |
@@ -2322,6 +2334,7 b' Test setup' | |||||
2322 |
|
2334 | |||
2323 | $ hg up -r "desc(A0)" --hidden |
|
2335 | $ hg up -r "desc(A0)" --hidden | |
2324 | updating to a hidden changeset 471f378eab4c |
|
2336 | updating to a hidden changeset 471f378eab4c | |
|
2337 | (hidden revision '471f378eab4c' is pruned) | |||
2325 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
2338 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
2326 | $ hg commit --amend -m "A2" |
|
2339 | $ hg commit --amend -m "A2" | |
2327 | $ hg debugobsolete --record-parent `getid "."` |
|
2340 | $ hg debugobsolete --record-parent `getid "."` | |
@@ -2332,6 +2345,7 b' Check output' | |||||
2332 |
|
2345 | |||
2333 | $ hg up "desc(A0)" --hidden |
|
2346 | $ hg up "desc(A0)" --hidden | |
2334 | updating to a hidden changeset 471f378eab4c |
|
2347 | updating to a hidden changeset 471f378eab4c | |
|
2348 | (hidden revision '471f378eab4c' is pruned) | |||
2335 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
2349 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
2336 | $ hg tlog |
|
2350 | $ hg tlog | |
2337 | @ 471f378eab4c |
|
2351 | @ 471f378eab4c | |
@@ -2486,6 +2500,7 b' Check templates' | |||||
2486 |
|
2500 | |||
2487 | $ hg up 'desc("A0")' --hidden |
|
2501 | $ hg up 'desc("A0")' --hidden | |
2488 | updating to a hidden changeset 471597cad322 |
|
2502 | updating to a hidden changeset 471597cad322 | |
|
2503 | (hidden revision '471597cad322' is pruned) | |||
2489 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
2504 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
2490 |
|
2505 | |||
2491 | # todo: the obsfate output is not ideal |
|
2506 | # todo: the obsfate output is not ideal | |
@@ -2498,6 +2513,7 b' Check templates' | |||||
2498 |
|
2513 | |||
2499 | $ hg up -r 'desc("A2")' --hidden |
|
2514 | $ hg up -r 'desc("A2")' --hidden | |
2500 | updating to a hidden changeset 0d0ef4bdf70e |
|
2515 | updating to a hidden changeset 0d0ef4bdf70e | |
|
2516 | (hidden revision '0d0ef4bdf70e' is pruned) | |||
2501 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
2517 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
2502 |
|
2518 | |||
2503 | $ hg fatelog --hidden |
|
2519 | $ hg fatelog --hidden |
@@ -63,6 +63,7 b' Killing a single changeset without repla' | |||||
63 | -1:000000000000 (public) [tip ] |
|
63 | -1:000000000000 (public) [tip ] | |
64 | $ hg up --hidden tip --quiet |
|
64 | $ hg up --hidden tip --quiet | |
65 | updating to a hidden changeset 97b7c2d76b18 |
|
65 | updating to a hidden changeset 97b7c2d76b18 | |
|
66 | (hidden revision '97b7c2d76b18' is pruned) | |||
66 |
|
67 | |||
67 | Killing a single changeset with itself should fail |
|
68 | Killing a single changeset with itself should fail | |
68 | (simple local safeguard) |
|
69 | (simple local safeguard) |
@@ -282,6 +282,7 b" even though it is hidden (until we're mo" | |||||
282 |
|
282 | |||
283 | $ hg --hidden up -qr 'first(hidden())' |
|
283 | $ hg --hidden up -qr 'first(hidden())' | |
284 | updating to a hidden changeset 42ccdea3bb16 |
|
284 | updating to a hidden changeset 42ccdea3bb16 | |
|
285 | (hidden revision '42ccdea3bb16' is pruned) | |||
285 | $ hg rebase --rev 13 --dest 15 |
|
286 | $ hg rebase --rev 13 --dest 15 | |
286 | rebasing 13:98f6af4ee953 "C" |
|
287 | rebasing 13:98f6af4ee953 "C" | |
287 | $ hg log -G |
|
288 | $ hg log -G | |
@@ -615,6 +616,7 b' Test hidden changesets in the rebase set' | |||||
615 |
|
616 | |||
616 | $ hg up --hidden 9 |
|
617 | $ hg up --hidden 9 | |
617 | updating to a hidden changeset 4bde274eefcf |
|
618 | updating to a hidden changeset 4bde274eefcf | |
|
619 | (hidden revision '4bde274eefcf' was rewritten as: acd174b7ab39) | |||
618 | 3 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
620 | 3 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
619 | $ echo J > J |
|
621 | $ echo J > J | |
620 | $ hg add J |
|
622 | $ hg add J | |
@@ -736,6 +738,7 b' setup' | |||||
736 | $ hg commit --amend -m B2 |
|
738 | $ hg commit --amend -m B2 | |
737 | $ hg up --hidden 'desc(B0)' |
|
739 | $ hg up --hidden 'desc(B0)' | |
738 | updating to a hidden changeset a8b11f55fb19 |
|
740 | updating to a hidden changeset a8b11f55fb19 | |
|
741 | (hidden revision 'a8b11f55fb19' was rewritten as: 261e70097290) | |||
739 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
742 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
740 | $ echo C > C |
|
743 | $ echo C > C | |
741 | $ hg add C |
|
744 | $ hg add C | |
@@ -761,6 +764,7 b' Even when the chain include missing node' | |||||
761 |
|
764 | |||
762 | $ hg up --hidden 'desc(B0)' |
|
765 | $ hg up --hidden 'desc(B0)' | |
763 | updating to a hidden changeset a8b11f55fb19 |
|
766 | updating to a hidden changeset a8b11f55fb19 | |
|
767 | (hidden revision 'a8b11f55fb19' was rewritten as: 261e70097290) | |||
764 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
768 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
765 | $ echo D > D |
|
769 | $ echo D > D | |
766 | $ hg add D |
|
770 | $ hg add D | |
@@ -878,6 +882,7 b' If a rebase is going to create divergenc' | |||||
878 | $ hg commit --amend -m "10'" |
|
882 | $ hg commit --amend -m "10'" | |
879 | $ hg up 10 --hidden |
|
883 | $ hg up 10 --hidden | |
880 | updating to a hidden changeset 121d9e3bc4c6 |
|
884 | updating to a hidden changeset 121d9e3bc4c6 | |
|
885 | (hidden revision '121d9e3bc4c6' was rewritten as: 77d874d096a2) | |||
881 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
886 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
882 | $ echo "bar" > foo |
|
887 | $ echo "bar" > foo | |
883 | $ hg add foo |
|
888 | $ hg add foo | |
@@ -1633,6 +1638,7 b' rebasestate may contain hidden hashes. "' | |||||
1633 |
|
1638 | |||
1634 | $ hg update -q $C --hidden |
|
1639 | $ hg update -q $C --hidden | |
1635 | updating to a hidden changeset 7829726be4dc |
|
1640 | updating to a hidden changeset 7829726be4dc | |
|
1641 | (hidden revision '7829726be4dc' is pruned) | |||
1636 | $ hg rebase -s $B -d $D |
|
1642 | $ hg rebase -s $B -d $D | |
1637 | rebasing 1:2ec65233581b "B" |
|
1643 | rebasing 1:2ec65233581b "B" | |
1638 | merging D |
|
1644 | merging D |
@@ -521,6 +521,7 b' the bookmark with it' | |||||
521 | $ hg up --quiet 0 # we should be able to update to 3 directly |
|
521 | $ hg up --quiet 0 # we should be able to update to 3 directly | |
522 | $ hg up --quiet --hidden 3 # but not implemented yet. |
|
522 | $ hg up --quiet --hidden 3 # but not implemented yet. | |
523 | updating to a hidden changeset 6efa171f091b |
|
523 | updating to a hidden changeset 6efa171f091b | |
|
524 | (hidden revision '6efa171f091b' was rewritten as: d047485b3896) | |||
524 | $ hg book -f bm |
|
525 | $ hg book -f bm | |
525 | $ hg up |
|
526 | $ hg up | |
526 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
527 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
@@ -532,6 +533,7 b' Test that 5 is detected as a valid desti' | |||||
532 | $ hg up --quiet 0 # we should be able to update to 3 directly |
|
533 | $ hg up --quiet 0 # we should be able to update to 3 directly | |
533 | $ hg up --quiet --hidden 3 # but not implemented yet. |
|
534 | $ hg up --quiet --hidden 3 # but not implemented yet. | |
534 | updating to a hidden changeset 6efa171f091b |
|
535 | updating to a hidden changeset 6efa171f091b | |
|
536 | (hidden revision '6efa171f091b' was rewritten as: d047485b3896) | |||
535 | $ hg up 5 |
|
537 | $ hg up 5 | |
536 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
538 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
537 |
|
539 |
General Comments 0
You need to be logged in to leave comments.
Login now