tests/histedit-helpers.sh
author Yuya Nishihara <yuya@tcha.org>
Fri, 17 Apr 2015 23:22:58 +0900
branchstable
changeset 24806 61aea11fb83d
parent 17085 35729bdd59b6
child 27350 890273343170
permissions -rw-r--r--
tags: do not abort if failed to write lock file to save cache LockHeld wasn't enough to suppress error during acquiring lock. If .hg directory is read-only, LockUnavailable will be raised. $ chmod ugo-w .hg $ hg identify abort: could not lock working directory of ...: Permission denied

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