changeset 50928 | d718eddf01d9 |
parent 50899 | d28cc52e2c0f |
--- a/hgext/relink.py Thu Dec 08 15:33:19 2022 +0100 +++ b/hgext/relink.py Thu Aug 31 23:56:15 2023 +0200 @@ -60,9 +60,7 @@ command is running. (Both repositories will be locked against writes.) """ - if not util.safehasattr(util, 'samefile') or not util.safehasattr( - util, '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: