Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
31107:fbce78c58f1e | 31108:3f8f53190d6a |
---|---|
156 > EOF | 156 > EOF |
157 | 157 |
158 $ hg showconfig paths | 158 $ hg showconfig paths |
159 paths.foo:suboption=~/foo | 159 paths.foo:suboption=~/foo |
160 paths.foo=$TESTTMP/foo | 160 paths.foo=$TESTTMP/foo |
161 | |
162 edit failure | |
163 | |
164 $ HGEDITOR=false hg config --edit | |
165 abort: edit failed: false exited with status 1 | |
166 [255] |