##// 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 b''
14
14
15 ignore blanklines in .hgsubstate
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 $ hg st --subrepos
18 $ hg st --subrepos
19 M .hgsubstate
19 M .hgsubstate
20 $ hg revert -qC .hgsubstate
20 $ hg revert -qC .hgsubstate
@@ -22,7 +22,7 b' ignore blanklines in .hgsubstate'
22 abort more gracefully on .hgsubstate parsing error
22 abort more gracefully on .hgsubstate parsing error
23
23
24 $ cp .hgsubstate .hgsubstate.old
24 $ cp .hgsubstate .hgsubstate.old
25 >>> open('.hgsubstate', 'wb').write(b'\ninvalid')
25 >>> open('.hgsubstate', 'wb').write(b'\ninvalid') and None
26 $ hg st --subrepos --cwd $TESTTMP -R $TESTTMP/repo
26 $ hg st --subrepos --cwd $TESTTMP -R $TESTTMP/repo
27 abort: invalid subrepository revision specifier in 'repo/.hgsubstate' line 2
27 abort: invalid subrepository revision specifier in 'repo/.hgsubstate' line 2
28 [255]
28 [255]
General Comments 0
You need to be logged in to leave comments. Login now