mercurialをアップデートしたらhgext/hbisectとかエラーが出る

mercurial1.1.1にアップデートしたら

*** failed to import extension hgext/hbisect: No module named hgext/hbisect

と出る様になって、特に実害は無いがzshの入力補完と表示域が被って邪魔
hgext/hbisectモジュールが見つからないらしいけどpypiを漁っても見つからなかった。


http://jarkkopiiroinen.com/mercurial-upgrade-woes
を参考に

mkdir ~/.hgext
touch ~/.hgext/dummy.py
echo -e "[extensions]\nhgext.hbisect=~/.hgext/dummy.py" >> ~/.hgrc

ダミーに向けてエラーが出なくなった。
今のところpythonは開発には使ってないからまあいいかな・・・


インストール環境は、aptで入れたeasy_installでmercurialを入れている。

sudo apt-get install python-setuptools
sudo easy_install -U mercurial

aptで直接mercurialを入れると0.9台の古いのが入って、hgwebが使えないのでeasy_installから入れる。


さくらの環境ではエラーは出なかった。
新しいhgwebはかっこいいな。