Browse Source

Merge pull request #1876 from chriskrycho/patch-1

Add count for incoming and outgoing changesets.
Robby Russell 11 years ago
parent
commit
5bccf4b123
1 changed files with 2 additions and 1 deletions
  1. 2 1
      plugins/mercurial/mercurial.plugin.zsh

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

@@ -1,4 +1,3 @@
-
 # Mercurial
 alias hgc='hg commit'
 alias hgb='hg branch'
@@ -9,9 +8,11 @@ alias hgd='hg diff'
 alias hged='hg diffmerge'
 # pull and update
 alias hgi='hg incoming'
+alias hgic='hg incoming | grep "changeset" | wc -l'
 alias hgl='hg pull -u'
 alias hglr='hg pull --rebase'
 alias hgo='hg outgoing'
+alias hgoc='hg outgoing | grep 'changeset' | wc -l'
 alias hgp='hg push'
 alias hgs='hg status'
 # this is the 'git commit --amend' equivalent