Skip to content

Instantly share code, notes, and snippets.

@robcee
Created April 27, 2012 16:04
Show Gist options
  • Save robcee/2510424 to your computer and use it in GitHub Desktop.
Save robcee/2510424 to your computer and use it in GitHub Desktop.
.hgrc
[defaults]
diff = -p -U 8
qdiff = -p -U 8
qnew = -U
qseries = -s
[paths]
fx-team = ssh://hg.mozilla.org/integration/fx-team/
mozilla-central = ssh://hg.mozilla.org/mozilla-central/
m-c = ssh://hg.mozilla.org/mozilla-central/
[merge-tools]
filemerge.executable = opendiff-merge
filemerge.args = $local $other -ancestor $base -merge $output
[extensions]
hgext.graphlog =
hgext.mq =
hgext.rebase =
color =
hgext.bookmarks =
hgext.crecord = ~/bin/hgext/crecord
qimportbz = ~/bin/hgext/qimportbz
bzexport = ~/bin/hgext/bzexport/bzexport.py
[diff]
git = 1
showfunc = 1
[alias]
series = qseries -v
s = qseries -v
show = qshow
goto = qgoto
touched = qtouched
shortlog = log --template='{node|short}: {desc|firstline}\n'
qstatus = status --rev -2:.
qlog = log --stat -r qtip:qbase
qedit = !S=$(hg root)/.hg/patches/series; cp $S{,.bak} && perl -pale 'BEGIN { chomp(@a = qx(hg qapplied -q)); die if $?; @a{@a}=(); }; s/^/# (applied) / if exists $a{$F[0]}' $S > $S.new && vim $S.new && sed -e 's/^# .applied. //' $S.new > $S
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment