thg issueshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues2022-10-26T06:22:09Zhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5841crash report: run on python 3.102022-10-26T06:22:09Zalexraynecrash report: run on python 3.10Hallow: this happens on my ubuntu with python 3.10
```python
** Mercurial version (6.2.3). TortoiseHg version (6.2.2+4-49a342ca4313)
** Command: --nofork
** CWD: /home/alexrayne/thg.hg
** Encoding: UTF-8
** Extensions loaded: absorb, c...Hallow: this happens on my ubuntu with python 3.10
```python
** Mercurial version (6.2.3). TortoiseHg version (6.2.2+4-49a342ca4313)
** Command: --nofork
** CWD: /home/alexrayne/thg.hg
** Encoding: UTF-8
** Extensions loaded: absorb, censor, commitextras, convert, eol, fix, hggit 1.0.0 (dulwich 0.20.46), highlight, histedit, mq, narrow, patchbomb, rebase, record, share, show, split, strip, tortoisehg.util.configitems, transplant, uncommit
** Python version: 3.10.4 (main, Jun 29 2022, 12:14:53) [GCC 11.2.0]
** System: Linux alexrayne-VB 5.15.0-47-generic #51-Ubuntu SMP Thu Aug 11 07:51:15 UTC 2022 x86_64
** Qt-5.13.0 PyQt-5.13.0 QScintilla-2.10.8
Traceback (most recent call last):
File "/home/alexrayne/thg.hg/tortoisehg/hgqt/docklog.py", line 594, in _updateTitleBarStyle
if area & (Qt.DockWidgetArea.TopDockWidgetArea | Qt.DockWidgetArea.BottomDockWidgetArea):
TypeError: unsupported operand type(s) for &: 'DockWidgetArea' and 'DockWidgetAreas'
Traceback (most recent call last):
File "/home/alexrayne/thg.hg/tortoisehg/hgqt/docklog.py", line 594, in _updateTitleBarStyle
if area & (Qt.DockWidgetArea.TopDockWidgetArea | Qt.DockWidgetArea.BottomDockWidgetArea):
TypeError: unsupported operand type(s) for &: 'DockWidgetArea' and 'DockWidgetAreas'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5840Checkbox not scaled in high DPI on Windows 10 / 112023-04-29T05:19:46Zhuyi7Checkbox not scaled in high DPI on Windows 10 / 11![image](/uploads/461bfc3ca5a355d59c8fd90f5fc91152/image.png)
The checkbox besides the text label 'Changeset' is not scaled properly on high DPI settings.
Tested on latest TortoiseHg version 6.2.3 with 200% scaled DPI setting.![image](/uploads/461bfc3ca5a355d59c8fd90f5fc91152/image.png)
The checkbox besides the text label 'Changeset' is not scaled properly on high DPI settings.
Tested on latest TortoiseHg version 6.2.3 with 200% scaled DPI setting.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5839Silently slipping platform support ?2022-10-18T15:44:46ZDietmar-HJSilently slipping platform support ?Hi,
I'm sadly missing any hint or official announcement about Windows 7 not being supported anymore with releases 6.2.x of Mercurial/TortoiseHG. Even the installer doesn't mention anything, but leaves a non-functional tool-set which only...Hi,
I'm sadly missing any hint or official announcement about Windows 7 not being supported anymore with releases 6.2.x of Mercurial/TortoiseHG. Even the installer doesn't mention anything, but leaves a non-functional tool-set which only complains about a missing DLL.
After at first suspecting a corrupted system it took me some hours to find out about Python 3.9 being the culprit. So everybody running mercurial on Windows 7 should be advised to stay with Mercurial/TortoiseHG release 6.1.x.
I didn't check out if a manual pre-install of Python 3.8 could be a workaround. Perhaps the TortoiseHg installer is silently updating Python to 3.9 ?
As a mere (and happy) user of Mercurial/TortoiseHG I would be even more happy to learn of possibly changed requirements before having started any update processings.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5838About TortoiseHg: "You can visit our site here" link transforms into download...2022-11-04T17:24:37ZPhilippe CloutierAbout TortoiseHg: "You can visit our site here" link transforms into download link_Help_ -> _About TortoiseHg_ bring up the _About_ dialog, which has a link titled "You can visit our site here". This link transforms into a "A new version of TortoiseHg (x.y.z) is available for download!" when a new version is indeed av..._Help_ -> _About TortoiseHg_ bring up the _About_ dialog, which has a link titled "You can visit our site here". This link transforms into a "A new version of TortoiseHg (x.y.z) is available for download!" when a new version is indeed available after a few seconds, when TortoiseHg completes its update check.
This means a user may click the link to visit the website and end up actually downloading a new version if the timing is wrong. Moreover, this removes the convenience of the link to visit the website when TortoiseHg is not up-to-date. Yet, visiting the website is particularly useful when a new version is available to access release notes and determine whether an upgrade is relevant.
![image](/uploads/33b99acf395e1cb0c93f6a5ba2b51fa9/image.png)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5837Unknown compression type '{'2022-10-12T14:28:41ZhellandmUnknown compression type '{'Hello, please see attached file for bug report. Please help me solve this. ![Fault](/uploads/e52f19d0608f196e3df5548186851caa/Fault.jpg)Hello, please see attached file for bug report. Please help me solve this. ![Fault](/uploads/e52f19d0608f196e3df5548186851caa/Fault.jpg)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5836TortoiseHg 6.2.3 - Windows7 fix2022-10-20T07:16:49ZSergey KovalevTortoiseHg 6.2.3 - Windows7 fixpython39.dll do not work under windows 7 it requires file api-ms-win-core-path-l1-1-0.dll
with 3 functions [PathCchSkipRoot](https://learn.microsoft.com/en-us/windows/win32/api/pathcch/nf-pathcch-pathcchskiproot), [PathCchCanonicalizeEx]...python39.dll do not work under windows 7 it requires file api-ms-win-core-path-l1-1-0.dll
with 3 functions [PathCchSkipRoot](https://learn.microsoft.com/en-us/windows/win32/api/pathcch/nf-pathcch-pathcchskiproot), [PathCchCanonicalizeEx](https://learn.microsoft.com/en-us/windows/win32/api/pathcch/nf-pathcch-pathcchcanonicalizeex), [PathCchCombineEx](https://learn.microsoft.com/en-us/windows/win32/api/pathcch/nf-pathcch-pathcchcombineex)
![thgw](/uploads/9a5243ed8b78edde34cb087e06479f0a/thgw.png)
Here link to fix that can fix this issue:
https://github.com/nalexandru/api-ms-win-core-path-HACK/releases
just place api-ms-win-core-path-l1-1-0.dll near python39.dllhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5835Unable to open Settings dialog2022-10-10T17:48:21ZalguryanowUnable to open Settings dialogWhen I try to open Settings dialog an error is ocurred with the following text:
```python
** Mercurial version (6.2.2). TortoiseHg version (6.2.2)
** Command: --nofork workbench
** CWD: C:\_projects\MOLK\src-2022.09\TMS\CANInterface
*...When I try to open Settings dialog an error is ocurred with the following text:
```python
** Mercurial version (6.2.2). TortoiseHg version (6.2.2)
** Command: --nofork workbench
** CWD: C:\_projects\MOLK\src-2022.09\TMS\CANInterface
** Encoding: cp1251
** Extensions loaded: strip, tortoisehg.util.configitems
** Python version: 3.9.12 (tags/v3.9.12:b28265d, Mar 23 2022, 23:52:46) [MSC v.1929 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.15.2 PyQt-5.15.7 QScintilla-2.13.3
Traceback (most recent call last):
File "tortoisehg\hgqt\workbench.pyc", line 1217, in editSettings
File "tortoisehg\hgqt\settings.pyc", line 1351, in __init__
File "tortoisehg\hgqt\settings.pyc", line 1334, in username
File "mercurial\windows.pyc", line 584, in username
File "getpass.pyc", line 168, in getuser
ModuleNotFoundError: No module named 'pwd'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5834feature patch: choice prompt abot files now can remember choices for similar ...2022-10-05T04:52:05Zalexraynefeature patch: choice prompt abot files now can remember choices for similar pathesHallow!
here provided patch with feature on InteractiveUiHandler - ui handle for mercurial prompts for a choice.
If choice recognises for a file, it takes that file path, and decorate messagebox with checkbox question about
remember ch...Hallow!
here provided patch with feature on InteractiveUiHandler - ui handle for mercurial prompts for a choice.
If choice recognises for a file, it takes that file path, and decorate messagebox with checkbox question about
remember choice. For remembering proposes list of pathes on specified file: an exact-mutch path, and recursve-mutch pathes
If selected path and checked remember - later prompts on that path automaticaly answer with remembed choice.
this looks as:
![image](/uploads/273b223bf69769124c0173515d65f034/image.png)
PS: 3rd revision of a patch:
[ui-choice-remember-3.patch](/uploads/8d32482e06eda7029747673c19505c63/ui-choice-remember-3.patch)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5833Visual Diff not working with external diff tool2023-08-22T04:15:04ZPaul LumbVisual Diff not working with external diff toolTortoiseHg 6.2.2
I am attempting to use an external diff tool but find it is not being called from the Visual Diffs window
I have the following defined in .hgrc.
````
[diff-patterns]
**.foo = testtool
[merge-tools]
testtool.executabl...TortoiseHg 6.2.2
I am attempting to use an external diff tool but find it is not being called from the Visual Diffs window
I have the following defined in .hgrc.
````
[diff-patterns]
**.foo = testtool
[merge-tools]
testtool.executable = c:\tmp\test.bat
testtool.diffargs = $child $parent
testtool.gui = False
testtool.priority = 1
````
File c:\tmp\test.bat contains
````
echo testtool called with %1 and %2 > c:\tmp\test.log
````
which should record the call to the external tool into test.log.
I also have a test repository in ````c:\tmp\hgtest```` with two files a.foo and b.foo and a couple of revisions which are bookmarked as ````bm1```` and ````bm2````.
Executing
````thg -R "c:\tmp\hgtest" vdiff -r bm1 -r bm2````
starts the Visual Diff window showing a.foo and b.foo and also shows in Select Tools that I can use my external ````testtool```` for the comparison
![Screenshot_2022-09-30_181334](/uploads/fb1267b2505ded267133fc77e1813b05/Screenshot_2022-09-30_181334.jpg)
However when I double-click on one of the filenames nothing happens and the external testtool is not invoked. No error appears.
By comparison if in the Select Tool widget I choose one of the internal tools then that tool will be opened. It just appears to be external tools which will not run.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5832Three-way diff button shows just a two-way diff2022-09-28T23:07:02Zphp4fanThree-way diff button shows just a two-way diffI did a merge between two branches.
All conflicts were resolved automatically, but I wanted to review and very probably change how some of them were resolved, because there were changes from one branch that I wanted to discard.
So I di...I did a merge between two branches.
All conflicts were resolved automatically, but I wanted to review and very probably change how some of them were resolved, because there were changes from one branch that I wanted to discard.
So I did:
- Right-click on the other revision -> Merge to local
- clicked next
- clicked "Review"
- selected one of the files in the list below, and clicked **"3-way diff"**
And it opened up this window, which is not a 3-way diff, but rather a simple diff, between god-knows which 2 versions of the file (it would seem it's on the left side the merged file, and on the right side the "other" revision, hence the local version would be missing).
![image](/uploads/ba492f2a3825b050699f0eddd4f32062/image.png)
I don't know whether or not this has to do with the fact that I'm trying to edit a merge where all the conflicts were automatically resolved, but either way this is stupid.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5831Every commit reports about this issue2023-03-27T13:47:10ZIllia LykhoshvaiEvery commit reports about this issue```python
** Mercurial version (6.2.2). TortoiseHg version (6.2.2)
** Command: --nofork workbench
** CWD: C:\Users\Илья\Desktop
** Encoding: cp1251
** Extensions loaded: strip, tortoisehg.util.configitems
** Python version: 3.9.12 (tags...```python
** Mercurial version (6.2.2). TortoiseHg version (6.2.2)
** Command: --nofork workbench
** CWD: C:\Users\Илья\Desktop
** Encoding: cp1251
** Extensions loaded: strip, tortoisehg.util.configitems
** Python version: 3.9.12 (tags/v3.9.12:b28265d, Mar 23 2022, 23:52:46) [MSC v.1929 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.15.2 PyQt-5.15.7 QScintilla-2.13.3
Traceback (most recent call last):
File "tortoisehg\hgqt\commit.pyc", line 1270, in commandFinished
File "tortoisehg\util\shlib.pyc", line 50, in shell_notify
File "os.pyc", line 824, in fsdecode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc8 in position 9: invalid continuation byte
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5830First try and throw that error Mac ARM M1 Pro2022-10-03T15:32:22ZM RFirst try and throw that error Mac ARM M1 ProI'm very new with TortoiseHG and when I run app, throw that error.
I'm using Python 3.9.6 (installed with home-brew) and Python 2.7
I don't know how to handle that error.
```python
** Mercurial version (6.2.2). TortoiseHg version (6.2...I'm very new with TortoiseHG and when I run app, throw that error.
I'm using Python 3.9.6 (installed with home-brew) and Python 2.7
I don't know how to handle that error.
```python
** Mercurial version (6.2.2). TortoiseHg version (6.2.2)
** Command:
** CWD: /
** Encoding: utf-8
** Extensions loaded:
** Python version: 3.9.9 (v3.9.9:ccb0e6a345, Nov 15 2021, 13:06:05) [Clang 13.0.0 (clang-1300.0.29.3)]
** System: Darwin MacBook-Pro.local 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:19:52 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T6000 x86_64
** Qt-5.15.2 PyQt-5.15.6 QScintilla-2.13.1
Traceback (most recent call last):
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/tortoisehg/hgqt/run.py", line 133, in dispatch
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/mercurial/ui.py", line 318, in load
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/mercurial/ui.py", line 464, in readconfig
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/mercurial/ui.py", line 474, in _readconfig
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/mercurial/config.py", line 255, in read
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/mercurial/config.py", line 234, in parse
mercurial.error.ConfigError: {\rtf1\ansi\ansicpg1252\cocoartf2639
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5829new branch commit issues2022-09-27T02:10:03ZVarshini Medipallinew branch commit issues```python
** Mercurial version (6.2.2). TortoiseHg version (6.2.2)
** Command:
** CWD: C:\Windows
** Encoding: cp1252
** Extensions loaded: acl, fsmonitor, strip, tortoisehg.util.configitems
** Python version: 3.9.12 (tags/v3.9.12:b282...```python
** Mercurial version (6.2.2). TortoiseHg version (6.2.2)
** Command:
** CWD: C:\Windows
** Encoding: cp1252
** Extensions loaded: acl, fsmonitor, strip, tortoisehg.util.configitems
** Python version: 3.9.12 (tags/v3.9.12:b28265d, Mar 23 2022, 23:52:46) [MSC v.1929 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.15.2 PyQt-5.15.7 QScintilla-2.13.3
Traceback (most recent call last):
File "tortoisehg\hgqt\commit.pyc", line 668, in mqPerformAction
File "tortoisehg\hgqt\commit.pyc", line 1095, in commit
File "tortoisehg\hgqt\commit.pyc", line 630, in getBranchCommandLine
File "tortoisehg\util\hglib.pyc", line 170, in fromunicode
File "encodings\cp1252.pyc", line 12, in encode
UnicodeEncodeError: 'charmap' codec can't encode characters in position 10-11: character maps to <undefined>
```
[bugreport.txt](/uploads/0bfe553e3359ad9e90d8acf192f8c49b/bugreport.txt)
am attaching the bug report.txt. I am not able to commit a new branchhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5828Issue in multi-user environment2022-09-23T02:56:10ZChris OltonIssue in multi-user environmentWe are in a Windows Server 2016 environment and we are getting the attached error when we launch. It was just one of us, the other owned the file mentioned in the message, but since I change permissions so no one could access it, we both...We are in a Windows Server 2016 environment and we are getting the attached error when we launch. It was just one of us, the other owned the file mentioned in the message, but since I change permissions so no one could access it, we both get the error on loading workbench. Either way, I am hoping TortoiseHg was meant to be used in a multi-user environment as well as single.
TortoiseHg is 2.6.2 64-bit.
![image](/uploads/2129a17d3dd44fdd542ac142fdd6bf84/image.png)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5827TortoiseHg Error since 6.2 on macOS M2: Python ImportError: python3.9/PyQt5/Q...2022-10-08T03:34:18ZChris PetersonTortoiseHg Error since 6.2 on macOS M2: Python ImportError: python3.9/PyQt5/QtCore.abi3.so incompatible architecture (have (x86_64), need (arm64e))When I try to run TortoiseHg version 6.2 on a new M2 (ARM64) MacBook Air running macOS Monterey 12.5 (21G72), I get the following error dialog:
![image](/uploads/3185b376c238adf6545ceebd2997c238/image.png)
In the console app, I see a b...When I try to run TortoiseHg version 6.2 on a new M2 (ARM64) MacBook Air running macOS Monterey 12.5 (21G72), I get the following error dialog:
![image](/uploads/3185b376c238adf6545ceebd2997c238/image.png)
In the console app, I see a bunch of sandbox errors about python 3.9 .so files. This error is a regression in TortoiseHg version 6.2. Version 6.1.3 works fine.
```
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/zlib.cpython-39-darwin.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/_heapq.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/_ctypes.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/_struct.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/_pickle.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/_socket.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/math.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/select.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/array.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/grp.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/_posixsubprocess.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/_opcode.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/binascii.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/_bisect.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/_random.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/_sha512.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/_datetime.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/_ssl.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/_hashlib.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/_blake2.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/_bz2.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/_lzma.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/_scproxy.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/_json.so
kernel Sandbox: logd_helper(2401) deny(1) file-read-data /Applications/TortoiseHg.app/Contents/Resources/lib/python3.9/lib-dynload/_queue.so
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5826Fail mercurialapi and qt_manifestmodel tests with python 3.112022-11-17T15:01:14ZSergey TorokhovFail mercurialapi and qt_manifestmodel tests with python 3.11While running Tortoisehg 6.2.x tests with Python 3.11 (for Gentoo Linux packaging) I encountered that `mercurialapi` and `qt_manifestmodel` tests are failed (see the tests log below).
The failures of `tests/mercurialapi_test.py` tests a...While running Tortoisehg 6.2.x tests with Python 3.11 (for Gentoo Linux packaging) I encountered that `mercurialapi` and `qt_manifestmodel` tests are failed (see the tests log below).
The failures of `tests/mercurialapi_test.py` tests are due to removing of `getargspec` function from `inspect` module (deprecated sinse Python 3.10). This seems could be fixed just by replacing `getargspec` with `getfullargspec` function that available since Pyhton 3.0 (or with `signature` function - since Python 3.3). Both replacements solve the problem with `mercurialapi` tests.
Sorry, I have no idea about quick fix 3 tests failures in `tests/qt_manifestmodel_test.py` tests.
The failure tests log:
```
__________________________ test_same_argspec[_writenobuf-_writenobuf] ___________________
f = <function ui._writenobuf at 0x7fc3a8a047c0>, g = <function _extenduiclass.<locals>.pipeui._writenobuf at 0x7fc3a87b8860>
def test_same_argspec(f, g):
> fa, ga = inspect.getargspec(f), inspect.getargspec(g)
E AttributeError: module 'inspect' has no attribute 'getargspec'
tests/mercurialapi_test.py:8: AttributeError
_________________________________ test_same_argspec[getpass-getpass] ____________________
f = <function ui.getpass at 0x7fc3a8a05620>, g = <function _extenduiclass.<locals>.pipeui.getpass at 0x7fc3a87b8ea0>
def test_same_argspec(f, g):
> fa, ga = inspect.getargspec(f), inspect.getargspec(g)
E AttributeError: module 'inspect' has no attribute 'getargspec'
tests/mercurialapi_test.py:8: AttributeError
__________________________ test_same_argspec[label-label] ______________________________
f = <function ui.label at 0x7fc3a8a060c0>, g = <function _extenduiclass.<locals>.pipeui.label at 0x7fc3a87b9080>
def test_same_argspec(f, g):
> fa, ga = inspect.getargspec(f), inspect.getargspec(g)
E AttributeError: module 'inspect' has no attribute 'getargspec'
tests/mercurialapi_test.py:8: AttributeError
_________________________ test_same_argspec[makeprogress-makeprogress] __________________
f = <function ui.makeprogress at 0x7fc3a8a05e40>, g = <function _extenduiclass.<locals>.pipeui.makeprogress at 0x7fc3a87b8fe0>
def test_same_argspec(f, g):
> fa, ga = inspect.getargspec(f), inspect.getargspec(g)
E AttributeError: module 'inspect' has no attribute 'getargspec'
tests/mercurialapi_test.py:8: AttributeError
_________________________ test_same_argspec[prompt-prompt] ________________________________
f = <function ui.prompt at 0x7fc3a8a053a0>, g = <function _extenduiclass.<locals>.pipeui.prompt at 0x7fc3a87b87c0>
def test_same_argspec(f, g):
> fa, ga = inspect.getargspec(f), inspect.getargspec(g)
E AttributeError: module 'inspect' has no attribute 'getargspec'
tests/mercurialapi_test.py:8: AttributeError
______________________ test_same_argspec[promptchoice-promptchoice] _______________________
f = <function ui.promptchoice at 0x7fc3a8a05580>, g = <function _extenduiclass.<locals>.pipeui.promptchoice at 0x7fc3a87b8e00>
def test_same_argspec(f, g):
> fa, ga = inspect.getargspec(f), inspect.getargspec(g)
E AttributeError: module 'inspect' has no attribute 'getargspec'
tests/mercurialapi_test.py:8: AttributeError
______________________ ManifestModelTest.test_name_filter ________________________
self = <qt_manifestmodel_test.ManifestModelTest testMethod=test_name_filter>
def test_name_filter(self):
m = self.new_model(0)
m.setNameFilter('ax')
self.assertFalse(m.indexFromPath('bar').isValid())
> self.assertTrue(m.indexFromPath('baz/bax').isValid())
E AssertionError: False is not true
tests/qt_manifestmodel_test.py:383: AssertionError
_______________________ ManifestModelTest.test_name_filter_empty_subrepo __________
self = <qt_manifestmodel_test.ManifestModelTest testMethod=test_name_filter_empty_subrepo>
def test_name_filter_empty_subrepo(self):
m = self.new_model(2)
m.setNameFilter('sub')
> self.assertTrue(m.indexFromPath('sub').isValid())
E AssertionError: False is not true
tests/qt_manifestmodel_test.py:421: AssertionError
____________________________ ManifestModelPatchTest.test_name_filter _____________________________
self = <qt_manifestmodel_test.ManifestModelPatchTest testMethod=test_name_filter>
def test_name_filter(self):
m = self.new_model(b'patch0.diff')
m.setNameFilter('bar')
> self.assertEqual(['bar'], alldata(m))
E AssertionError: Lists differ: ['bar'] != []
E
E First list contains 1 additional elements.
E First extra element 0:
E 'bar'
E
E - ['bar']
E + []
tests/qt_manifestmodel_test.py:551: AssertionError
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5825CERTIFICATE_VERIFY_FAILED since 6.2.12022-10-08T03:34:18ZStefano M.CERTIFICATE_VERIFY_FAILED since 6.2.1Since I installed TortoiseHG 6.2.1, x64 on Windows, when I try to pull/push to our server, I get the error:
'''
URLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)
'...Since I installed TortoiseHG 6.2.1, x64 on Windows, when I try to pull/push to our server, I get the error:
'''
URLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)
'''
The behavior is similar to what is present in the issue #5745.
I've tried (from command line):
```
> hg debugssl https://<ourserver>.com
checking the certificate chain for <ourserver>.com
full certificate chain is available
```
And (from a repo that was working):
```
> hg incoming
(the full certificate chain may not be available locally; see "hg help debugssl")
abortito: errore: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)
```
I've tried also a virtualenv (python 3.10) with pip install mercurial and that one works as expected.
Reverting to TortoiseHg 6.1.3 works as expected.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5823Weird issue when pushing changes2022-08-06T04:25:54ZCharlieCWeird issue when pushing changesThis is with TortoiseHg 6.2 (from MacPorts) on MacOS.
As I'm now using system installs for everything I hope this is not related to my local setup.
NB quite a few URLs, including in the log need updating to the projects new home.
This...This is with TortoiseHg 6.2 (from MacPorts) on MacOS.
As I'm now using system installs for everything I hope this is not related to my local setup.
NB quite a few URLs, including in the log need updating to the projects new home.
This is the rather long traceback:
```python
% hg --hidden commit --verbose "--message=Merge with 3.1" "--user=Charlie Clark <charlie.clark@clark-consulting.eu>"
committing files:
doc/changes.rst
openpyxl/comments/shape_writer.py
openpyxl/drawing/drawing.py
openpyxl/drawing/tests/test_drawing.py
openpyxl/styles/fills.py
openpyxl/utils/units.py
openpyxl/workbook/tests/test_workbook.py
openpyxl/workbook/workbook.py
tox.ini
committing manifest
committing changelog
committed changeset 9427:35fd80517960
[command completed successfully Thu Aug 4 16:10:53 2022]
% hg --hidden push ssh://hg@foss.heptapod.net/openpyxl/openpyxl
pushing to ssh://hg@foss.heptapod.net/openpyxl/openpyxl
searching for changes
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 3.10.6 (main, Aug 3 2022, 03:52:09) [Clang 11.0.3 (clang-1103.0.32.62)]
** Mercurial Distributed SCM (version 6.2.1)
** Extensions loaded: evolve 10.5.2, histedit, rebase, topic 0.24.1, tortoisehg.util.hgcommands, tortoisehg.util.hgdispatch, tortoisehg.util.partialcommit, tortoisehg.util.pipeui
** ProgrammingError: stablesortcache must be warmed before use (9417 < 9427)
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 3.10.6 (main, Aug 3 2022, 03:52:09) [Clang 11.0.3 (clang-1103.0.32.62)]
** Mercurial Distributed SCM (version 6.2.1)
** Extensions loaded: evolve 10.5.2, histedit, rebase, topic 0.24.1, tortoisehg.util.hgcommands, tortoisehg.util.hgdispatch, tortoisehg.util.partialcommit, tortoisehg.util.pipeui
** ProgrammingError: stablesortcache must be warmed before use (9417 < 9427)
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/hg", line 31, in <module>
dispatch.run()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/dispatch.py", line 143, in run
status = dispatch(req)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/dispatch.py", line 232, in dispatch
status = _rundispatch(req)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/dispatch.py", line 276, in _rundispatch
ret = _runcatch(req) or 0
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/dispatch.py", line 451, in _runcatch
return _callcatch(ui, _runcatchfunc)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/dispatch.py", line 461, in _callcatch
return scmutil.callcatch(ui, func)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/scmutil.py", line 153, in callcatch
return func()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/dispatch.py", line 441, in _runcatchfunc
return _dispatch(req)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/dispatch.py", line 1254, in _dispatch
return runcommand(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/dispatch.py", line 899, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/dispatch.py", line 1266, in _runcommand
return cmdfunc()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/dispatch.py", line 1252, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/util.py", line 1880, in check
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/commands.py", line 6598, in serve
return server.runservice(opts, initfn=service.init, runfn=service.run)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/server.py", line 166, in runservice
return runfn()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/commandserver.py", line 461, in run
return sv.serve()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/commandserver.py", line 395, in serve
while self.serveone():
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/commandserver.py", line 369, in serveone
handler(self)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/commandserver.py", line 350, in runcommand
ret = self._dispatchcommand(req) & 255
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/commandserver.py", line 289, in _dispatchcommand
return dispatch.dispatch(req)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/dispatch.py", line 232, in dispatch
status = _rundispatch(req)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/dispatch.py", line 276, in _rundispatch
ret = _runcatch(req) or 0
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/dispatch.py", line 451, in _runcatch
return _callcatch(ui, _runcatchfunc)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/dispatch.py", line 461, in _callcatch
return scmutil.callcatch(ui, func)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/scmutil.py", line 153, in callcatch
return func()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/dispatch.py", line 441, in _runcatchfunc
return _dispatch(req)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/tortoisehg/util/hgdispatch.py", line 23, in _dispatch
return orig(req)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/dispatch.py", line 1254, in _dispatch
return runcommand(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/dispatch.py", line 899, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/dispatch.py", line 1266, in _runcommand
return cmdfunc()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/dispatch.py", line 1252, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/util.py", line 1880, in check
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/util.py", line 1880, in check
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hgext3rd/topic/__init__.py", line 1353, in pushoutgoingwrap
return orig(ui, repo, *args, **opts)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/util.py", line 1880, in check
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/util.py", line 1880, in check
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hgext3rd/topic/flow.py", line 94, in wrappush
return orig(repo, remote, *args, **newargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/util.py", line 1880, in check
return func(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/commands.py", line 5792, in push
pushop = exchange.push(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hgext3rd/evolve/__init__.py", line 578, in push
return orig(repo, *args, **opts)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/exchange.py", line 491, in push
_pushdiscovery(pushop)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/mercurial/exchange.py", line 539, in _pushdiscovery
step(pushop)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hgext3rd/evolve/obsdiscovery.py", line 813, in newdisco
_pushdiscoveryobsmarkers(olddisco, pushop)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hgext3rd/evolve/obsdiscovery.py", line 798, in _pushdiscoveryobsmarkers
nodes = discovery(pushop, commonrevs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hgext3rd/evolve/obsdiscovery.py", line 750, in _pushobshashrange
missing = findmissingrange(pushop.ui, repo, remote, commonrevs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hgext3rd/evolve/obsdiscovery.py", line 103, in findmissingrange
local.obsstore.rangeobshashcache.update(local)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hgext3rd/evolve/obscache.py", line 190, in update
self._updatefrom(repo, revs, obsmarkers)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hgext3rd/evolve/obsdiscovery.py", line 473, in _updatefrom
_obshashrange(repo, (r, 0))
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hgext3rd/evolve/obsdiscovery.py", line 241, in _obshashrange
obshash = _obshashrange(repo, subrange)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hgext3rd/evolve/obsdiscovery.py", line 241, in _obshashrange
obshash = _obshashrange(repo, subrange)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hgext3rd/evolve/obsdiscovery.py", line 241, in _obshashrange
obshash = _obshashrange(repo, subrange)
[Previous line repeated 1 more time]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hgext3rd/evolve/obsdiscovery.py", line 240, in _obshashrange
for subrange in repo.stablerange.subranges(repo, rangeid):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hgext3rd/evolve/stablerange.py", line 654, in subranges
value = self._subranges(repo, rangeid)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hgext3rd/evolve/stablerange.py", line 739, in _subranges
ret = self._slicesrangeat(repo, rangeid, slicepoint)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hgext3rd/evolve/stablerange.py", line 785, in _slicesrangeat
subranges.extend(self._unique_subranges(repo, headrev,
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hgext3rd/evolve/stablerange.py", line 815, in _unique_subranges
jumps = getjumps(headrev)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hgext3rd/evolve/stablesort.py", line 818, in getjumps
raise error.ProgrammingError(msg)
mercurial.error.ProgrammingError: stablesortcache must be warmed before use (9417 < 9427)
cmdserver: process exited unexpectedly with code 1
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5822crash on startup thg 6.2, hg 6.1.4 unhashable type set2022-08-04T11:56:45ZNeal Beckercrash on startup thg 6.2, hg 6.1.4 unhashable type set```#!python
** Mercurial version (6.1.4). TortoiseHg version (6.2)
** Command:
** CWD: /home/nbecker/sigproc.pybind11
** Encoding: UTF-8
** Extensions loaded: convert, evolve 10.4.1, hggit 1.0.0 (dulwich 0.20.32), largefiles, rebase, t...```#!python
** Mercurial version (6.1.4). TortoiseHg version (6.2)
** Command:
** CWD: /home/nbecker/sigproc.pybind11
** Encoding: UTF-8
** Extensions loaded: convert, evolve 10.4.1, hggit 1.0.0 (dulwich 0.20.32), largefiles, rebase, tortoisehg.util.configitems, transplant
** Python version: 3.10.5 (main, Jun 9 2022, 00:00:00) [GCC 12.1.1 20220507 (Red Hat 12.1.1-1)]
** System: Linux nbecker2 5.18.13-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 22 14:03:36 UTC 2022 x86_64
** Qt-5.15.5 PyQt-5.15.6 QScintilla-2.13.0
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 347, in _runcatch
return runcommand(ui, args)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/run.py", line 441, in runcommand
return _runcommand(lui, options, cmd, d)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/run.py", line 493, in _runcommand
return checkargs()
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/run.py", line 446, in checkargs
return cmdfunc()
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/run.py", line 439, in <lambda>
d = lambda: qtrun(checkedfunc, ui, *args,
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/qtapp.py", line 469, in __call__
dlg, reporoot = self._createdialog(dlgfunc, args, opts)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/qtapp.py", line 533, in _createdialog
return dlgfunc(self._ui, *args, **opts), reporoot
File "/usr/lib64/python3.10/site-packages/mercurial/util.py", line 1887, in check
return func(*args, **kwargs)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/run.py", line 1064, in log
w = _workbench(ui, *pats, **opts)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/run.py", line 539, in _workbench
w.showRepo(root)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/workbench.py", line 744, in showRepo
self.openRepo(root, True)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/workbench.py", line 738, in openRepo
if not self.repoTabsWidget.openRepo(root, bundle):
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repotab.py", line 127, in openRepo
rw = self._createRepoWidget(root, bundle)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repotab.py", line 406, in _createRepoWidget
rw = repowidget.RepoWidget(self._actionregistry, repoagent, self,
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repowidget.py", line 228, in __init__
self.setupUi()
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repowidget.py", line 260, in setupUi
self.filterbar = RepoFilterBar(self._repoagent, self)
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repofilter.py", line 264, in __init__
self.refresh()
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repofilter.py", line 554, in refresh
self._updateBranchFilter()
File "/usr/lib/python3.10/site-packages/tortoisehg/hgqt/repofilter.py", line 491, in _updateBranchFilter
branches = hglib.namedbranches(self._repo)
File "/usr/lib/python3.10/site-packages/tortoisehg/util/hglib.py", line 237, in namedbranches
branchmap = repo.branchmap()
File "/usr/lib64/python3.10/site-packages/mercurial/localrepo.py", line 2155, in branchmap
return self._branchcaches[self]
File "/usr/lib64/python3.10/site-packages/mercurial/branchmap.py", line 73, in __getitem__
self.updatecache(repo)
File "/usr/lib64/python3.10/site-packages/mercurial/branchmap.py", line 97, in updatecache
bcache = self[subset].copy()
File "/usr/lib64/python3.10/site-packages/mercurial/branchmap.py", line 73, in __getitem__
self.updatecache(repo)
File "/usr/lib64/python3.10/site-packages/mercurial/branchmap.py", line 97, in updatecache
bcache = self[subset].copy()
File "/usr/lib64/python3.10/site-packages/mercurial/branchmap.py", line 73, in __getitem__
self.updatecache(repo)
File "/usr/lib64/python3.10/site-packages/mercurial/branchmap.py", line 97, in updatecache
bcache = self[subset].copy()
File "/usr/lib64/python3.10/site-packages/mercurial/branchmap.py", line 73, in __getitem__
self.updatecache(repo)
File "/usr/lib64/python3.10/site-packages/mercurial/branchmap.py", line 106, in updatecache
bcache.update(repo, revs)
File "/usr/lib64/python3.10/site-packages/mercurial/branchmap.py", line 583, in update
if not self.validfor(repo):
File "/usr/lib64/python3.10/site-packages/mercurial/branchmap.py", line 369, in validfor
tiphash = scmutil.filteredhash(repo, self.tiprev, needobsolete=True)
File "/usr/lib64/python3.10/site-packages/mercurial/scmutil.py", line 369, in filteredhash
key = (maxrev, hash(cl.filteredrevs), hash(obsrevs))
TypeError: unhashable type: 'set'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5821TortoiseHg→Revert Files… does not work2022-07-21T15:15:37Zfinn-czTortoiseHg→Revert Files… does not workAfter right-clicking on a modified file, selecting the _TortoiseHg_ context menu (Windows 10) and selecting _Revert Files…_ a new _hg revert_ window appears. But then, after confirmation of the reversal by clicking on _Revert (!)_ button...After right-clicking on a modified file, selecting the _TortoiseHg_ context menu (Windows 10) and selecting _Revert Files…_ a new _hg revert_ window appears. But then, after confirmation of the reversal by clicking on _Revert (!)_ button, nothing happens, the file stays modified.
Reverting in the TortoiseHg workbench works.