Lokaltog/vim-powerline — pull request #115 by asmunder (2012-03-14 11:43:16+00:00)
Title: Develop

Added segment (and a function) for HGRev, which displays Mercurial status.

I display the status e.g. as "BR: default tip+" with the branch symbol, the branch, the tag, and the plus symbol to indicate that there are uncommitted modifications. I know this is different from fugitive, but it's how I prefer it.

For some reason, I could not get passing the "branch symbol" with $BRANCH to work, like in the fugitive segment, so I hardcoded in the "High voltage" unicode symbol in Functions/hgrev.vim. I don't understand why it does not work, since it works in fugitive. Maybe you'll spot the error and fix it.