##// END OF EJS Templates
py3: fix file i/o in test-status.t...
Gregory Szorc -
r36056:c1e01b1d default
parent child Browse files
Show More
@@ -465,12 +465,12 b" hg status of binary file starting with '"
465
465
466 $ hg init repo5
466 $ hg init repo5
467 $ cd repo5
467 $ cd repo5
468 >>> open("010a", "wb").write("\1\nfoo")
468 >>> open("010a", r"wb").write(b"\1\nfoo")
469 $ hg ci -q -A -m 'initial checkin'
469 $ hg ci -q -A -m 'initial checkin'
470 $ hg status -A
470 $ hg status -A
471 C 010a
471 C 010a
472
472
473 >>> open("010a", "wb").write("\1\nbar")
473 >>> open("010a", r"wb").write(b"\1\nbar")
474 $ hg status -A
474 $ hg status -A
475 M 010a
475 M 010a
476 $ hg ci -q -m 'modify 010a'
476 $ hg ci -q -m 'modify 010a'
General Comments 0
You need to be logged in to leave comments. Login now