tests/histedit-helpers.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 01 Jun 2021 09:11:54 +0200
changeset 47372 15f6887c9c68
parent 27350 890273343170
permissions -rw-r--r--
verify: use some intermediate variables instead of a multi-liner This is shorter and easier to read as the indentation remains the same. Differential Revision: https://phab.mercurial-scm.org/D10818

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
}