robbyrussell/oh-my-zsh — pull request #1708 by tessi (2013-04-10 10:32:14+00:00)
Title: extend mercurial plugin

I want to display branch names and staging status of mercurial repositories in my promt.
Thus, the mercurial plugin was extended to define some functions (similar to the svn plugin).

Implement: in_hg(), hg_get_branch_name(), hg_prompt_info(), and hg_dirty()