Source

dotfiles / .hgrc

Full commit
[ui]
username = Mario César Señoranis Ayala <mariocesar@creat1va.com>
editor = vim
merge = meld
commitsubrepos = False

[extensions]
color =
extdiff =
fetch =
graphlog =
pager =
record =
purge =
progress =
bookmarks =
hgk =
fetch =
mq =
rebase =
schemes =

[diff]
git = True
unified = 5

[progress]
delay = 1.0

[hgk]
path = /usr/share/mercurial/hgk

[boookmarks]
track.current = True

[color]
status.modified = cyan
status.added = green
status.removed = red
status.deleted = yellow bold underline
status.unknown = magenta bold underline
status.ignored = black bold
diff.diffline = none
diff.extended = cyan
diff.file_a = red
diff.file_b = green
diff.hunk = yellow bold
diff.deleted = red
diff.inserted = green
diff.changed = white
diff.trailingwhitespace = white_background

[defaults]
rebase = --keepbranches
addremove = --similarity 100

[pager]
pager = LESS='FRX' less
attend = log, nlog, slog, glog, sglog, diff, heads, in, incoming, out, outgoing, status

[extdiff]
cmd.meld =

[merge-patterns]
** = meld

[merge-tools]
meld.args = $base $local $other

[hostfingerprints]
bitbucket.org = 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b

[alias]
? = summary
pushall = !for path in `hg paths -q`; do hg push $path; done
; Commit a merge with
changelog = log --rev 'reverse(p2():ancestor(p1(),p2())-ancestor(p1(),p2()))' --template '\n\t* {desc|firstline}\n\t  {author}\n\t  {date|rfc822date}\n'
commitmerge = !hg commit -m "Merge: `hg changelog`"; hg commit --amend