changeset 6128:b3286a92f4bc

bundlerepo: test exposing inconsistency of parsed and internal name (issue #821)
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Sun, 10 Feb 2008 08:52:50 +0100
parents 25c372e8f261
children 3d666e8e6398
files tests/test-bundle tests/test-bundle.out
diffstat 2 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-bundle	Fri Feb 15 23:38:18 2008 -0200
+++ b/tests/test-bundle	Sun Feb 10 08:52:50 2008 +0100
@@ -70,7 +70,14 @@
 #doesn't work (yet ?)
 #hg -R bundle://../full.hg verify
 hg pull bundle://../full.hg
+echo "====== Rollback empty"
+hg rollback
 cd ..
+echo "====== Log -R bundle:empty+full.hg"
+hg -R bundle:empty+full.hg log --template="{rev} "
+echo ""
+echo "====== Pull full.hg into empty again (using -R; with hook)"
+hg -R empty pull full.hg
 
 echo "====== Create partial clones"
 rm -r empty
--- a/tests/test-bundle.out	Fri Feb 15 23:38:18 2008 -0200
+++ b/tests/test-bundle.out	Sun Feb 10 08:52:50 2008 +0100
@@ -124,6 +124,19 @@
 adding file changes
 added 9 changesets with 7 changes to 4 files (+1 heads)
 (run 'hg heads' to see heads, 'hg merge' to merge)
+====== Rollback empty
+rolling back last transaction
+====== Log -R bundle:empty+full.hg
+8 7 6 5 4 3 2 1 0 
+====== Pull full.hg into empty again (using -R; with hook)
+changegroup hook: HG_NODE=5649c9d34dd87d0ecb5fd39672128376e83b22e1 HG_SOURCE=pull HG_URL=bundle:full.hg+empty 
+pulling from full.hg
+requesting all changes
+adding changesets
+adding manifests
+adding file changes
+added 9 changesets with 7 changes to 4 files (+1 heads)
+(run 'hg heads' to see heads, 'hg merge' to merge)
 ====== Create partial clones
 requesting all changes
 adding changesets