diff tests/test-bundle @ 4042:f6f65a8d8ed3

add test for 540d1059c802
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Mon, 15 Jan 2007 16:13:50 -0200
parents 9dcf9d45cab8
children ce71da8ab4f5
line wrap: on
line diff
--- a/tests/test-bundle	Mon Jan 15 17:56:20 2007 +0100
+++ b/tests/test-bundle	Mon Jan 15 16:13:50 2007 -0200
@@ -59,3 +59,22 @@
 hg -R bundle://../full.hg outgoing ../partial2
 hg -R bundle://../does-not-exist.hg outgoing ../partial2
 cd ..
+
+# test for 540d1059c802
+hg init orig
+cd orig
+echo foo > foo
+hg add foo
+hg ci -m 'add foo' -d '0 0'
+
+hg clone . ../copy
+hg tag -d '0 0' foo
+
+cd ../copy
+echo >> foo
+hg ci -m 'change foo' -d '0 0'
+hg bundle ../bundle.hg ../orig
+
+cd ../orig
+hg incoming ../bundle.hg
+cd ..