thg issueshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues2022-04-21T03:45:21Zhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5760Linux, Ubuntu, Mint - No work :(2022-04-21T03:45:21ZadminLinux, Ubuntu, Mint - No work :(Recently I have been working on Linux Mint. For 5 years already. This is Debian. There are already a dozen employees like me. I am surprised that this product disappears under new versions of Linux. You are losing your fans. We pass to t...Recently I have been working on Linux Mint. For 5 years already. This is Debian. There are already a dozen employees like me. I am surprised that this product disappears under new versions of Linux. You are losing your fans. We pass to the GIT.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5759Suddenly stopped working in windows 10. Tried several versions of tortoisehg2021-12-04T18:18:57ZahomburgerSuddenly stopped working in windows 10. Tried several versions of tortoisehg #!python
** Mercurial version (6.0). TortoiseHg version (6.0rc0)
** Command: --nofork commit
** CWD: C:\LawBase12
** Encoding: cp1252
** Extensions loaded: tortoisehg.util.configitems
** Python version: 2.7.1... #!python
** Mercurial version (6.0). TortoiseHg version (6.0rc0)
** Command: --nofork commit
** CWD: C:\LawBase12
** Encoding: cp1252
** Extensions loaded: tortoisehg.util.configitems
** Python version: 2.7.18 (v2.7.18:8d21aa21f2, Apr 20 2020, 13:25:05) [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\status.pyo", line 755, in run
File "mercurial\localrepo.pyo", line 3296, in status
File "mercurial\context.pyo", line 433, in status
File "mercurial\context.pyo", line 1972, in _buildstatus
File "mercurial\context.pyo", line 1879, in _dirstatestatus
File "mercurial\context.pyo", line 1558, in __contains__
File "mercurial\dirstate.pyo", line 358, in get_entry
File "mercurial\dirstatemap.pyo", line 70, in get
File "mercurial\util.pyo", line 1767, in __get__
File "mercurial\dirstatemap.pyo", line 339, in _map
File "mercurial\dirstatemap.pyo", line 438, in read
File "mercurial\util.pyo", line 1842, in wrapper
RuntimeError: unknown state: `https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5758Wrong revision suggested in Update... dialog2022-07-24T03:25:27ZFernando NajeraWrong revision suggested in Update... dialogIn our daily usage of TortoiseHG (5.9.2) we are **often** getting a wrong revision suggested in the "Update..." dialog.
Since this dialog is one of the basic dialogs of TortoiseHG, _for us it is **critical** to be able to trust this dia...In our daily usage of TortoiseHG (5.9.2) we are **often** getting a wrong revision suggested in the "Update..." dialog.
Since this dialog is one of the basic dialogs of TortoiseHG, _for us it is **critical** to be able to trust this dialog_.
Note that this is probably what #5396 reported over two years ago, but there was no repro there.
We start with a very simple repository (see end of this ticket):
* two branches "b1" and "b2" coming from "default",
* the contents of the revisions are not important,
* the Filter Toolbar is opened, and the branch combobox shows "Show all"
* the working copy is currently in head of "b2"
![r1](/uploads/3603067788b8ead387a194347b2491b6/r1.png)
Next:
* use the combobox to set the branch to "default"
* right click on the revision 0, and open the menu "Update..."
* see that the "Update to" combobox is correct:
![r2](/uploads/cf6470bf4689f4ec828ffd2dbc4b1747/r2.png)
Next:
* use the combobox to set the branch to "b1"
* right click on the revision 1, and open the menu "Update..."
* see that the "Update to" combobox is **wrong**:
![r3](/uploads/209d67151b921c20fbc11ed531aee028/r3.png)
Repository:
```sh
hg init
echo. > file
hg add file
hg ci -m "test 1"
hg branch b1
echo. >> file
hg ci -m "test 2"
hg update default
hg branch b2
echo. >> file
hg ci -m "test 3"
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5757Retrieve Description of selected commit in custom Tools2021-11-11T15:47:05ZTom LietzeRetrieve Description of selected commit in custom ToolsIn TortoiseHg Workbench you can define custom Tools in the settings.
There you can specify the command to execute upon clicking the custom tool.
With variables like {REVID} you can retrieve information from the selected commit.
I was won...In TortoiseHg Workbench you can define custom Tools in the settings.
There you can specify the command to execute upon clicking the custom tool.
With variables like {REVID} you can retrieve information from the selected commit.
I was wondering if there is also a variable / a way to retrieve the 'Description' of the selected commit.
With Description I mean the first line of the commit-message.
If there is no possibility yet, it would be nice if there was one :)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5756python error during drag&drop2022-07-22T15:00:33ZFabio Parodipython error during drag&drop```
#!python
** Mercurial version (5.6.1). TortoiseHg version (5.6.1)
** Command:
** CWD: C:\Windows\system32
** Encoding: cp1252
** Extensions loaded: tortoisehg.util.configitems
** Python version: 2.7.17 (...```
#!python
** Mercurial version (5.6.1). TortoiseHg version (5.6.1)
** Command:
** CWD: C:\Windows\system32
** Encoding: cp1252
** Extensions loaded: tortoisehg.util.configitems
** 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\reporegistry.pyo", line 145, in dropEvent
File "tortoisehg\hgqt\reporegistry.pyo", line 110, in dropLocation
AttributeError: 'NoneType' object has no attribute 'isRepo'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/57555.9.3 download2021-11-11T16:30:00ZRaphaël Gomès5.9.3 downloadHi,
There does not appear to be a 5.9.3 release. Mercurial 5.9.3 brings a few important bugfixes compared to 5.9.2.
Anything I can do to help?Hi,
There does not appear to be a 5.9.3 release. Mercurial 5.9.3 brings a few important bugfixes compared to 5.9.2.
Anything I can do to help?https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5754Tortoise 5.9-1 crashes in Fedora 352021-11-24T13:14:37ZBen EngbersTortoise 5.9-1 crashes in Fedora 35A few days ago, I upgraded to Fedora 35. 'dnf info tortoisehg' tells me that tortoisehg-5.9-1.fc35.src.rpm is installed. I can start tortoisehg but when opening a repo, tortoisehg crashes. The crashreport is attached.
It seems that ther...A few days ago, I upgraded to Fedora 35. 'dnf info tortoisehg' tells me that tortoisehg-5.9-1.fc35.src.rpm is installed. I can start tortoisehg but when opening a repo, tortoisehg crashes. The crashreport is attached.
It seems that there are TypeErrors in "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repoview.py" line 630 but since I have no experience with Python, I don't know how to fix them.
Any help is appreciated.
Ben[Tortoise_Crashreport_20211109.txt](/uploads/58e71ff72e4941398448aa79759cf1bf/Tortoise_Crashreport_20211109.txt)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5753mercurial.error.LookupError: no node after a rebase in the GUI. Thg does not ...2021-11-04T14:05:10Zmuxatormercurial.error.LookupError: no node after a rebase in the GUI. Thg does not start now.Thg crashed on my face after doing a rebase in the GUI (I did not save the traceback).
Every time I try to start thg in that repo it now crashes with this error:
```
#!python
** Mercurial version (5.9.1+hg18.7970895a21cblocal20...Thg crashed on my face after doing a rebase in the GUI (I did not save the traceback).
Every time I try to start thg in that repo it now crashes with this error:
```
#!python
** Mercurial version (5.9.1+hg18.7970895a21cblocal20211102). TortoiseHg version (5.9.3+1-8a754513bedd)
** Command:
** CWD: /home/muxator/code/<project>
** Encoding: UTF-8
** Extensions loaded: amend, churn, extdiff, hggit 0.10.2 (dulwich 0.20.26), histedit, mq, patchbomb, rebase, show, strip, tortoisehg.util.configitems, uncommit
** Python version: 3.9.7 (default, Sep 10 2021, 14:59:43) [GCC 11.2.0]
** System: Linux Aspire 5.13.0-20-generic #20-Ubuntu SMP Fri Oct 15 14:21:35 UTC 2021 x86_64
** Qt-5.15.2 PyQt-5.15.4 QScintilla-2.11.6
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 809, in rev
return self.index.rev(node)
mercurial.error.RevlogError: RevlogError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/muxator/mercurial/thg/tortoisehg/hgqt/run.py", line 139, in dispatch
return _runcatch(u, args)
File "/home/muxator/mercurial/thg/tortoisehg/hgqt/run.py", line 343, in _runcatch
return runcommand(ui, args)
File "/home/muxator/mercurial/thg/tortoisehg/hgqt/run.py", line 437, in runcommand
return _runcommand(lui, options, cmd, d)
File "/home/muxator/mercurial/thg/tortoisehg/hgqt/run.py", line 489, in _runcommand
return checkargs()
File "/home/muxator/mercurial/thg/tortoisehg/hgqt/run.py", line 442, in checkargs
return cmdfunc()
File "/home/muxator/mercurial/thg/tortoisehg/hgqt/run.py", line 435, in <lambda>
d = lambda: qtrun(checkedfunc, ui, *args,
File "/home/muxator/mercurial/thg/tortoisehg/hgqt/qtapp.py", line 460, in __call__
dlg, reporoot = self._createdialog(dlgfunc, args, opts)
File "/home/muxator/mercurial/thg/tortoisehg/hgqt/qtapp.py", line 524, in _createdialog
return dlgfunc(self._ui, *args, **opts), reporoot
File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1886, in check
return func(*args, **kwargs)
File "/home/muxator/mercurial/thg/tortoisehg/hgqt/run.py", line 1059, in log
w = _workbench(ui, *pats, **opts)
File "/home/muxator/mercurial/thg/tortoisehg/hgqt/run.py", line 535, in _workbench
w.showRepo(root)
File "/home/muxator/mercurial/thg/tortoisehg/hgqt/workbench.py", line 744, in showRepo
self.openRepo(root, True)
File "/home/muxator/mercurial/thg/tortoisehg/hgqt/workbench.py", line 738, in openRepo
if not self.repoTabsWidget.openRepo(root, bundle):
File "/home/muxator/mercurial/thg/tortoisehg/hgqt/repotab.py", line 127, in openRepo
rw = self._createRepoWidget(root, bundle)
File "/home/muxator/mercurial/thg/tortoisehg/hgqt/repotab.py", line 406, in _createRepoWidget
rw = repowidget.RepoWidget(self._actionregistry, repoagent, self,
File "/home/muxator/mercurial/thg/tortoisehg/hgqt/repowidget.py", line 227, in __init__
self.setupUi()
File "/home/muxator/mercurial/thg/tortoisehg/hgqt/repowidget.py", line 259, in setupUi
self.filterbar = RepoFilterBar(self._repoagent, self)
File "/home/muxator/mercurial/thg/tortoisehg/hgqt/repofilter.py", line 264, in __init__
self.refresh()
File "/home/muxator/mercurial/thg/tortoisehg/hgqt/repofilter.py", line 554, in refresh
self._updateBranchFilter()
File "/home/muxator/mercurial/thg/tortoisehg/hgqt/repofilter.py", line 491, in _updateBranchFilter
branches = hglib.namedbranches(self._repo)
File "/home/muxator/mercurial/thg/tortoisehg/util/hglib.py", line 237, in namedbranches
branchmap = repo.branchmap()
File "/usr/lib/python3/dist-packages/mercurial/localrepo.py", line 2133, in branchmap
return self._branchcaches[self]
File "/usr/lib/python3/dist-packages/mercurial/branchmap.py", line 72, in __getitem__
self.updatecache(repo)
File "/usr/lib/python3/dist-packages/mercurial/branchmap.py", line 105, in updatecache
bcache.update(repo, revs)
File "/usr/lib/python3/dist-packages/mercurial/branchmap.py", line 502, in update
bheadset = {cl.rev(node) for node in bheads}
File "/usr/lib/python3/dist-packages/mercurial/branchmap.py", line 502, in <setcomp>
bheadset = {cl.rev(node) for node in bheads}
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 819, in rev
raise error.LookupError(node, self.display_id, _(b'no node'))
mercurial.error.LookupError: 00changelog@1c85a63a22e59eef8fb6e2abe3e93866d51b36dc: no node
```
`hg verify` does not show anything surprising:
```
$ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
checked 345 changesets with 1077 changes to 260 files
```https://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/5750Error dragging repository in registry2021-10-26T15:41:51Zphp4fanError dragging repository in registryI dragged and dropped a repository in the Registry panel and I got this error:
```
#!python
** Mercurial version (5.8.1). TortoiseHg version (5.8.1+14-ae5c8b95d2ae)
** Command: --nofork
** CWD: /home/teo/Documents/lavor...I dragged and dropped a repository in the Registry panel and I got this error:
```
#!python
** Mercurial version (5.8.1). TortoiseHg version (5.8.1+14-ae5c8b95d2ae)
** Command: --nofork
** CWD: /home/teo/Documents/lavoro/smb/xpdev_hg
** Encoding: UTF-8
** Extensions loaded: mercurial_keyring, tortoisehg.util.configitems
** Python version: 3.8.12 (default, Aug 31 2021, 01:23:42) [GCC]
** System: Linux lenovoteo 5.14.9-1-default #1 SMP Fri Oct 1 07:22:19 UTC 2021 (d0ace7f) x86_64
** Qt-5.15.1 PyQt-5.15.1 QScintilla-2.11.5
Traceback (most recent call last):
File "/home/teo/programmi/thg/tortoisehg/hgqt/repotreemodel.py", line 149, in parent
return self.createIndex(parentItem.row(), 0, parentItem)
AttributeError: 'NoneType' object has no attribute 'row'
Traceback (most recent call last):
File "/home/teo/programmi/thg/tortoisehg/hgqt/repotreemodel.py", line 149, in parent
return self.createIndex(parentItem.row(), 0, parentItem)
AttributeError: 'NoneType' object has no attribute 'row'
```
This looks like a different error than https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5590 (at least superficially without knowing anything)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5749Drag n drop repository from registry to right panel removes it from registry,...2021-11-04T13:29:26Zphp4fanDrag n drop repository from registry to right panel removes it from registry, and without warning!Steps to reproduce:
1. Click on an item (i.e. a repository) in the "Repository Registry" left panel. Hold the mouse button pressed
2. Drag it to the right into the top-right panel where the commit history of currently open repository is...Steps to reproduce:
1. Click on an item (i.e. a repository) in the "Repository Registry" left panel. Hold the mouse button pressed
2. Drag it to the right into the top-right panel where the commit history of currently open repository is displayed (if any)
3. Drop it there
**Expected result:**
Two possible outcomes are acceptable:
A. Nothing happens (ideally with a "bounce" animation to visualize that the action of dragging has failed): you just cannot drag a repository from the registry to there: it makes no sense.
B. Opens the registry. That is, dragging a repository from the registry to the current repository panel would mean to open it. BUT obviously it shouldn't be removed from the registry. Nobody in their right mind would expect that, let alone without a confirmation prompt.
**Actual result**
The repository is opened AND removed permanently, irreversibly, from the registry without a warning and without asking for confirmation. Boom! Gone forever. Just like that.
This is nonsense. I understand that dragging in UIs often visualizes the act moving, and when you move something from A to B, it is deleted from A to put it into B, but that only makes sense when A and B are "comparable" kinds of places (e.g. two folders in the filesystem), and when the action can be reversed by dragging from B to A. You cannot take the "moving" metaphore literally when opening something. You don't "move" it from the place where it's stored permanently, to an ephimeral, volatile workspace where it is currently open, where it ceases to exist when you close it. Only a psycopath would think like that.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/5747Unsafe reverting UI2021-10-04T12:40:55ZCraftCoderrUnsafe reverting UII want to re-check which files would be reverted when I confirm discarding changes in revert dialog. I think it's unsafe to confirm something that does not visible near the "kill this" button.
![thg](/uploads/b0c3f4a3995400e0a95fb7e8652...I want to re-check which files would be reverted when I confirm discarding changes in revert dialog. I think it's unsafe to confirm something that does not visible near the "kill this" button.
![thg](/uploads/b0c3f4a3995400e0a95fb7e865217609/thg.png)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/5743Cannot use local hg install2021-09-08T15:22:09ZRaphaël GomèsCannot use local hg installFor some reason, `pip install --global-option="--rust"` does not work, and I haven't found a way yet of installing mercurial with Rust with pip. So I thought I'd use `HGPATH=/directory/where/hg/source/is ./thg`, but I'm getting:
```
Tra...For some reason, `pip install --global-option="--rust"` does not work, and I haven't found a way yet of installing mercurial with Rust with pip. So I thought I'd use `HGPATH=/directory/where/hg/source/is ./thg`, but I'm getting:
```
Traceback (most recent call last):
File "./thg", line 52, in <module>
from setup import build_ui
File "/home/alphare/workspace/octobus/tortoisehg/thg/setup.py", line 30, in <module>
from i18n.msgfmt import Msgfmt
File "/home/alphare/workspace/octobus/tortoisehg/thg/i18n/msgfmt.py", line 39, in <module>
from mercurial import (
ModuleNotFoundError: No module named 'mercurial'
```
Because `build_ui` somehow calls mercurial before it can be set. And even if I put the `sys.path` manipulation before the `build_ui` business, I get another error about `mercurial/__version__.py` doesn't existing, which makes me think this whole `HGPATH=` thing does not work anymore.
The reason why I need a Rust version is because my mercurial-devel checkout uses the Rust nodemap, which adds a requirement.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/5741FilteredIndexError while rebasing shown revision2021-09-14T13:44:49ZSimon SapinFilteredIndexError while rebasing shown revisionSteps to reproduce:
* In thg, click on a revision to show its details (full message, diff, etc)
* Separately, in a terminal, rebase that revision
Expected result:
* The view automatically changes to the rebased revision, the successor...Steps to reproduce:
* In thg, click on a revision to show its details (full message, diff, etc)
* Separately, in a terminal, rebase that revision
Expected result:
* The view automatically changes to the rebased revision, the successor of the initial one.
Actual result:
* The view automatically changes to the rebased revision, and a "TortoiseHg Bug Report" window appears that shows the text below with a Python exception `mercurial.error.FilteredIndexError: 55081`. This 55081 is the initial revision that was rebased. I assume that rebasing marks it as obsolete and therefore as to filter out of "normal" operations.
```
#!python
** Mercurial version (5.8.1). TortoiseHg version (5.8.1)
** Command:
** CWD: /home/simon/projects/hg
** Encoding: UTF-8
** Extensions loaded: absorb, convert, evolve 10.3.3, histedit, patchbomb, phabricator, purge, rebase, share, strip, topic 0.22.3, tortoisehg.util.configitems
** Python version: 3.9.6 (default, Jun 30 2021, 10:22:16) [GCC 11.1.0]
** System: Linux kangae 5.13.9-arch1-1 #1 SMP PREEMPT Sun, 08 Aug 2021 11:25:35 +0000 x86_64
** Qt-5.15.2 PyQt-5.15.4 QScintilla-2.13.0
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/mercurial/localrepo.py", line 1837, in __getitem__
node = self.changelog.node(changeid)
File "/usr/lib/python3.9/site-packages/mercurial/repoview.py", line 343, in node
raise error.FilteredIndexError(rev)
mercurial.error.FilteredIndexError: 55081
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/tortoisehg/hgqt/repowidget.py", line 1053, in repositoryChanged
self._updateNamedActions()
File "/usr/lib/python3.9/site-packages/tortoisehg/hgqt/repowidget.py", line 1540, in _updateNamedActions
selattrs = self._selectionAttributes()
File "/usr/lib/python3.9/site-packages/tortoisehg/hgqt/repowidget.py", line 1220, in _selectionAttributes
ctxs = [self.repo[rev] for rev in revisions]
File "/usr/lib/python3.9/site-packages/tortoisehg/hgqt/repowidget.py", line 1220, in <listcomp>
ctxs = [self.repo[rev] for rev in revisions]
File "/usr/lib/python3.9/site-packages/tortoisehg/hgqt/thgrepo.py", line 821, in __getitem__
changectx = super(thgrepository, self).__getitem__(changeid)
File "/usr/lib/python3.9/site-packages/mercurial/localrepo.py", line 1877, in __getitem__
raise error.FilteredRepoLookupError(
mercurial.error.FilteredRepoLookupError: b"filtered revision '55081'"
```