Show More
@@ -11,9 +11,12 b'' | |||||
11 | > from __future__ import absolute_import, print_function |
|
11 | > from __future__ import absolute_import, print_function | |
12 | > import os |
|
12 | > import os | |
13 | > import sys |
|
13 | > import sys | |
14 |
> from mercurial import |
|
14 | > from mercurial import ( | |
|
15 | > pycompat, | |||
|
16 | > util, | |||
|
17 | > ) | |||
15 | > path1, path2 = sys.argv[1:3] |
|
18 | > path1, path2 = sys.argv[1:3] | |
16 | > if util.samefile(path1, path2): |
|
19 | > if util.samefile(pycompat.fsencode(path1), pycompat.fsencode(path2)): | |
17 | > print('%s == %s' % (path1, path2)) |
|
20 | > print('%s == %s' % (path1, path2)) | |
18 | > else: |
|
21 | > else: | |
19 | > print('%s != %s' % (path1, path2)) |
|
22 | > print('%s != %s' % (path1, path2)) |
General Comments 0
You need to be logged in to leave comments.
Login now