equal
deleted
inserted
replaced
297 |
297 |
298 link = 0 |
298 link = 0 |
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 |
305 |
306 |
306 if link: |
307 if link: |