Show More
@@ -19,7 +19,10 b' Test applying context diffs' | |||
|
19 | 19 | > EOF |
|
20 | 20 | $ cat > cat.py <<EOF |
|
21 | 21 | > import sys |
|
22 | > sys.stdout.write(repr(open(sys.argv[1], 'rb').read()) + '\n') | |
|
22 | > from mercurial import pycompat | |
|
23 | > from mercurial.utils import stringutil | |
|
24 | > pycompat.stdout.write(b'%s\n' | |
|
25 | > % stringutil.pprint(open(sys.argv[1], 'rb').read())) | |
|
23 | 26 | > EOF |
|
24 | 27 | |
|
25 | 28 | Initialize the test repository |
General Comments 0
You need to be logged in to leave comments.
Login now