view tests/histedit-helpers.sh @ 30679:fe11f466880d

chg: handle connect failure before errno gets overridden This patch moves the error handling logic up so that errno after connect won't be overridden.
author Jun Wu <quark@fb.com>
date Sun, 25 Dec 2016 23:32:11 +0000
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
}