# HG changeset patch # User Pierre-Yves David # Date 2015-06-30 02:18:51 # Node ID 0c201666fdc64cee288fd6eb13f615eebf9fbd9c # Parent af5b2f4ed594621a764fbe3034122253afcf225c transplant: update test to use hash for remote transplant Transplant is apparently allowing using revision numbers when transplanting through http. I call this nonsense and update the test to use an explicit hash. This "feature" will break in the next change fixing another bug. diff --git a/tests/test-transplant.t b/tests/test-transplant.t --- a/tests/test-transplant.t +++ b/tests/test-transplant.t @@ -298,7 +298,7 @@ remote transplant with pull updating to branch default 1 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd ../rp - $ hg transplant -s http://localhost:$HGPORT/ 2 4 + $ hg transplant -s http://localhost:$HGPORT/ 37a1297eb21b a53251cdf717 searching for changes searching for changes adding changesets @@ -313,9 +313,12 @@ remote transplant with pull 0 r1 remote transplant without pull +(I'm pretty sure this test is actually pulling, +It was using "2" and "4" (as the previous transplant used to) which referenced +revision different from one run to another) $ hg pull -q http://localhost:$HGPORT/ - $ hg transplant -s http://localhost:$HGPORT/ 2 4 + $ hg transplant -s http://localhost:$HGPORT/ 8d9279348abb 722f4667af76 searching for changes skipping already applied revision 2:8d9279348abb applying 722f4667af76