tests/histedit-helpers.sh
author Augie Fackler <augie@google.com>
Mon, 24 Jul 2017 11:16:32 -0400
changeset 33711 373ca5103ba8
parent 27350 890273343170
permissions -rw-r--r--
bundle2: convert ints to strings using pycompat.bytestring() Fixes some Python 3 regressions. We don't use %d here because the part id is actually an Optional[int]. It should always be initialized to a non-None value by the time this code executes, but we shouldn't blindly depend on that being the case. Differential Revision: https://phab.mercurial-scm.org/D272

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
}