Staging
v0.5.1
swh:1:snp:94aae2785f73ccaec5983b9f5ce071eed323eccf
Revision f0639448daeec9be3c5a383941b24571bd82869c authored by Philippe Pepiot on 12 August 2019, 12:23:00 UTC, committed by Philippe Pepiot on 12 August 2019, 12:23:00 UTC
This trigger a bug:

Traceback (most recent call last):
  File "/home/ppepiot/src/hgview/hgviewlib/util.py", line 298, in <lambda>
    composed = lambda *args, **kwargs: f(g(*args, **kwargs))
  File "/home/ppepiot/src/hgview/hgviewlib/qt4/hgfileview.py", line 293, in displayFile
    except HgLookupError: # occur on deleted files
NameError: global name 'HgLookupError' is not defined


After the obvious NameError fix I get (on mercurial 5.0 and 5.1):

Traceback (most recent call last):
  File "/home/ppepiot/src/hgview/hgviewlib/util.py", line 298, in <lambda>
    composed = lambda *args, **kwargs: f(g(*args, **kwargs))
  File "/home/ppepiot/src/hgview/hgviewlib/qt4/hgfileview.py", line 300, in displayFile
    flag, data = self._model.graph.filedata(filename, self._ctx.rev(), mode)
  File "/home/ppepiot/src/hgview/hgviewlib/hggraph.py", line 608, in filedata
    parentctx = self.repo[self._fileparent(fctx)]
  File "/home/ppepiot/src/hgview/hgviewlib/hggraph.py", line 635, in _fileparent
    return fctx.p1().rev()
  File "/usr/lib/python2.7/dist-packages/mercurial/context.py", line 914, in p1
    return self.parents()[0]
  File "/usr/lib/python2.7/dist-packages/mercurial/context.py", line 1701, in parents
    pl = [(path, filenode(pcl[0], path), fl)]
  File "/usr/lib/python2.7/dist-packages/mercurial/context.py", line 1691, in filenode
    return ctx._manifest.get(path, nullid)
  File "/usr/lib/python2.7/dist-packages/mercurial/manifest.py", line 560, in get
    return self._lm[key][0]
TypeError: getitem: manifest keys must be a string.
1 parent 585a523
History
Tip revision: 1850a087c1b6cb026470c738b2c7f82c6fada06d authored by Mads Kiilerich on 04 April 2020, 02:27:44 UTC
qt5: renaming of references to hgviewlib/qt5, finishing up the Qt5 port
Tip revision: 1850a08
File Mode Size
bin
debian
doc
hgext3rd
hgviewlib
.hgignore -rw-r--r-- 49 bytes
.hgtags -rw-r--r-- 3.3 KB
COPYING -rw-r--r-- 17.6 KB
ChangeLog -rw-r--r-- 5.7 KB
MANIFEST.in -rw-r--r-- 704 bytes
README -rw-r--r-- 1.8 KB
__pkginfo__.py l--------- 24 bytes
setup.py -rw-r--r-- 14.1 KB

README

back to top