Show More
@@ -281,7 +281,9 b' def clone(ui, source, dest = None, **opt' | |||
|
281 | 281 | |
|
282 | 282 | try: |
|
283 | 283 | link = 0 |
|
284 |
if not source.startswith("http://") |
|
|
284 | if not (source.startswith("http://") or | |
|
285 | source.startswith("hg://") or | |
|
286 | source.startswith("old-http://")): | |
|
285 | 287 | d1 = os.stat(dest).st_dev |
|
286 | 288 | d2 = os.stat(source).st_dev |
|
287 | 289 | if d1 == d2: link = 1 |
General Comments 0
You need to be logged in to leave comments.
Login now