branch | stable |
changeset 51125 | 4224b1aa7ad8 |
parent 50928 | d718eddf01d9 |
child 51863 | f4733654f144 |
--- a/hgext/relink.py Mon Nov 06 15:38:27 2023 +0100 +++ b/hgext/relink.py Tue Nov 07 15:21:11 2023 +0100 @@ -60,9 +60,7 @@ command is running. (Both repositories will be locked against writes.) """ - if not util.safehasattr(util, b'samefile') or not util.safehasattr( - util, b'samedevice' - ): + if not hasattr(util, 'samefile') or not hasattr(util, 'samedevice'): raise error.Abort(_(b'hardlinks are not supported on this system')) if origin is None and b'default-relink' in ui.paths: