tests/histedit-helpers.sh
author Augie Fackler <augie@google.com>
Wed, 12 Sep 2018 11:37:34 -0400
changeset 39595 921aeb9ac508
parent 27350 890273343170
permissions -rw-r--r--
error: ensure ProgrammingError message is always a str Since this error is internal-only and a runtime error, let's give it a treatment that makes it behave identically when repr()d on both Python 2 and Python 3. Differential Revision: https://phab.mercurial-scm.org/D4545

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
}