Show More
@@ -1664,6 +1664,7 b' def addpartrevbranchcache(repo, bundler,' | |||
|
1664 | 1664 | mandatory=False) |
|
1665 | 1665 | |
|
1666 | 1666 | def _formatrequirementsspec(requirements): |
|
1667 | requirements = [req for req in requirements if req != "shared"] | |
|
1667 | 1668 | return urlreq.quote(','.join(sorted(requirements))) |
|
1668 | 1669 | |
|
1669 | 1670 | def _formatrequirementsparams(requirements): |
@@ -124,15 +124,14 b' hg serve shared clone' | |||
|
124 | 124 | -rw-r--r-- 2 b |
|
125 | 125 | |
|
126 | 126 | |
|
127 |
Cloning a shared repo via bundle2 |
|
|
127 | Cloning a shared repo via bundle2 results in a non-shared clone | |
|
128 | 128 | |
|
129 | 129 | $ cd .. |
|
130 | 130 | $ hg clone -q --stream --config ui.ssh="$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/`pwd`/repo2 cloned-via-bundle2 |
|
131 | 131 | $ cat ./cloned-via-bundle2/.hg/requires | grep "shared" |
|
132 | shared | |
|
132 | [1] | |
|
133 | 133 | $ hg id --cwd cloned-via-bundle2 -r tip |
|
134 | abort: $ENOENT$: '$TESTTMP/cloned-via-bundle2/.hg/sharedpath' | |
|
135 | [255] | |
|
134 | c2e0ac586386 tip | |
|
136 | 135 | $ cd repo2 |
|
137 | 136 | |
|
138 | 137 | test unshare command |
General Comments 0
You need to be logged in to leave comments.
Login now