Show More
@@ -214,6 +214,7 b' test-glog.t' | |||
|
214 | 214 | test-gpg.t |
|
215 | 215 | test-graft.t |
|
216 | 216 | test-grep.t |
|
217 | test-hardlinks.t | |
|
217 | 218 | test-hg-parseurl.py |
|
218 | 219 | test-hghave.t |
|
219 | 220 | test-hgignore.t |
@@ -19,8 +19,9 b" Some implementations of cp can't create " | |||
|
19 | 19 | $ cat > linkcp.py <<EOF |
|
20 | 20 | > from __future__ import absolute_import |
|
21 | 21 | > import sys |
|
22 | > from mercurial import util | |
|
23 | > util.copyfiles(sys.argv[1], sys.argv[2], hardlink=True) | |
|
22 | > from mercurial import pycompat, util | |
|
23 | > util.copyfiles(pycompat.fsencode(sys.argv[1]), | |
|
24 | > pycompat.fsencode(sys.argv[2]), hardlink=True) | |
|
24 | 25 | > EOF |
|
25 | 26 | |
|
26 | 27 | $ linkcp() |
General Comments 0
You need to be logged in to leave comments.
Login now