Show More
@@ -375,6 +375,40 b' Source phase lower than destination phas' | |||||
375 |
|
375 | |||
376 | $ cd .. |
|
376 | $ cd .. | |
377 |
|
377 | |||
|
378 | Check that temporary bundle doesn't lose phase when not using generaldelta | |||
|
379 | ||||
|
380 | $ hg --config format.usegeneraldelta=no init issue5678 | |||
|
381 | $ cd issue5678 | |||
|
382 | $ grep generaldelta .hg/requires | |||
|
383 | [1] | |||
|
384 | $ echo a > a | |||
|
385 | $ hg ci -Aqm a | |||
|
386 | $ echo b > b | |||
|
387 | $ hg ci -Aqm b | |||
|
388 | $ hg co -q '.^' | |||
|
389 | $ echo c > c | |||
|
390 | $ hg ci -Aqm c | |||
|
391 | $ hg phase --public | |||
|
392 | $ hg log -G -T '{rev}:{node|shortest} {phase} {desc}\n' | |||
|
393 | @ 2:d36c public c | |||
|
394 | | | |||
|
395 | | o 1:d2ae draft b | |||
|
396 | |/ | |||
|
397 | o 0:cb9a public a | |||
|
398 | ||||
|
399 | $ hg rebase -s 1 -d 2 | |||
|
400 | rebasing 1:d2ae7f538514 "b" | |||
|
401 | saved backup bundle to $TESTTMP/issue5678/.hg/strip-backup/d2ae7f538514-2953539b-rebase.hg (glob) | |||
|
402 | BROKEN: d36c should remain public | |||
|
403 | $ hg log -G -T '{rev}:{node|shortest} {phase} {desc}\n' | |||
|
404 | o 2:c882 draft b | |||
|
405 | | | |||
|
406 | @ 1:d36c draft c | |||
|
407 | | | |||
|
408 | o 0:cb9a public a | |||
|
409 | ||||
|
410 | $ cd .. | |||
|
411 | ||||
378 | Test for revset |
|
412 | Test for revset | |
379 |
|
413 | |||
380 | We need a bit different graph |
|
414 | We need a bit different graph |
@@ -1097,3 +1097,25 b' we have reusable code here' | |||||
1097 | 112478962961147124edd43549aedd1a335e44bf 0 {426bada5c67598ca65036d57d9e4b64b0c1ce7a0} (Thu Jan 01 00:00:00 1970 +0000) {'operation': 'replace', 'user': 'test'} |
|
1097 | 112478962961147124edd43549aedd1a335e44bf 0 {426bada5c67598ca65036d57d9e4b64b0c1ce7a0} (Thu Jan 01 00:00:00 1970 +0000) {'operation': 'replace', 'user': 'test'} | |
1098 | 08ebfeb61bac6e3f12079de774d285a0d6689eba 0 {426bada5c67598ca65036d57d9e4b64b0c1ce7a0} (Thu Jan 01 00:00:00 1970 +0000) {'operation': 'replace', 'user': 'test'} |
|
1098 | 08ebfeb61bac6e3f12079de774d285a0d6689eba 0 {426bada5c67598ca65036d57d9e4b64b0c1ce7a0} (Thu Jan 01 00:00:00 1970 +0000) {'operation': 'replace', 'user': 'test'} | |
1099 | 26805aba1e600a82e93661149f2313866a221a7b 0 {112478962961147124edd43549aedd1a335e44bf} (Thu Jan 01 00:00:00 1970 +0000) {'operation': 'replace', 'user': 'test'} |
|
1099 | 26805aba1e600a82e93661149f2313866a221a7b 0 {112478962961147124edd43549aedd1a335e44bf} (Thu Jan 01 00:00:00 1970 +0000) {'operation': 'replace', 'user': 'test'} | |
|
1100 | $ cd .. | |||
|
1101 | ||||
|
1102 | Test that obsmarkers are restored even when not using generaldelta | |||
|
1103 | ||||
|
1104 | $ hg --config format.usegeneraldelta=no init issue5678 | |||
|
1105 | $ cd issue5678 | |||
|
1106 | $ cat >> .hg/hgrc <<EOF | |||
|
1107 | > [experimental] | |||
|
1108 | > evolution=all | |||
|
1109 | > EOF | |||
|
1110 | $ echo a > a | |||
|
1111 | $ hg ci -Aqm a | |||
|
1112 | $ hg ci --amend -m a2 | |||
|
1113 | $ hg debugobsolete | |||
|
1114 | cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b 489bac576828490c0bb8d45eac9e5e172e4ec0a8 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | |||
|
1115 | $ hg strip . | |||
|
1116 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |||
|
1117 | saved backup bundle to $TESTTMP/issue5678/.hg/strip-backup/489bac576828-bef27e14-backup.hg (glob) | |||
|
1118 | $ hg unbundle -q .hg/strip-backup/* | |||
|
1119 | BROKEN: obsmarker got lost | |||
|
1120 | $ hg debugobsolete | |||
|
1121 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now