Browse Source

Merge pull request #1652 from z2v/master

Add useful aliases accompanying 'push/pull' activites
Robby Russell 12 years ago
parent
commit
2d0c9e771d
1 changed files with 4 additions and 1 deletions
  1. 4 1
      plugins/mercurial/mercurial.plugin.zsh

+ 4 - 1
plugins/mercurial/mercurial.plugin.zsh

@@ -7,7 +7,10 @@ alias hgco='hg checkout'
 alias hgd='hg diff'
 alias hged='hg diffmerge'
 # pull and update
+alias hgi='hg incoming'
 alias hgl='hg pull -u'
+alias hglr='hg pull --rebase'
+alias hgo='hg outgoing'
 alias hgp='hg push'
 alias hgs='hg status'
 # this is the 'git commit --amend' equivalent
@@ -17,4 +20,4 @@ function hg_current_branch() {
   if [ -d .hg ]; then
     echo hg:$(hg branch)
   fi
-}
+}