Mercurial > hg
diff tests/test-config.t @ 31108:3f8f53190d6a
chg: deduplicate error handling of ui.system()
This moves 'onerr' handling from low-level util.system() to higher level,
which seems better API separation.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 19 Feb 2017 01:16:45 +0900 |
parents | f07ca071a058 |
children | d83e51654c8a |
line wrap: on
line diff
--- a/tests/test-config.t Sun Feb 19 01:00:10 2017 +0900 +++ b/tests/test-config.t Sun Feb 19 01:16:45 2017 +0900 @@ -158,3 +158,9 @@ $ hg showconfig paths paths.foo:suboption=~/foo paths.foo=$TESTTMP/foo + +edit failure + + $ HGEDITOR=false hg config --edit + abort: edit failed: false exited with status 1 + [255]