Skip to content

Instantly share code, notes, and snippets.

@t0d0r
Created November 30, 2012 20:08
Show Gist options
  • Save t0d0r/4178228 to your computer and use it in GitHub Desktop.
Save t0d0r/4178228 to your computer and use it in GitHub Desktop.
hgrc
[ui]
username = Todor Dragnev <todor@bstconsult.com>
#username = Todor Dragnev <todor.dragnev@gmail.com>
#verbose = True
[defaults]
# suppress noisy extdiff header message
cdiff = -q
# добавя cdiff, color and glog команди
[extensions]
hgshelve=~/.hgext/hgshelve/hgshelve.py
[extensions]
color =
convert =
fetch =
graphlog =
hgext.churn=
hgext.extdiff =
hgext.hgshelve=
record =
[extdiff]
cmd.cdiff = colordiff
opts.cdiff = -uprN
#cmd.opendiff = vimdiff
[alias]
changelog = log
stash = shelve
changeset = log --template '{date|age}: {desc|firstline} [{author|person}]\n'
latest = log --limit 4
lastlog = latest
ll = lastlog --stat
__mystatus = status
st = !hg __mystatus $($HG root) $HG_ARGS
[color]
status.modified = magenta bold
status.added = yellow bold
status.removed = red bold blue_background
status.deleted = red bold
status.unknown = blue bold
status.ignored = black bold
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment