With the actual version from the upstream repository I get still the following error:
Traceback (most recent call last):
File "/usr/local/bin/hgview", line 36, in <module>
from hgviewlib.application import main
File "/usr/local/lib/python2.7/dist-packages/hgviewlib/application.py", line 27, in <module>
from hgviewlib.util import find_repository, rootpath, build_repo
File "/usr/local/lib/python2.7/dist-packages/hgviewlib/util.py", line 23, in <module>
from mercurial.util import binay # noqa
ImportError: cannot import name binay
I have fixed this by adding an r to the word binay in line 23 in /usr/local/lib/python2.7/dist-packages/hgviewlib/util.py so this line is now:
from mercurial.util import binary # noqa
With the actual version from the upstream repository I get still the following error:
Traceback (most recent call last): bin/hgview" , line 36, in <module> application import main lib/python2. 7/dist- packages/ hgviewlib/ application. py", line 27, in <module> lib/python2. 7/dist- packages/ hgviewlib/ util.py" , line 23, in <module>
File "/usr/local/
from hgviewlib.
File "/usr/local/
from hgviewlib.util import find_repository, rootpath, build_repo
File "/usr/local/
from mercurial.util import binay # noqa
ImportError: cannot import name binay
I have fixed this by adding an r to the word binay in line 23 in /usr/local/ lib/python2. 7/dist- packages/ hgviewlib/ util.py so this line is now:
from mercurial.util import binary # noqa