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)
commitaacd4d5ed67374faf59d09262c260876deb810b9
treedde2374b3f80e27f94fec7a7a225008c1063cf6b
parentdd303d12e21ef67be7076604879299b896a8fa83
zshrc: handle newer versions of mercurial

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.
debian/changelog
etc/zsh/zshrc