##// END OF EJS Templates
py3: suppress the return value of write() in tests/test-subrepo-missing.t...
Pulkit Goyal -
r37602:fd0e6678 default
parent child Browse files
Show More
@@ -14,7 +14,7
14 14
15 15 ignore blanklines in .hgsubstate
16 16
17 >>> open('.hgsubstate', 'wb').write(b'\n\n \t \n \n')
17 >>> open('.hgsubstate', 'wb').write(b'\n\n \t \n \n') and None
18 18 $ hg st --subrepos
19 19 M .hgsubstate
20 20 $ hg revert -qC .hgsubstate
@@ -22,7 +22,7 ignore blanklines in .hgsubstate
22 22 abort more gracefully on .hgsubstate parsing error
23 23
24 24 $ cp .hgsubstate .hgsubstate.old
25 >>> open('.hgsubstate', 'wb').write(b'\ninvalid')
25 >>> open('.hgsubstate', 'wb').write(b'\ninvalid') and None
26 26 $ hg st --subrepos --cwd $TESTTMP -R $TESTTMP/repo
27 27 abort: invalid subrepository revision specifier in 'repo/.hgsubstate' line 2
28 28 [255]
General Comments 0
You need to be logged in to leave comments. Login now