##// END OF EJS Templates
hghave: fix hardlink-whitelisted check on Python 3...
Augie Fackler -
r36960:bf730128 default
parent child Browse files
Show More
@@ -372,7 +372,7 b' def has_hardlink():'
372 def has_hardlink_whitelisted():
372 def has_hardlink_whitelisted():
373 from mercurial import util
373 from mercurial import util
374 try:
374 try:
375 fstype = util.getfstype('.')
375 fstype = util.getfstype(b'.')
376 except OSError:
376 except OSError:
377 return False
377 return False
378 return fstype in util._hardlinkfswhitelist
378 return fstype in util._hardlinkfswhitelist
General Comments 0
You need to be logged in to leave comments. Login now