Show More
@@ -302,7 +302,8 b' def clone(ui, peeropts, source, dest=Non' | |||
|
302 | 302 | dircleanup = DirCleanup(dest) |
|
303 | 303 | |
|
304 | 304 | copy = False |
|
305 |
if |
|
|
305 | if (srcrepo and srcrepo.cancopy() and islocal(dest) | |
|
306 | and not srcrepo.revs("secret()")): | |
|
306 | 307 | copy = not pull and not rev |
|
307 | 308 | |
|
308 | 309 | if copy: |
General Comments 0
You need to be logged in to leave comments.
Login now