##// END OF EJS Templates
relink: use sysstr to check for attribute presence...
marmoute -
r51792:d28cc52e default
parent child Browse files
Show More
@@ -60,8 +60,8 b' def relink(ui, repo, origin=None, **opts'
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, b'samefile') or not util.safehasattr(
63 if not util.safehasattr(util, 'samefile') or not util.safehasattr(
64 util, b'samedevice'
64 util, 'samedevice'
65 ):
65 ):
66 raise error.Abort(_(b'hardlinks are not supported on this system'))
66 raise error.Abort(_(b'hardlinks are not supported on this system'))
67
67
General Comments 0
You need to be logged in to leave comments. Login now