view tests/histedit-helpers.sh @ 27776:6fe2da48a6dd

bundlerepo: use context manager for file I/O in _writetempbundle
author Bryan O'Sullivan <bryano@fb.com>
date Tue, 12 Jan 2016 14:48:27 -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
}