tests/test-convert-hg-startrev.t
changeset 19891 e271970b9821
parent 19457 948df0f10ec1
child 20117 aa9385f983fa
--- a/tests/test-convert-hg-startrev.t	Thu Oct 03 18:01:21 2013 +0200
+++ b/tests/test-convert-hg-startrev.t	Sat Jul 20 00:43:08 2013 +0200
@@ -183,3 +183,23 @@
   b
   $ hg -q verify
   $ cd ..
+
+Convert from revset in convert.hg.revs
+
+  $ hg convert --config convert.hg.revs='3:4+0' source revsetrepo
+  initializing destination revsetrepo repository
+  scanning source...
+  sorting...
+  converting...
+  2 0: add a b f
+  1 3: change a
+  0 4: merge 2 and 3
+
+  $ glog revsetrepo
+  o  2 "4: merge 2 and 3" files: b c d e f
+  |
+  o  1 "3: change a" files: a
+  |
+  o  0 "0: add a b f" files: a b f
+  
+  $ cd ..