Created
September 7, 2019 18:40
-
-
Save evoL/15c58863138c7ff927414551764c0d9f to your computer and use it in GitHub Desktop.
My mercurial config based on http://jordi.inversethought.com/blog/customising-mercurial-like-a-pro/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[extensions] | |
absorb = | |
evolve = | |
hggit = /Users/evol/hg/hg-git/hggit | |
histedit = | |
rebase = | |
shelve = | |
[alias] | |
xl = log --graph --rev=wip --template=wip | |
x = xl | |
[ui] | |
color = yes | |
interface = curses | |
username = Rafał Hirsz <rafal@hirsz.co> | |
[color] | |
mode=terminfo | |
log.branch=cyan | |
log.summary=yellow | |
log.description=yellow | |
log.bookmark=green | |
log.tag=red | |
log.activebookmark = green bold underline | |
changeset.public=blue bold | |
changeset.secret=red bold | |
changeset.draft=yellow bold | |
desc.here=bold blue_background | |
[commands] | |
status.verbose = 1 | |
[templates] | |
wip = '{label("log.branch", ifeq(branch, "default", "", branch))} {label("changeset.{phase}", node|short)} {label("grep.user", author|user)}{label("log.tag", if(tags," {tags}"))} {bookmarks % "{ifeq(bookmark, currentbookmark, label('log.activebookmark', bookmark), label('log.bookmark', bookmark))} "}\n{label(ifcontains(rev, revset('parents()'), 'desc.here'),desc|firstline)}' | |
[revsetalias] | |
wip = (parents(not public()) or not public() or . or head()) and (not obsolete() or unstable()^) and not closed() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment