Added mercurial plugin with aliases.

This commit is contained in:
ptrv 2011-06-10 15:38:59 +02:00
parent ed990f61ff
commit 55eda0c48b

View file

@ -0,0 +1,14 @@
# Mercurial
alias hgc='hg commit -v'
alias hgb='hg branch -v'
alias hgba='hg branches'
alias hgco='hg checkout'
alias hgd='hg diff'
alias hged='hg diffmerge'
# pull and update
alias hgl='hg pull -u -v'
alias hgp='hg push -v'
alias hgs='hg status -v'
# this is the 'git commit --amend' equivalent
alias hgca='hg qimport -r tip ; hg qrefresh -e ; hg qfinish tip'