Skip to content

Instantly share code, notes, and snippets.

@evoL
Created September 7, 2019 18:40
Show Gist options
  • Save evoL/15c58863138c7ff927414551764c0d9f to your computer and use it in GitHub Desktop.
Save evoL/15c58863138c7ff927414551764c0d9f to your computer and use it in GitHub Desktop.
[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