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