tests/histedit-helpers.sh
author Augie Fackler <augie@google.com>
Thu, 12 Mar 2015 21:41:50 -0400
changeset 24328 603a8d09e12d
parent 17085 35729bdd59b6
child 27350 890273343170
permissions -rw-r--r--
convert: adjust progress bar for octopus merges (issue4169) For merges, we walk the files N-1 times, where N is the number of parents. This means that for an octopus merge with 3 parents and 2 changed files, we actually fetch 6 files. This corrects the progress output of the convert command when such commits are encountered.

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"
}