Source

dotfiles / .hgrc

Full commit
[ui]
username = Ches Martin <ches@whiskeyandgrits.net>
ssh = ssh -C

# Abort instead of trying to auto-commit when subrepos have changes
commitsubrepos = no

[defaults]
#log = --limit 20

[web]
style = monoblue
allow_archive = bz2, gz, zip
pygments_style = manni

# Certificate Authority certs generated from OS X system roots
# http://mercurial.selenic.com/wiki/CACertificates
cacerts = /usr/local/etc/hg/ca-roots.pem

[diff]
# copy/rename support, permission bits, etc. See `hg help diffs`
git = True

[extensions]
hgext.bookmarks =
hgext.color =
hgext.convert =
hgext.extdiff =
hgext.fetch =
hgext.hgk =
hgext.highlight =
hgext.mq =
hgext.pager =
# git-style ancestor references, e.g. foo^, foo~3:
hgext.parentrevspec =
hgext.progress =
hgext.purge =
hgext.rebase =
hgext.record =
hgext.transplant =
hgext.zeroconf =
#hgshelve = ~/.hglib/hgshelve/hgshelve.py
hgattic = ~/.hglib/hgattic/hgattic.py
prompt = ~/.hglib/hg-prompt/prompt.py
histedit = ~/.hglib/histedit/hg_histedit.py
#qct=/usr/local/lib/hg/qct.py
hggit =

[alias]
blame = blame --number --user --date -q
glog = log --graph
# Thanks: http://wikis.sun.com/display/SunOnMac/MercurialTips
# prints files changed (only) in the current patch:
qstatus = status --rev -2:-1
# empty current patch, but leave the diffs in the working copy:
qclear = qrefresh -X re:.
untrack = rm -Af
# git symmetry
show = log -pr
last = log -l1 -p

[bookmarks]
# More git-like behavior: only update the bookmark you are currently using,
# instead of multiple if they are pointing to the same changeset
track.current = True

[extdiff]
cmd.vdiff = fmdiff
# cmd.vdiff = meld
cmd.kdiff = kdiff3

[merge-tools]
kdiff3.args = $base $local $other -o $output
kdiff3.fixeol=True
kdiff3.gui=True

vimdiff.executable = mvim
vimdiff.args = -d $local $other
vimdiff.checkchanged = true
vimdiff.gui = true

merge.checkconflicts=True
merge.priority=-10

filemerge.args=-left $other -right $local -ancestor $base -merge $output
filemerge.gui=True

[pager]
pager = LESS='FRX' less
attend = help, log, glog, lg, status, qstatus, incoming, outgoing, diff, qdiff, cat, annotate, unshelve, last, show

[mq]
# Use the secret phase for mq changesets -- see `hg help phases`
secret = True

[hgk]
path=~/bin/hgk