changeset 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 540d1059c802
children 31047b6f7ec1
files tests/test-bundle tests/test-bundle.out
diffstat 2 files changed, 29 insertions(+), 0 deletions(-) [+]
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 ..
--- a/tests/test-bundle.out	Mon Jan 15 17:56:20 2007 +0100
+++ b/tests/test-bundle.out	Mon Jan 15 16:13:50 2007 -0200
@@ -209,3 +209,13 @@
 summary:     0.3m
 
 abort: No such file or directory: ../does-not-exist.hg
+1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+searching for changes
+searching for changes
+changeset:   2:ed1b79f46b9a
+tag:         tip
+parent:      0:bbd179dfa0a7
+user:        test
+date:        Thu Jan 01 00:00:00 1970 +0000
+summary:     change foo
+