Mercurial > hg-stable
changeset 33976:163b6b7f333c
tests: update test-hardlinks to pass our import checker
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 22 Aug 2017 15:51:24 -0400 |
parents | 04518bd58e8a |
children | dc95caa1ec0d |
files | tests/test-hardlinks.t |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-hardlinks.t Tue Aug 22 15:51:18 2017 -0400 +++ b/tests/test-hardlinks.t Tue Aug 22 15:51:24 2017 -0400 @@ -17,8 +17,9 @@ Some implementations of cp can't create hardlinks (replaces 'cp -al' on Linux): $ cat > linkcp.py <<EOF + > from __future__ import absolute_import + > import sys > from mercurial import util - > import sys > util.copyfiles(sys.argv[1], sys.argv[2], hardlink=True) > EOF