# HG changeset patch # User Mark Thomas # Date 1539509661 0 # Node ID e0dea186ab6edfab124b1dfd84237a4b8142f13b # Parent ac59de55c8b4833c4bb7da4b5aeddb537454e30c py3: fix test-hardlinks.t Differential Revision: https://phab.mercurial-scm.org/D5096 diff -r ac59de55c8b4 -r e0dea186ab6e contrib/python3-whitelist --- a/contrib/python3-whitelist Fri Sep 14 14:56:13 2018 -0700 +++ b/contrib/python3-whitelist Sun Oct 14 09:34:21 2018 +0000 @@ -214,6 +214,7 @@ test-gpg.t test-graft.t test-grep.t +test-hardlinks.t test-hg-parseurl.py test-hghave.t test-hgignore.t diff -r ac59de55c8b4 -r e0dea186ab6e tests/test-hardlinks.t --- a/tests/test-hardlinks.t Fri Sep 14 14:56:13 2018 -0700 +++ b/tests/test-hardlinks.t Sun Oct 14 09:34:21 2018 +0000 @@ -19,8 +19,9 @@ $ cat > linkcp.py < from __future__ import absolute_import > import sys - > from mercurial import util - > util.copyfiles(sys.argv[1], sys.argv[2], hardlink=True) + > from mercurial import pycompat, util + > util.copyfiles(pycompat.fsencode(sys.argv[1]), + > pycompat.fsencode(sys.argv[2]), hardlink=True) > EOF $ linkcp()