tests/histedit-helpers.sh
author Martin von Zweigbergk <martinvonz@google.com>
Tue, 21 Mar 2017 17:50:44 -0700
changeset 31594 7e3b145f8247
parent 27350 890273343170
permissions -rw-r--r--
status: support commands.status.relative config When the config is set to true, status output becomes relative to the working directory. This has bugged me since I started using hg and it turns it is sillily simple to support it (unless I missed something, of course). We could also add a --relative flag, but I would personally always want that on, and I haven't heard any use for having it sometimes on, so this patch only lets you enable it via config.

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
}