changeset 6316:ad5baedeee02

Add tests for cloning from a all-history bundle
author John Mulligan <phlogistonjohn@asynchrono.us>
date Sat, 15 Mar 2008 12:22:15 -0400
parents 5c96a4bca66b
children b0d937869417
files tests/test-bundle tests/test-bundle.out
diffstat 2 files changed, 24 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-bundle	Thu Mar 20 11:12:35 2008 -0500
+++ b/tests/test-bundle	Sat Mar 15 12:22:15 2008 -0400
@@ -97,6 +97,11 @@
 hg -R bundle://../does-not-exist.hg outgoing ../partial2
 cd ..
 
+echo "====== Direct clone from bundle (all-history)"
+hg clone full.hg full-clone
+hg -R full-clone heads
+rm -r full-clone
+
 # test for http://www.selenic.com/mercurial/bts/issue216
 echo "====== Unbundle incremental bundles into fresh empty in one go"
 rm -r empty
--- a/tests/test-bundle.out	Thu Mar 20 11:12:35 2008 -0500
+++ b/tests/test-bundle.out	Sat Mar 15 12:22:15 2008 -0400
@@ -260,6 +260,25 @@
 
 ====== Outgoing -R does-not-exist.hg vs partial2 in partial
 abort: No such file or directory: ../does-not-exist.hg
+====== Direct clone from bundle (all-history)
+requesting all changes
+adding changesets
+adding manifests
+adding file changes
+added 9 changesets with 7 changes to 4 files (+1 heads)
+1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+changeset:   8:836ac62537ab
+tag:         tip
+parent:      3:ac69c658229d
+user:        test
+date:        Mon Jan 12 13:46:40 1970 +0000
+summary:     0.3m
+
+changeset:   7:80fe151401c2
+user:        test
+date:        Mon Jan 12 13:46:40 1970 +0000
+summary:     1.3m
+
 ====== Unbundle incremental bundles into fresh empty in one go
 1 changesets found
 1 changesets found