Show More
@@ -261,6 +261,9 b' class bundlerepository(localrepo.localre' | |||
|
261 | 261 | if self._tempparent: |
|
262 | 262 | shutil.rmtree(self._tempparent, True) |
|
263 | 263 | |
|
264 | def cancopy(self): | |
|
265 | return False | |
|
266 | ||
|
264 | 267 | def instance(ui, path, create): |
|
265 | 268 | if create: |
|
266 | 269 | raise util.Abort(_('cannot create new bundle repository')) |
@@ -148,7 +148,7 b' def clone(ui, source, dest=None, pull=Fa' | |||
|
148 | 148 | |
|
149 | 149 | abspath = origsource |
|
150 | 150 | copy = False |
|
151 |
if src_repo. |
|
|
151 | if src_repo.cancopy() and islocal(dest): | |
|
152 | 152 | abspath = os.path.abspath(util.drop_scheme('file', origsource)) |
|
153 | 153 | copy = not pull and not rev |
|
154 | 154 |
General Comments 0
You need to be logged in to leave comments.
Login now