Make test-transplant test pull case
authorBrendan Cully <brendan@kublai.com>
Tue, 16 Jan 2007 12:52:03 -0800
changeset 4036 ebf1a05f6479
parent 4035 c8f26bd24e86
child 4037 bbdba01cce28
Make test-transplant test pull case
tests/test-transplant
tests/test-transplant.out
--- a/tests/test-transplant	Tue Jan 16 12:51:02 2007 -0800
+++ b/tests/test-transplant	Tue Jan 16 12:52:03 2007 -0800
@@ -55,6 +55,12 @@
 cd ../pullback
 hg transplant -s ../remote -a -b tip
 
+echo '% remote transplant with pull'
+hg clone -r 0 ../t ../rp
+cd ../rp
+hg transplant -s ../t 2 4
+hg log --template '{rev} {parents} {desc}\n'
+
 echo '% transplant --continue'
 hg init ../tc
 cd ../tc
--- a/tests/test-transplant.out	Tue Jan 16 12:51:02 2007 -0800
+++ b/tests/test-transplant.out	Tue Jan 16 12:52:03 2007 -0800
@@ -75,6 +75,24 @@
 searching for changes
 applying 4333daefcb15
 4333daefcb15 transplanted to 5f42c04e07cc
+% remote transplant with pull
+requesting all changes
+adding changesets
+adding manifests
+adding file changes
+added 1 changesets with 1 changes to 1 files
+1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+searching for changes
+searching for changes
+adding changesets
+adding manifests
+adding file changes
+added 1 changesets with 1 changes to 1 files
+applying a53251cdf717
+a53251cdf717 transplanted to 8d9279348abb
+2  b3
+1  b1
+0  r1
 % transplant --continue
 adding foo
 adding toremove