##// END OF EJS Templates
extdata: abort if external command exits with non-zero status (BC)...
extdata: abort if external command exits with non-zero status (BC) Per the last discussion, this is more reliable and consistent way than suppressing an error. For grep, erroring out might be inconvenient, but for curl, non-zero exit status should be detected. The latter wouldn't be possible if non-zero status is ignored. https://www.mercurial-scm.org/pipermail/mercurial-devel/2017-October/105727.html

File last commit:

r27350:89027334 default
r35413:b1959391 default
Show More
histedit-helpers.sh
7 lines | 229 B | application/x-sh | BashLexer
/ tests / histedit-helpers.sh
Augie Fackler
histedit: new extension for interactive history editing
r17064 fixbundle() {
grep -v 'saving bundle' | grep -v 'saved backup' | \
grep -v added | grep -v adding | \
grep -v "unable to find 'e' for patching" | \
timeless
tests: histedit-helpers fixbundle should not complain about no input
r27350 grep -v "e: No such file or directory" | \
cat
Augie Fackler
histedit: new extension for interactive history editing
r17064 }