zshrc: handle newer versions of mercurial
authorFrank Terbeck <ft@bewatermyfriend.org>
Mon, 6 Apr 2009 11:05:48 +0000 (13:05 +0200)
committerFrank Terbeck <ft@bewatermyfriend.org>
Mon, 6 Apr 2009 11:05:48 +0000 (13:05 +0200)
It seems like the mercurial vcs (hg) does not create a .hg/branch file anymore,
if there is only the 'default' branch. That broke hg-detection in vcs_info.

This detects hg repositories by the .hg/store directory and defaults to 'default'
if there is no .hg/branch file.


No differences found