##// END OF EJS Templates
blackbox: fix recording exit codes (issue3938)...
blackbox: fix recording exit codes (issue3938) Previously the blackbox wrapped runcommand, but this failed to see the error codes that were created if an exception occurred. I moved that logging to now wrap _runcatch, so it can observe and log the actual error code (such as when a user ctrl+c's during a command). Updated the tests as well. Tested the change by running all the tests with the blackbox extension enabled and verifying nothing broke (aside from things that printed what extensions were enabeld). The progress tests are affected by calls to time.time() so they needed to be updated to pass.

File last commit:

r16913:f2719b38 default
r19229:41e39a02 stable
Show More
test-issue1089.t
26 lines | 321 B | text/troff | Tads3Lexer
Matt Mackall
tests: fix a bunch of pointless #s in unified tests
r12328 http://mercurial.selenic.com/bts/issue1089
Adrian Buehlmann
tests: unify test-issue*
r12195
$ hg init
$ mkdir a
$ echo a > a/b
$ hg ci -Am m
adding a/b
$ hg rm a
Mads Kiilerich
tests: make (glob) on windows accept \ instead of /...
r15447 removing a/b (glob)
Adrian Buehlmann
tests: unify test-issue*
r12195 $ hg ci -m m a
$ mkdir a b
$ echo a > a/b
$ hg ci -Am m
adding a/b
$ hg rm a
Mads Kiilerich
tests: make (glob) on windows accept \ instead of /...
r15447 removing a/b (glob)
Adrian Buehlmann
tests: unify test-issue*
r12195 $ cd b
Relative delete:
$ hg ci -m m ../a
Mads Kiilerich
tests: add missing trailing 'cd ..'...
r16913 $ cd ..