D2846: hghave: fix hardlink-whitelisted check on Python 3

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Wed Mar 14 09:52:00 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG6048b965e577: hghave: fix hardlink-whitelisted check on Python 3 (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2846?vs=7003&id=7027

REVISION DETAIL
  https://phab.mercurial-scm.org/D2846

AFFECTED FILES
  tests/hghave.py

CHANGE DETAILS

diff --git a/tests/hghave.py b/tests/hghave.py
--- a/tests/hghave.py
+++ b/tests/hghave.py
@@ -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



To: durin42, #hg-reviewers, yuja
Cc: mercurial-devel


More information about the Mercurial-devel mailing list