Added mercurial plugin with aliases.

pull/418/head
ptrv 2011-06-10 15:38:59 +02:00
parent ed990f61ff
commit 55eda0c48b
1 changed files with 14 additions and 0 deletions

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'