tests/histedit-helpers.sh
author Boris Feld <boris.feld@octobus.net>
Tue, 19 Sep 2017 22:01:31 +0200
changeset 34326 5779d096a696
parent 27350 890273343170
permissions -rw-r--r--
phases: move binary encoding into a reusable function We want to use binary phases for pushing and pulling. We extract the encoding function out of the bundle2 module first.

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
}