[PATCH 3 of 4] Alter test to test import --exact to make sure it works with branches

hopper at omnifarious.org hopper at omnifarious.org
Fri May 18 03:17:00 UTC 2007


# HG changeset patch
# User Eric Hopper <hopper at omnifarious.org>
# Date 1179457789 25200
# Node ID 32ea809e5bd1f4164c3998ab105c9d895698f4f1
# Parent  eff2eefdb65a994d49f657eb29a203977723f602
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/210b6e88/attachment.asc>


More information about the Mercurial-devel mailing list