tests/test-convert-hg-startrev.t
changeset 26154 242853e14804
parent 20117 aa9385f983fa
child 28899 8c94594adbef
--- a/tests/test-convert-hg-startrev.t	Fri Sep 04 02:51:57 2015 +0800
+++ b/tests/test-convert-hg-startrev.t	Thu Sep 03 10:29:42 2015 -0700
@@ -201,4 +201,23 @@
   |
   o  0 "0: add a b f" files: a b f
   
-  $ cd ..
+Convert from specified revs
+
+  $ hg convert --rev 3 --rev 2 source multiplerevs
+  initializing destination multiplerevs repository
+  scanning source...
+  sorting...
+  converting...
+  3 0: add a b f
+  2 1: add c, move f to d
+  1 2: copy e from a, change b
+  0 3: change a
+  $ glog multiplerevs
+  o  3 "3: change a" files: a
+  |
+  | o  2 "2: copy e from a, change b" files: b e
+  | |
+  | o  1 "1: add c, move f to d" files: c d f
+  |/
+  o  0 "0: add a b f" files: a b f
+