[PATCH 3 of 5] Alter test to test import --exact to make sure it works with branches
hopper at omnifarious.org
hopper at omnifarious.org
Thu May 17 16:43:54 UTC 2007
# HG changeset patch
# User Eric Hopper <hopper at omnifarious.org>
# Date 1179418082 25200
# Node ID 218c2a41d33f4fe408f69615f6fae4f8aa2b5755
# Parent ef06e8ac64bdf3de74711ba1ba1f8ad769d8dcc7
Alter test to test import --exact to make sure it works with branches.
diff --git a/tests/test-impexp-branch b/tests/test-impexp-branch
--- a/tests/test-impexp-branch
+++ b/tests/test-impexp-branch
@@ -37,3 +37,9 @@ cd b
cd b
hg -R ../a export 0 | hg import -
hg -R ../a export 1 | hg import -
+cd ..
+rm -rf b
+hg init b
+cd b
+hg -R ../a export 0 | hg import --exact -
+hg -R ../a export 1 | hg import --exact -
diff --git a/tests/test-impexp-branch.out b/tests/test-impexp-branch.out
--- a/tests/test-impexp-branch.out
+++ b/tests/test-impexp-branch.out
@@ -1,2 +1,4 @@ applying patch from stdin
applying patch from stdin
applying patch from stdin
+applying patch from stdin
+applying patch from stdin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20070517/6a6149a0/attachment.asc>
More information about the Mercurial-devel
mailing list