##// END OF EJS Templates
tests: test behavior of IOError during transactions (issue5658)...
tests: test behavior of IOError during transactions (issue5658) ui._write(), ui._write_err(), and ui.flush() all trap IOError and re-raise as error.StdioError. If a caller doesn't catch StdioError when writing to stdio, it could bubble all the way to dispatch. This commit adds tests for I/O failures around various transaction operations. The most notable badness is during abort. Here, an uncaught StdioError will result in incomplete transaction rollback, requiring an `hg rollback` to recover. This can result in a client "corrupting" a remote repo via terminated HTTP and SSH socket.

File last commit:

r9999:f91e5630 default
r33858:2debf1e3 stable
Show More
coal-folder.png
0 lines | 284 B | image/png | TextLexer
/ mercurial / templates / static / coal-folder.png
rendered-image