Comment 10 for bug 1748925

Revision history for this message
Tobias Groll (gibot) wrote :

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