D5984: tests: demonstrate failure when cloning from a share via bundle2
mplamann (Mitchell Plamann)
phabricator at mercurial-scm.org
Mon Feb 25 15:40:46 UTC 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa62ad1be1671: tests: demonstrate failure when cloning from a share via bundle2 (authored by mplamann, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5984?vs=14154&id=14236
REVISION DETAIL
https://phab.mercurial-scm.org/D5984
AFFECTED FILES
tests/test-share.t
CHANGE DETAILS
diff --git a/tests/test-share.t b/tests/test-share.t
--- a/tests/test-share.t
+++ b/tests/test-share.t
@@ -124,6 +124,16 @@
-rw-r--r-- 2 b
+Cloning a shared repo via bundle2 wrongly adds "shared" to the clone's requirements
+
+ $ cd ..
+ $ hg clone -q --stream --config ui.ssh="$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/`pwd`/repo2 cloned-via-bundle2
+ $ cat ./cloned-via-bundle2/.hg/requires | grep "shared"
+ shared
+ $ hg id --cwd cloned-via-bundle2 -r tip
+ abort: $ENOENT$: '$TESTTMP/cloned-via-bundle2/.hg/sharedpath'
+ [255]
+ $ cd repo2
test unshare command
To: mplamann, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list