changeset 36942:bf73012877a4

hghave: fix hardlink-whitelisted check on Python 3 Differential Revision: https://phab.mercurial-scm.org/D2846
author Augie Fackler <augie@google.com>
date Tue, 13 Mar 2018 18:13:37 -0400
parents 3f7bbce8fbaa
children c8768bc46d24
files tests/hghave.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/hghave.py	Tue Mar 13 18:05:49 2018 -0400
+++ b/tests/hghave.py	Tue Mar 13 18:13:37 2018 -0400
@@ -372,7 +372,7 @@
 def has_hardlink_whitelisted():
     from mercurial import util
     try:
-        fstype = util.getfstype('.')
+        fstype = util.getfstype(b'.')
     except OSError:
         return False
     return fstype in util._hardlinkfswhitelist