Show More
@@ -299,6 +299,7 b' def clone(ui, source, dest = None, **opt' | |||||
299 | if not (source.startswith("http://") or |
|
299 | if not (source.startswith("http://") or | |
300 | source.startswith("hg://") or |
|
300 | source.startswith("hg://") or | |
301 | source.startswith("old-http://")): |
|
301 | source.startswith("old-http://")): | |
|
302 | source = os.path.abspath(source) | |||
302 | d1 = os.stat(dest).st_dev |
|
303 | d1 = os.stat(dest).st_dev | |
303 | d2 = os.stat(source).st_dev |
|
304 | d2 = os.stat(source).st_dev | |
304 | if d1 == d2: link = 1 |
|
305 | if d1 == d2: link = 1 |
General Comments 0
You need to be logged in to leave comments.
Login now