view .hgrc @ 265:09c0d4ed07f3

hg: new egrep alias
author Augie Fackler <durin42@gmail.com>
date Wed, 02 Nov 2011 09:53:57 -0500
parents a5ec16bba8a9
children 393535e99b8a
line wrap: on
line source

[extensions]
hgext.bookmarks=
hgext.color=
hgext.convert=
hgext.graphlog=
hgext.highlight=
hgext.hgk=
hgext.mq=
hgext.parentrevspec=
hgext.patchbomb=
hgext.purge=
hgext.rebase=
hgext.record=
hgext.transplant=
hgext.schemes=
hgext.progress=
hggit=
hgsubversion=
hg_histedit=
hg_remotebranches=

[alias]
ll=log --graph --style compact --limit 6 -r 'sort((::. or bookmark() or heads(upstream())), "-rev")'
upstream-bookmarks = log -r 'bookmark() and upstream()' --template '{bookmarks}\n'
utip = log -r 'limit(heads(upstream()), 1)'
egrep = !$HG locate -0 '$2' $3 $4 $5 $6 $7 $8 $9 | xargs -0 egrep -H '$1'

wc-out = log -r 'ancestors(.) and not upstream()'
wc-email = email -r 'ancestors(.) and not upstream()'

[ui]
username = Augie Fackler <durin42@gmail.com>
ignore = ~/.hgglobalignore
usehttp2=true

[defaults]
qimport = --git
qrefresh = --git
annotate = -nu
heads = --style default
serve = -v
outgoing = --graph
# --graph is breaking incoming, need to investigate
# incoming =  --graph
diff = -p

[diff]
git=1

[bookmarks]
track.current = 1

[web]
port=7000
allow_archive = bz2 zip

[color]
status.ignored = magenta bold
qseries.unapplied = magenta bold

[paths]
hgcrew = http://hg.intevation.org/mercurial/crew
hgsubv = ssh://hg@bitbucket.org/durin42/hgsubversion/
hggit = ssh://hg@bitbucket.org/durin42/hg-git/
histedit = ssh://hg@bitbucket.org/durin42/histedit/

[hooks]
# Prevent "hg pull" if MQ patches are applied.
#prechangegroup.mq-no-pull = ! hg qtop > /dev/null 2>&1
# Prevent "hg push" if MQ patches are applied.
#preoutgoing.mq-no-push = ! hg qtop > /dev/null 2>&1