equal
deleted
inserted
replaced
58 |
58 |
59 Do not attempt any read operations on this repository while the |
59 Do not attempt any read operations on this repository while the |
60 command is running. (Both repositories will be locked against |
60 command is running. (Both repositories will be locked against |
61 writes.) |
61 writes.) |
62 """ |
62 """ |
63 if not util.safehasattr(util, 'samefile') or not util.safehasattr( |
63 if not hasattr(util, 'samefile') or not hasattr(util, 'samedevice'): |
64 util, 'samedevice' |
|
65 ): |
|
66 raise error.Abort(_(b'hardlinks are not supported on this system')) |
64 raise error.Abort(_(b'hardlinks are not supported on this system')) |
67 |
65 |
68 if origin is None and b'default-relink' in ui.paths: |
66 if origin is None and b'default-relink' in ui.paths: |
69 origin = b'default-relink' |
67 origin = b'default-relink' |
70 path = urlutil.get_unique_pull_path_obj(b'relink', ui, origin) |
68 path = urlutil.get_unique_pull_path_obj(b'relink', ui, origin) |