thg issueshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues2022-06-03T16:09:48Zhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5752Bundle hg-git with TortoiseHg on Windows?2022-06-03T16:09:48ZDan Villiom Podlaski Christiansendanchr@gmail.comBundle hg-git with TortoiseHg on Windows?So, you removed `hg-git` some time ago as it kept breaking with the latest version of Mercurial. I imagine that was a very reasonable call at the time.
Since then, the situation should have improved quite a bit: We have weekly builds of...So, you removed `hg-git` some time ago as it kept breaking with the latest version of Mercurial. I imagine that was a very reasonable call at the time.
Since then, the situation should have improved quite a bit: We have weekly builds of the each branch against `default` from the `mercurial-devel` repository. As a result, most breakage should be fixed relatively quickly; although we didn't quite manage to cut a release prior to 5.8, we did do so about 10 days later. We had a release ready for 5.9. I just fixed compatibility with default, and I expect to keep the `0.10.x` branch working with the latest version of Mercurial at least until you switch to Python 3.
So, I don't think bundling `hg-git` shouldn't cause you any slowdowns in your cycle. Perhaps it's time to reconsider?
This is essentially a replacement for #5597.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5751fedora 35 crash on startup2021-11-10T10:25:26ZNeal Beckerfedora 35 crash on startupClean install of fedora f35 (hopefully) using
hg-5.9.1, thg-5.9
I'm fairly sure that none of my local python installations are being used, only system (for one thing, we just moved to python3.10 so my local .local/lib/python3.10 doesn't...Clean install of fedora f35 (hopefully) using
hg-5.9.1, thg-5.9
I'm fairly sure that none of my local python installations are being used, only system (for one thing, we just moved to python3.10 so my local .local/lib/python3.10 doesn't even exist)
The 1st traceback is produced on startup:
[thg-bugreport.txt](/uploads/adcc0455c9b5b689dfb3dac344b52423/thg-bugreport.txt)
```
#!python
** Mercurial version (5.9.1). TortoiseHg version (5.9)
** Command:
** CWD: /home/nbecker/IoT
** Encoding: UTF-8
** Extensions loaded: convert, evolve 10.3.2, hggit 0.10.1 (dulwich 0.20.23), largefiles, rebase, tortoisehg.util.configitems, transplant
** Python version: 3.10.0 (default, Oct 4 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)]
** System: Linux nbecker2 5.14.10-300.fc35.x86_64 #1 SMP Thu Oct 7 20:48:44 UTC 2021 x86_64
** Qt-5.15.2 PyQt-5.15.0 QScintilla-2.11.6
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 590, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 630, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
```
The 2nd traceback is produced on exit:
[thg-bugreport2.txt](/uploads/7be48e76181b75ed27e955021270e977/thg-bugreport2.txt)
```
#!python
** Mercurial version (5.9.1). TortoiseHg version (5.9)
** Command:
** CWD: /home/nbecker/IoT
** Encoding: UTF-8
** Extensions loaded: convert, evolve 10.3.2, hggit 0.10.1 (dulwich 0.20.23), largefiles, rebase, tortoisehg.util.configitems, transplant
** Python version: 3.10.0 (default, Oct 4 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)]
** System: Linux nbecker2 5.14.10-300.fc35.x86_64 #1 SMP Thu Oct 7 20:48:44 UTC 2021 x86_64
** Qt-5.15.2 PyQt-5.15.0 QScintilla-2.11.6
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/run.py", line 139, in dispatch
return _runcatch(u, args)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/run.py", line 343, in _runcatch
return runcommand(ui, args)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/run.py", line 437, in runcommand
return _runcommand(lui, options, cmd, d)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/run.py", line 489, in _runcommand
return checkargs()
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/run.py", line 442, in checkargs
return cmdfunc()
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/run.py", line 435, in <lambda>
d = lambda: qtrun(checkedfunc, ui, *args,
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/qtapp.py", line 477, in __call__
self._exccatcher.release()
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/qtapp.py", line 163, in release
self._releaseWakeup()
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/qtapp.py", line 243, in _releaseWakeup
os.close(rfd)
TypeError: 'sip.voidptr' object cannot be interpreted as an integer
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5748License incompatible with PyQt52022-03-20T04:58:54ZAndrej ShaduraLicense incompatible with PyQt5As Bastian Germann reports [here](https://bugs.debian.org/993967) and [here](https://groups.google.com/g/thg-dev/c/AYFxHk5aLKg/), the current license of TortoiseHg (GPLv2-only) is incompatible license with the currently version of PyQt5 ...As Bastian Germann reports [here](https://bugs.debian.org/993967) and [here](https://groups.google.com/g/thg-dev/c/AYFxHk5aLKg/), the current license of TortoiseHg (GPLv2-only) is incompatible license with the currently version of PyQt5 (GPLv3).
As he points out, apart from relicensing thg, it should be
possible to convert the source to PySide2 or QtPy, which have licenses compatible with thg (making relicensing a less urgent issue).https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5746Pulling from hg-git repo doesn't show git commit hash until restart2022-10-05T20:00:38ZPatrick PlenefischPulling from hg-git repo doesn't show git commit hash until restartI have a git repo that I cloned using hg-git, and opened in thg. When I pull, any new git commits show up as expected, and everything works fine, however the "git commit" column is blank for all freshly pulled commits. Opening another re...I have a git repo that I cloned using hg-git, and opened in thg. When I pull, any new git commits show up as expected, and everything works fine, however the "git commit" column is blank for all freshly pulled commits. Opening another repo, closing the hg-git repo tab, and reopening the hg-git repo, they stay blank. Only a restart of thg fixes this. None of the refresh buttons update the column either.
Version:
TortoiseHg
version 5.8.1+9-6ce8861704c5
with Mercurial-5.8.1, Python-3.6.8, PyQt-5.12.2, Qt-5.12.3https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5745CERTIFICATE_VERIFY_FAILED since September 30, 20212022-08-10T16:12:14ZPeter SuterCERTIFICATE_VERIFY_FAILED since September 30, 2021Since today TortoiseHG 5.9.1 fails to verify certificates:
```
URLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)
```
Probably because:
https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021...Since today TortoiseHG 5.9.1 fails to verify certificates:
```
URLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)
```
Probably because:
https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/
> DST Root CA X3 will expire on September 30, 2021
> That means those older devices that don’t trust ISRG Root X1 will start getting certificate warnings when visiting sites that use Let’s Encrypt certificates.
ISRG Root X1 is in the Windows certificate store.
I guess the reason TortoiseHG fails is because it uses "certifi" (which "provides Mozilla’s carefully curated collection of Root Certificates" https://pypi.org/project/certifi/ ) instead of just using the normal Windows certificate store.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5744thg5.9.1 bug report vs mercurial 5.9.12021-09-25T16:52:00Zalexraynethg5.9.1 bug report vs mercurial 5.9.1hallow !
works with thg5.9.1(18852b641cb9) on win8.1 rus.
try it with latest mercurial 5.9.1+(f82c4e8afe5c)
and on first qpop got this
```
% hg qpop
** Unknown exception encountered with possibly-broken third-party extension "hggit" ...hallow !
works with thg5.9.1(18852b641cb9) on win8.1 rus.
try it with latest mercurial 5.9.1+(f82c4e8afe5c)
and on first qpop got this
```
% hg qpop
** Unknown exception encountered with possibly-broken third-party extension "hggit" 0.10.0 (dulwich 0.20.5)
** which supports versions 5.7 of Mercurial.
** Please disable "hggit" and try your action again.
** If that fixes the bug please report it to https://foss.heptapod.net/mercurial/hg-git/issues
** Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)]
** Mercurial Distributed SCM (version 5.9.1)
** Extensions loaded: absorb, amend, censor, closehead, commitextras, convert, evolve 10.3.3, extdiff, fix, hggit 0.10.0 (dulwich 0.20.5), highlight, histedit, mq, patchbomb, rebase, record, remotenames, schemes, share, show, sparse, strip, topic 0.22.3, tortoisehg.util.hgcommands, tortoisehg.util.hgdispatch, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, transplant
** Unknown exception encountered with possibly-broken third-party extension "hggit" 0.10.0 (dulwich 0.20.5)
** which supports versions 5.7 of Mercurial.
** Please disable "hggit" and try your action again.
** If that fixes the bug please report it to https://foss.heptapod.net/mercurial/hg-git/issues
** Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)]
** Mercurial Distributed SCM (version 5.9.1)
** Extensions loaded: absorb, amend, censor, closehead, commitextras, convert, evolve 10.3.3, extdiff, fix, hggit 0.10.0 (dulwich 0.20.5), highlight, histedit, mq, patchbomb, rebase, record, remotenames, schemes, share, show, sparse, strip, topic 0.22.3, tortoisehg.util.hgcommands, tortoisehg.util.hgdispatch, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, transplant
Traceback (most recent call last):
File "D:\projects\hg\thg\thg.work\venv.py38\Scripts\hg", line 61, in <module>
dispatch.run()
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 144, in run
status = dispatch(req)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 250, in dispatch
status = _rundispatch(req)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 294, in _rundispatch
ret = _runcatch(req) or 0
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 470, in _runcatch
return _callcatch(ui, _runcatchfunc)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 480, in _callcatch
return scmutil.callcatch(ui, func)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\scmutil.py", line 153, in callcatch
return func()
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 460, in _runcatchfunc
return _dispatch(req)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 1273, in _dispatch
return runcommand(
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 918, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 1285, in _runcommand
return cmdfunc()
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 1271, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\util.py", line 1888, in check
return func(*args, **kwargs)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\util.py", line 1888, in check
return func(*args, **kwargs)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\hgext\mq.py", line 4239, in mqcommand
return orig(ui, repo, *args, **kwargs)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\util.py", line 1888, in check
return func(*args, **kwargs)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\commands.py", line 6611, in serve
return server.runservice(opts, initfn=service.init, runfn=service.run)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\server.py", line 167, in runservice
return runfn()
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\commandserver.py", line 469, in run
return sv.serve()
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\commandserver.py", line 403, in serve
while self.serveone():
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\commandserver.py", line 377, in serveone
handler(self)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\commandserver.py", line 358, in runcommand
ret = self._dispatchcommand(req) & 255
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\commandserver.py", line 297, in _dispatchcommand
return dispatch.dispatch(req)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 250, in dispatch
status = _rundispatch(req)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 294, in _rundispatch
ret = _runcatch(req) or 0
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 470, in _runcatch
return _callcatch(ui, _runcatchfunc)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 480, in _callcatch
return scmutil.callcatch(ui, func)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\scmutil.py", line 153, in callcatch
return func()
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 460, in _runcatchfunc
return _dispatch(req)
File "D:\projects\hg\thg\thg.work\tortoisehg\util\hgdispatch.py", line 23, in _dispatch
return orig(req)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 1273, in _dispatch
return runcommand(
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 918, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 1285, in _runcommand
return cmdfunc()
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 1271, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\util.py", line 1888, in check
return func(*args, **kwargs)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\hgext\mq.py", line 3577, in pop
ret = q.pop(
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\hgext\mq.py", line 1851, in pop
repo.dirstate.update_file(
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dirstate.py", line 81, in wrap
return func(self, *args, **kwargs)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dirstate.py", line 648, in update_file
self._map.reset_state(
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dirstatemap.py", line 261, in reset_state
entry = DirstateItem(
TypeError: function takes exactly 4 arguments (0 given)
cmdserver: процесс завершился неожиданно с кодом 1
mercurial%
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5742Context Menu does not appear in at all in Windows 10 LTSC (2018)2023-06-14T14:29:07ZGabriel ZigContext Menu does not appear in at all in Windows 10 LTSC (2018)New Windows 10 Enterprise LTSC (2018) install.
the TortoiseHg context menus when pressing right-click are missing.
This did not occur in Windows 10 Enterprise LSTB (2016).
TortoiseHg version 5.7New Windows 10 Enterprise LTSC (2018) install.
the TortoiseHg context menus when pressing right-click are missing.
This did not occur in Windows 10 Enterprise LSTB (2016).
TortoiseHg version 5.7https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5740Crash 5.92021-08-28T11:51:24ZCharlieCCrash 5.9This is the stacktrace
#!python
** Mercurial version (5.9rc1). TortoiseHg version (5.9rc0)
** Command:
** CWD: /Applications
** Encoding: utf-8
** Extensions loaded: evolve 10.3.2, histedit, topic 0.22.2, torto...This is the stacktrace
#!python
** Mercurial version (5.9rc1). TortoiseHg version (5.9rc0)
** Command:
** CWD: /Applications
** Encoding: utf-8
** Extensions loaded: evolve 10.3.2, histedit, topic 0.22.2, tortoisehg.util.configitems
** Python version: 2.7.17 (default, Feb 6 2020, 15:30:19) [GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.46.4)]
** System: Darwin MacBook-Pro.fritz.box 19.6.0 Darwin Kernel Version 19.6.0: Tue Jun 22 19:49:55 PDT 2021; root:xnu-6153.141.35~1/RELEASE_X86_64 x86_64
** Qt-5.9.9 PyQt-5.13.2 QScintilla-2.11.4
Traceback (most recent call last):
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/workbench.py", line 738, in openRepo
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/repotab.py", line 127, in openRepo
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/repotab.py", line 407, in _createRepoWidget
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/repowidget.py", line 230, in __init__
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/repowidget.py", line 1099, in loadSettings
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/revdetails.py", line 555, in loadSettings
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/csinfo.py", line 501, in set_expanded
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/csinfo.py", line 485, in update
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/csinfo.py", line 392, in get_markup
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/csinfo.py", line 341, in get_markup
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/csinfo.py", line 273, in get_data
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/csinfo.py", line 229, in preset_func
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/context.py", line 244, in instabilities
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/context.py", line 219, in phasedivergent
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/obsolete.py", line 913, in getrevs
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/obsolete.py", line 998, in _computephasedivergentset
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/obsutil.py", line 163, in allpredecessors
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/util.py", line 1765, in __get__
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/obsolete.py", line 746, in predecessors
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/util.py", line 1765, in __get__
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/obsolete.py", line 734, in _all
TypeError: _checkinvalidmarkers() takes exactly 2 arguments (3 given)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5739Pushing to mercurial repo + Jenkins job2021-10-13T07:41:40ZGhost UserPushing to mercurial repo + Jenkins jobUsing Tortoise HG 5.8.1 to push to Mercurial repository. I am trying to configure Jenkins to start a Parameterised build to run code analysis tests, once I use Tortoise to push to the repo. Jenkins needs to be able to pull from specific ...Using Tortoise HG 5.8.1 to push to Mercurial repository. I am trying to configure Jenkins to start a Parameterised build to run code analysis tests, once I use Tortoise to push to the repo. Jenkins needs to be able to pull from specific feature branches to be able to work as needed. I can do this by sending the feature branch name in the Jenkins URL and start the Parameterised build. What seems to be a problem is that I need to append the current repository name to the Jenkins URL, which is configured in the hook settings, so that the proper repo is pulled, as per image. The <branch> part should contain the branch name and be populated by some type of variable to avoid changing it each time the branch changes.
Appreciate any info about this, thanks.![hook](/uploads/7298561cdee44be6c22c5dbfbfa62f8d/hook.PNG)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5737UnicodeDecodeError when using annotate - "_onAnnotateFinished"2021-08-13T10:09:00ZGunther LaureUnicodeDecodeError when using annotate - "_onAnnotateFinished"Hi,
I am trying to provide a tortoisehg package for Ubuntu 20.04 LTS.
(https://github.com/glaure/tortoisehg4ubuntu)
When using annotate I am getting errors like these:
#!python
** Mercurial version (5.8.1). TortoiseHg versio...Hi,
I am trying to provide a tortoisehg package for Ubuntu 20.04 LTS.
(https://github.com/glaure/tortoisehg4ubuntu)
When using annotate I am getting errors like these:
#!python
** Mercurial version (5.8.1). TortoiseHg version (5.8.1+14-ae5c8b95d2ae)
** Command:
** CWD: /home/glaure/Development/SW_APP
** Encoding: UTF-8
** Extensions loaded: tortoisehg.util.configitems
** Python version: 3.8.10 (default, Jun 2 2021, 10:49:15) [GCC 9.4.0]
** System: Linux HARR 5.11.0-25-generic #27~20.04.1-Ubuntu SMP Tue Jul 13 17:41:23 UTC 2021 x86_64
** Qt-5.15.2 PyQt-5.15.4 QScintilla-2.13.0
Traceback (most recent call last):
File "/usr/bin/tortoisehg/hgqt/fileview.py", line 1124, in _onAnnotateFinished
data = util.pickle.loads(bytes(sess.readAll()))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 44: ordinal not in range(128)
Or:
#!python
** Mercurial version (5.8.1). TortoiseHg version (5.8.1+14-ae5c8b95d2ae)
** Command:
** CWD: /home/glaure/Development/SW_APP
** Encoding: UTF-8
** Extensions loaded: tortoisehg.util.configitems
** Python version: 3.8.10 (default, Jun 2 2021, 10:49:15) [GCC 9.4.0]
** System: Linux HARR 5.11.0-25-generic #27~20.04.1-Ubuntu SMP Tue Jul 13 17:41:23 UTC 2021 x86_64
** Qt-5.15.2 PyQt-5.15.4 QScintilla-2.13.0
Traceback (most recent call last):
File "/usr/bin/tortoisehg/hgqt/fileview.py", line 1127, in _onAnnotateFinished
for l in data[0][b'lines']:
KeyError: b'lines'
All originating from _onAnnotateFinished.
The current package is build from tortoisehg 5.8.1.
The Mercurial dependency is fullfilled using pypi:
pip3 install pyqt5
pip3 install mercurial==5.8.1
pip3 install qscintilla
The package has a number of issues, but the one from annotate is the most annoying one.
(Still better than no thg on Ubuntu 20.04)
Anyone has a tip for me how to solve this?
Best Regards,
Guntherhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5731website lacks info about current release2022-10-13T20:12:31ZRossBoylanwebsite lacks info about current releaseThe TortoiseHg workbench on Windows 10 says there is a new release, 5.8.1, and I can download it.
But the website https://tortoisehg.bitbucket.io/ (which the start menu entry for the website takes me to--see #5721) lists 5.8 as the last ...The TortoiseHg workbench on Windows 10 says there is a new release, 5.8.1, and I can download it.
But the website https://tortoisehg.bitbucket.io/ (which the start menu entry for the website takes me to--see #5721) lists 5.8 as the last release. If I click on Release Notes under the big green download button on the right I go to https://foss.heptapod.net/mercurial/tortoisehg/thg/-/wikis/ReleaseNotes, whose last entry is for 5.6.1.
I followed various links and ended up at https://www.mercurial-scm.org/wiki/; the news at the top at least goes through the 5.8, but not 5.8.1, release. Same for https://www.mercurial-scm.org/wiki/WhatsNew to which the previous page points.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5730Error when clicking on a seach result2022-07-22T15:02:44ZCarlos Felipe Forigua RodriguezError when clicking on a seach resultI was searching for a term in my repo. I double clicked in the result an I got the following message. I Have done this before. No idea what failed this time.
#!python
** Mercurial version (5.8.1). TortoiseHg version (5.8+5-e45c...I was searching for a term in my repo. I double clicked in the result an I got the following message. I Have done this before. No idea what failed this time.
#!python
** Mercurial version (5.8.1). TortoiseHg version (5.8+5-e45c1f60eb91)
** Command:
** CWD: /home/carlos
** Encoding: UTF-8
** Extensions loaded: convert, git (pygit2 N/A), mq, strip, tortoisehg.util.configitems
** Python version: 3.8.10 (default, Jun 2 2021, 10:49:15) [GCC 9.4.0]
** System: Linux pop-os 5.11.0-7614-generic #15~1622578982~20.04~383c0a9-Ubuntu SMP Wed Jun 2 00:57:14 UTC 2 x86_64
** Qt-5.15.2 PyQt-5.15.4 QScintilla-2.13.0
Traceback (most recent call last):
File "/home/carlos/thg/tortoisehg/hgqt/fileview.py", line 1124, in _onAnnotateFinished
data = util.pickle.loads(bytes(sess.readAll()))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 73: ordinal not in range(128)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5729thg5.8 crash report - py3 string issue with compress command2021-07-10T02:42:17Zalexraynethg5.8 crash report - py3 string issue with compress commandhallow, works with thg 5.8 on py3.8 win8.1
invokes compress history command with couple of revisions, and on "commit" button got this crash:
```
#!python
** Mercurial version (5.7.1). TortoiseHg version (5.8rc0+5-67b0f4a90460)...hallow, works with thg 5.8 on py3.8 win8.1
invokes compress history command with couple of revisions, and on "commit" button got this crash:
```
#!python
** Mercurial version (5.7.1). TortoiseHg version (5.8rc0+5-67b0f4a90460)
** Command: --nofork
** CWD: d:\projects\hg\thg\thg.work
** Encoding: cp1251
** Extensions loaded: absorb, amend, censor, closehead, commitextras, convert, evolve 10.3.1.dev, extdiff, fix, guestrepo, hggit 0.10.0 (dulwich 0.20.5), highlight, histedit, mq, patchbomb, rebase, record, remotenames, schemes, share, show, sparse, strip, topic 0.22.1.dev, tortoisehg.util.configitems, transplant
** Python version: 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=3, build=9600, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.10.8
Traceback (most recent call last):
File "D:\projects\hg\thg\thg.work\tortoisehg\hgqt\compress.py", line 124, in commit
revs = [c for c in self.repo.revs(b'%s::%s' % (base, tip)) if c != base]
TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'int'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5726cannot import name 'mergestate' from 'mercurial'2021-06-16T14:09:08Zpolearnikcannot import name 'mergestate' from 'mercurial'trying to update tortoisehg from 5.7.1 to 5.8. Downloaded archive, unpacked and run `sudo python3 setup.py install`/ it finished without any errors but on start it give me error cannot import name 'mergestate' from 'mercurial'trying to update tortoisehg from 5.7.1 to 5.8. Downloaded archive, unpacked and run `sudo python3 setup.py install`/ it finished without any errors but on start it give me error cannot import name 'mergestate' from 'mercurial'https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5725tortoisehg 5.8 (mercurial 5.8) crush2022-07-13T16:37:07ZDenistortoisehg 5.8 (mercurial 5.8) crush #!python
** Mercurial version (5.8). TortoiseHg version (5.8)
** Command: --nofork
** CWD: /home/dp
** Encoding: UTF-8
** Extensions loaded: tortoisehg.util.configitems
** Python version: 3.10.0b2 (default, J... #!python
** Mercurial version (5.8). TortoiseHg version (5.8)
** Command: --nofork
** CWD: /home/dp
** Encoding: UTF-8
** Extensions loaded: tortoisehg.util.configitems
** Python version: 3.10.0b2 (default, Jun 1 2021, 00:00:00) [GCC 11.1.1 20210531 (Red Hat 11.1.1-3)]
** System: Linux dp.landev.ru 5.13.0-0.rc5.20210611git929d931f2b40.42.fc35.x86_64 #1 SMP Fri Jun 11 20:53:26 UTC 2021 x86_64
** Qt-5.15.2 PyQt-5.15.0 QScintilla-2.11.5
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 589, in paint
self._drawEdges(painter, index, gnode, visibleend)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py", line 629, in _drawEdges
painter.drawLine(x1, y1, x2, y4)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5724revlog decompress error: Error -5 while decompressing data: incomplete or tru...2021-06-25T15:50:20ZEugenia Arambururevlog decompress error: Error -5 while decompressing data: incomplete or truncated stream```
#!python
** Mercurial version (5.5.1). TortoiseHg version (5.5.1)
** Command:
** CWD: C:\Windows\system32
** Encoding: cp1252
** Extensions loaded: mercurial_keyring, strip, mq, tortoisehg.util.configitems, ...```
#!python
** Mercurial version (5.5.1). TortoiseHg version (5.5.1)
** Command:
** CWD: C:\Windows\system32
** Encoding: cp1252
** Extensions loaded: mercurial_keyring, strip, mq, tortoisehg.util.configitems, rewriteCommit
** Python version: 2.7.17 (v2.7.17:c2f86d86e6, Oct 19 2019, 21:01:17) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.9.9 PyQt-5.13.2 QScintilla-2.10.8
Traceback (most recent call last):
File "tortoisehg\hgqt\repowidget.pyo", line 263, in _initView
File "tortoisehg\hgqt\repowidget.pyo", line 857, in _updateRepoViewForModel
File "tortoisehg\hgqt\repomodel.pyo", line 683, in defaultIndex
File "tortoisehg\hgqt\repomodel.pyo", line 700, in indexFromRev
File "tortoisehg\hgqt\repomodel.pyo", line 421, in _ensureBuilt
File "tortoisehg\hgqt\graph.pyo", line 964, in build_nodes
File "tortoisehg\hgqt\graph.pyo", line 604, in _iter_graphnodes
File "tortoisehg\hgqt\graph.pyo", line 364, in walk
File "mercurial\context.pyo", line 663, in branch
File "mercurial\util.pyo", line 1747, in __get__
File "mercurial\context.pyo", line 527, in _changeset
File "mercurial\changelog.pyo", line 500, in changelogrevision
File "mercurial\revlog.pyo", line 1863, in _revisiondata
File "mercurial\revlog.pyo", line 1932, in _rawtext
File "mercurial\revlog.pyo", line 1753, in _chunks
File "mercurial\revlog.pyo", line 2220, in decompress
RevlogError: revlog decompress error: Error -5 while decompressing data: incomplete or truncated stream
```
[bugreport.txt](/uploads/036f742f877cd2211c879850383011b4/bugreport.txt)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5723Cannot push when topic / evolve are enabled2022-08-04T14:31:10ZCharlieCCannot push when topic / evolve are enabledI'm also using Heptapod for my repos and, hence, topics to manage pull requests. However, TortoiseHg (5.8 on MacOS) using the system Mercurial with hg-evolve complains that the extensions are not installed:
```
*** failed to import exte...I'm also using Heptapod for my repos and, hence, topics to manage pull requests. However, TortoiseHg (5.8 on MacOS) using the system Mercurial with hg-evolve complains that the extensions are not installed:
```
*** failed to import extension evolve: No module named evolve
*** failed to import extension evole: No module named evole
*** failed to import extension topic: No module named topic
```
Works fine in the command line. I assume I'm doing something wrong but not sure what!https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5722Error while open repo2021-06-30T03:39:42Zsavemysoul382Error while open repo[bugreport.txt](/uploads/4ec98874fc375f2dd5e8ccb1eae98ec9/bugreport.txt)[bugreport.txt](/uploads/4ec98874fc375f2dd5e8ccb1eae98ec9/bugreport.txt)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5721"Visit our site" in 5.8's "About TortoiseHg" still points to BitBucket.io2023-08-14T01:46:39ZPandu POLUAN"Visit our site" in 5.8's "About TortoiseHg" still points to BitBucket.ioAs the title said, the link "You can visit our site here" in 5.8's Help > About TortoiseHg still points to https://tortoisehg.bitbucket.io/
I think it should now point to https://www.mercurial-scm.org/As the title said, the link "You can visit our site here" in 5.8's Help > About TortoiseHg still points to https://tortoisehg.bitbucket.io/
I think it should now point to https://www.mercurial-scm.org/https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5719TypeError in "Compress History" dialog2021-06-01T11:28:57ZArtalusTypeError in "Compress History" dialogIn "Compress History" RMB dialog, after you succesfully compressed changes in commits and click "Commit" button, THG displays this bug report:
#!python
** Mercurial version (5.8). TortoiseHg version (5.8+3-582e49bf29ae)
** ...In "Compress History" RMB dialog, after you succesfully compressed changes in commits and click "Commit" button, THG displays this bug report:
#!python
** Mercurial version (5.8). TortoiseHg version (5.8+3-582e49bf29ae)
** Command:
** CWD: /home/user
** Encoding: UTF-8
** Extensions loaded: clonebundles, extdiff, graphlog, histedit, largefiles, mq, purge, rebase, strip, tortoisehg.util.configitems
** Python version: 3.9.2 (default, Feb 20 2021, 18:40:11) [GCC 10.2.0]
** System: Linux hostname 5.4.105-1-MANJARO #1 SMP PREEMPT Thu Mar 11 18:27:58 UTC 2021 x86_64
** Qt-5.15.2 PyQt-5.15.4 QScintilla-2.12.1
Traceback (most recent call last):
File "/home/user/.local/lib/python3.9/site-packages/tortoisehg/hgqt/compress.py", line 124, in commit
revs = [c for c in self.repo.revs(b'%s::%s' % (base, tip)) if c != base]
TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'int'
I tinkered with the code a bit, and found this:
- in `tortoisehg/hgqt/repowidget.py` during `def compressRevisionsPair(self)` the variables `reva, revb = self._selectedIntRevisionsPair()` contain two integers like `19895, 19898` - numbers of revisions being compressed
- in `tortoisehg/hgqt/compress.py` these are stored into `self.revs = revs` during `class CompressDialog` construction
- in same class during `def commit(self)` they are used in format-string `b'%s::%s' % (base, tip)`, that apparently used to work with strings (likely revision hashes) in the past.
It seems like simply replacing `%s` with `%d` is enough to fix the issue - clicking on "Commit" now creates a commit dialog with pre-filled commit message.