tests/histedit-helpers.sh
author Yuya Nishihara <yuya@tcha.org>
Tue, 04 Nov 2014 23:41:46 +0900
changeset 23172 e955549cd045
parent 17085 35729bdd59b6
child 27350 890273343170
permissions -rw-r--r--
tests: write hgrc of more than two lines by using shell heredoc Here document should be readable than repeating echo commands.

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"
}