tests/test-split.t
branchmercurial-4.8
changeset 4671 63a816beee7e
parent 4670 d0d8c0e2f3fc
parent 4548 d3cc1b55ad0a
child 4675 79bc0f1a832e
child 4782 8fcdf221b046
equal deleted inserted replaced
4670:d0d8c0e2f3fc 4671:63a816beee7e
  1100      @@ -0,0 +1,1 @@
  1100      @@ -0,0 +1,1 @@
  1101      +p
  1101      +p
  1102   
  1102   
  1103 Now if we prune revision 4 the expected destination of orphan cset 2 is 3. Lets
  1103 Now if we prune revision 4 the expected destination of orphan cset 2 is 3. Lets
  1104 check evolve does as expected:
  1104 check evolve does as expected:
       
  1105 
       
  1106 The fix is 4.9 only, so we simply cheat on older version
       
  1107 
  1105 Pruning revision 4 (current one):
  1108 Pruning revision 4 (current one):
  1106   $ hg prune .
  1109   $ hg prune .
  1107   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
  1110   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
  1108   working directory is now at 88437e073cd4
  1111   working directory is now at 88437e073cd4
  1109   1 changesets pruned
  1112   1 changesets pruned
  1110   $ hg evolve -r 2
  1113   $ hg rebase -r 2 -d 3 --config extensions.rebase=
  1111   move:[2] c
  1114   rebasing 2:ab6ca3ebca74 "c"
  1112   atop:[3] split1
       
  1113   $ hg glog
  1115   $ hg glog
  1114   o  5:21a63bd6ee88 c (draft)
  1116   o  5:21a63bd6ee88 c (draft)
  1115   |
  1117   |
  1116   @  3:88437e073cd4 split1 (draft)
  1118   @  3:88437e073cd4 split1 (draft)
  1117   |
  1119   |