view tests/histedit-helpers.sh @ 27884:acfe40eb8cb5

commands: use context manager for opened bundle file
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 14 Jan 2016 21:27:53 -0800
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
}