view tests/histedit-helpers.sh @ 41329:84707d9e77a0

tests: write directly to stdout to avoid b'' prefixes This enables the test to pass on Python 3. Differential Revision: https://phab.mercurial-scm.org/D5668
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 23 Jan 2019 17:45:11 -0800
parents 890273343170
children
line wrap: on
line source

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
}