Staging
v0.5.0
v0.5.0
swh:1:snp:94aae2785f73ccaec5983b9f5ce071eed323eccf
Revision 43b011f2b5b1ca18ece84e6bc168468f21c52b65 authored by Mads Kiilerich on 04 April 2020, 01:37:48 UTC, committed by Mads Kiilerich on 04 April 2020, 01:37:48 UTC
This widget used multiple inheritance of classes with different __init__ arguments. That doesn't really work reliably when combined with super() that hides the complexity of calling order. Especially not when sip play tricks to emulate the Qt class hierarchy in Python. It would fail with a confusing error about a missing repo argument to QAbstractTableModel.__init__(self, parent) HgRepoListWalker has a public setRepo method which was called at the end of __init__, forwarding all the __init__ parameters. Change that to a __init__ without parameters, and an expectation of invoking setRepo right after __init__. This has the slight disadvantage of potentially exposing partially initialized objects ... but that is a small and necessary price to pay.
1 parent a13d9df
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
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.8 KB |
COPYING | -rw-r--r-- | 17.6 KB |
ChangeLog | -rw-r--r-- | 5.7 KB |
MANIFEST.in | -rw-r--r-- | 708 bytes |
README.rst | -rw-r--r-- | 2.0 KB |
__pkginfo__.py | l--------- | 24 bytes |
setup.py | -rw-r--r-- | 14.3 KB |
Computing file changes ...