tests/histedit-helpers.sh
author Yuya Nishihara <yuya@tcha.org>
Sat, 25 Feb 2017 18:41:00 +0900
changeset 31197 6b8e1a08ef1d
parent 27350 890273343170
permissions -rw-r--r--
patchbomb: add config knob to generate flags by template (issue5354) This can be used to flag patches by branch or topic automatically. Flags optionally given by --flag option are exported as {flags} template keyword, so you can add --flag V2.

fixbundle() {
    grep -v 'saving bundle' | grep -v 'saved backup' | \
        grep -v added | grep -v adding | \
        grep -v "unable to find 'e' for patching" | \
        grep -v "e: No such file or directory" | \
    cat
}