tests/test-split.t
branchmercurial-4.8
changeset 4548 d3cc1b55ad0a
parent 4511 e4fc3af2d0a9
parent 4502 84512556e148
child 4552 0eb80259f9cb
child 4671 63a816beee7e
equal deleted inserted replaced
4547:bdcea921d28b 4548:d3cc1b55ad0a
  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 now at 88437e073cd4
  1111   working directory 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
  1115   $ hg up
  1113   working directory is now at 21a63bd6ee88
  1116   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
  1114   $ hg glog
  1117   $ hg glog
  1115   @  5:21a63bd6ee88 c (draft)
  1118   @  5:21a63bd6ee88 c (draft)
  1116   |
  1119   |
  1117   o  3:88437e073cd4 split1 (draft)
  1120   o  3:88437e073cd4 split1 (draft)
  1118   |
  1121   |