tests/histedit-helpers.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 28 Jan 2022 11:45:33 +0100
changeset 48764 f7d7facd7b9f
parent 27350 890273343170
permissions -rw-r--r--
rank: add test with golden values This adds a regression test for the computation of the rank, using the current values computed with the naive algorithm as the "golden" reference. Differential Revision: https://phab.mercurial-scm.org/D12142

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
}