Show More
@@ -124,6 +124,16 b' hg serve shared clone' | |||
|
124 | 124 | -rw-r--r-- 2 b |
|
125 | 125 | |
|
126 | 126 | |
|
127 | Cloning a shared repo via bundle2 wrongly adds "shared" to the clone's requirements | |
|
128 | ||
|
129 | $ cd .. | |
|
130 | $ hg clone -q --stream --config ui.ssh="$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/`pwd`/repo2 cloned-via-bundle2 | |
|
131 | $ cat ./cloned-via-bundle2/.hg/requires | grep "shared" | |
|
132 | shared | |
|
133 | $ hg id --cwd cloned-via-bundle2 -r tip | |
|
134 | abort: $ENOENT$: '$TESTTMP/cloned-via-bundle2/.hg/sharedpath' | |
|
135 | [255] | |
|
136 | $ cd repo2 | |
|
127 | 137 | |
|
128 | 138 | test unshare command |
|
129 | 139 |
General Comments 0
You need to be logged in to leave comments.
Login now