Skip to content

Instantly share code, notes, and snippets.

@bwinton
Created May 5, 2015 20:18
Show Gist options
  • Save bwinton/4e14b96cc9e5eb888e19 to your computer and use it in GitHub Desktop.
Save bwinton/4e14b96cc9e5eb888e19 to your computer and use it in GitHub Desktop.
[ui]
username = Blake Winton <bwinton@latte.ca>
merge = internal:merge3
[extensions]
color =
progress =
pager =
graphlog =
rebase =
histedit =
strip =
shelve =
hgext.bookmarks =
trychooser = /Users/bwinton/Programming/mercurial/trychooser/trychooser
hgwatchman = /Users/bwinton/Programming/mercurial/hgwatchman/hgwatchman
prompt = /Users/bwinton/Programming/mercurial/hg-prompt/prompt.py
reviewboard = /Users/bwinton/Programming/mercurial/mozilla/hgext/reviewboard/client.py
smartlog = /Users/bwinton/Programming/mercurial/hg-experimental/smartlog.py
fbamend = /Users/bwinton/Programming/mercurial/hg-experimental/fbamend.py
chistedit = /Users/bwinton/Programming/mercurial/hg-experimental/chistedit.py
[diff]
git = 1
showfunc = 1
unified = 8
[paths]
try = ssh://moz/try
review = ssh://rb/gecko
[bugzilla]
; Your numeric Bugzilla user id.
userid = 339434
; A valid Bugzilla login cookie.
cookie = NFhLmmDjRD
[mozilla]
ircnick = bwinton
[pager]
pager = LESS='FRX' less
# From http://jordi.inversethought.com/blog/customising-mercurial-like-a-pro/
[alias]
wip = log --graph --rev=wip --template=wip
fix = chistedit "only(.,master)"
[color]
mode=terminfo
#Custom colours
color.orange=202
color.lightyellow=191
color.darkorange=220
color.brightyellow=226
#Colours for each label
log.branch=cyan
log.summary=lightyellow
log.description=lightyellow
log.bookmark=green
log.tag=darkorange
log.graph=blue
changeset.public=orange bold
changeset.secret=blue bold
changeset.draft=brightyellow bold
desc.here=bold blue_background
[revsetalias]
wip = (parents(not public()) or not public() or . or head()) and (not obsolete() or unstable()^) and not closed()
[templates]
wip = '{label("log.branch", branches)} {label("changeset.{phase}", rev)} {label("grep.user", author|user)}{label("log.tag", if(tags," {tags}"))} {label("log.bookmark", if(bookmarks," {bookmarks}"))}\n{label(ifcontains(rev, revset('.'), 'desc.here'),desc|firstline)}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment