[PATCH 1 of 2] bundlerepo: test exposing inconsistency of parsed and internal name (issue #821)
Peter Arrenbrecht
peter.arrenbrecht at gmail.com
Sun Feb 10 08:03:32 UTC 2008
# HG changeset patch
# User Peter Arrenbrecht <peter.arrenbrecht at gmail.com>
# Date 1202629970 -3600
# Node ID 8f280799fff140c48d8d5a4f991f3e129dfab65b
# Parent 1d9f4fe47c7ddd0d917853c6215dab710cf39fae
bundlerepo: test exposing inconsistency of parsed and internal name (issue #821)
diff --git a/tests/test-bundle b/tests/test-bundle
--- a/tests/test-bundle
+++ b/tests/test-bundle
@@ -70,7 +70,14 @@ echo 'changegroup = python ../printenv.p
#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
diff --git a/tests/test-bundle.out b/tests/test-bundle.out
--- a/tests/test-bundle.out
+++ b/tests/test-bundle.out
@@ -124,6 +124,19 @@ adding file changes
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
More information about the Mercurial-devel
mailing list