view tests/histedit-helpers.sh @ 36029:d83fc41dabf3

py3: replace file() with open() in test-extdiff.t file() is not present in Python 3. This patch also adds a b'' prefix to make sure we write bytes in Python 3. Differential Revision: https://phab.mercurial-scm.org/D2128
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 11 Feb 2018 17:13:11 +0530
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
}