thg issueshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues2024-03-17T23:57:08Zhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5963tortoisehg-6.6.3-x64.msi HEUR:Trojan.OLE2.Alien.gen2024-03-17T23:57:08Zvitidevtortoisehg-6.6.3-x64.msi HEUR:Trojan.OLE2.Alien.gen[Detected as HEUR:Trojan.OLE2.Alien.gen](https://www.virustotal.com/gui/file/7987c0b6fc03043ae0c177fd198d54dcaed392803503fee1c68c2e020a6ec377)
What has changed in MSI creation that causes alert?[Detected as HEUR:Trojan.OLE2.Alien.gen](https://www.virustotal.com/gui/file/7987c0b6fc03043ae0c177fd198d54dcaed392803503fee1c68c2e020a6ec377)
What has changed in MSI creation that causes alert?https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5962Support for windows XP2024-02-19T22:51:10ZBSaidusSupport for windows XPHello.
Could you please point me to the last version supporting windows XP 32bit.
I did not found any forum where to ask this question.
I suggest to mention in with releases of MercurialHg & TortoiseHg the supported OS.
Thank you in adv...Hello.
Could you please point me to the last version supporting windows XP 32bit.
I did not found any forum where to ask this question.
I suggest to mention in with releases of MercurialHg & TortoiseHg the supported OS.
Thank you in advence.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5960Missing section headers2024-01-16T09:55:28ZBen EngbersMissing section headersI am using Fedora 39 and TortoiseHG 6.5.1
In the settings dialog I am trying to enter a value for the `Three-way merge tool` to be used. When attempting to save my settings the following message pops up. (It is my guess that it has to d...I am using Fedora 39 and TortoiseHG 6.5.1
In the settings dialog I am trying to enter a value for the `Three-way merge tool` to be used. When attempting to save my settings the following message pops up. (It is my guess that it has to deal with errors in \~/.hgrc. ). The same message pops up up when saving other entries.
That file has only one section
`[ui] username = Ben <mail>`
`editor = vim`
1. Do I have to add new sections manually before saving the new settings?
The dialog has several errors in Dutch:
1. "Fout tekst" can not be used. It probably should say something like 'Fout in \<file-name\> "Bestand heeft geen section headers." \<???\>:2'
2. "Wil aub uw instellingen". This sentence is incomplete. What should the user do?
3. 'registreer dan een foutrapport aub' links to `#bugreport"`
Ben
![Schermafdruk_van_2024-01-09_12-46-28](/uploads/209a429fe85d76dfbeca71c31d91d251/Schermafdruk_van_2024-01-09_12-46-28.png))https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5959Crash When Reordering Repositories2023-12-03T04:03:38ZJohn SchneidermanCrash When Reordering RepositoriesI created a repository via the command-line and added it to the GUI. This placed it at the end of the default grouping. I wished to move it to the very top, as it begins with "A". Upon releasing the mouse button to place it in the proper...I created a repository via the command-line and added it to the GUI. This placed it at the end of the default grouping. I wished to move it to the very top, as it begins with "A". Upon releasing the mouse button to place it in the proper location it crashed.
```
python
** Mercurial version (6.5.3). TortoiseHg version (6.5.1)
** Command: --nofork
** CWD: /home/johnms
** Encoding: UTF-8
** Extensions loaded: convert, eol, evolve 11.1.0, gpg, hgk, histedit, purge, strip, topic 1.1.0, tortoisehg.util.configitems, transplant
** Python version: 3.12.0 (main, Oct 2 2023, 00:00:00) [GCC 13.2.1 20230918 (Red Hat 13.2.1-3)]
** System: Linux Pacman.Schneiderman.me 6.6.2-201.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 22 21:31:42 UTC 2023 x86_64
** Qt-6.6.0 PyQt-6.6.0 QScintilla-2.13.4
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/tortoisehg/hgqt/reporegistry.py", line 151, in dropEvent
index, group, row = self.dropLocation(event)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/tortoisehg/hgqt/reporegistry.py", line 112, in dropLocation
index = self.indexAt(event.pos())
^^^^^^^^^
AttributeError: 'QDropEvent' object has no attribute 'pos'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5958crash report: by hg-git extention after merge repo without git2023-11-27T20:15:51Zalexraynecrash report: by hg-git extention after merge repo without git```python
** Mercurial version (6.5.3). TortoiseHg version (6.5rc0+2-0a85f31b4bc9)
** Command: --nofork
** CWD: d:\projects\hg\thg\thg.work
** Encoding: cp1251
** Extensions loaded: absorb, amend, censor, convert, eol, fix, hggit 0.10.0...```python
** Mercurial version (6.5.3). TortoiseHg version (6.5rc0+2-0a85f31b4bc9)
** Command: --nofork
** CWD: d:\projects\hg\thg\thg.work
** Encoding: cp1251
** Extensions loaded: absorb, amend, censor, convert, eol, fix, hggit 0.10.0, histedit, mq, narrow, patchbomb, rebase, record, share, sparse, strip, tortoisehg.util.configitems, transplant
** Python version: 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=10, minor=0, build=19045, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.10.8
Traceback (most recent call last):
File "D:\projects\hg\thg\thg.work\tortoisehg\hgqt\thgrepo.py", line 573, in _onRepositoryChanged
self._repo.thg_reload_hggit_data()
File "D:\projects\hg\thg\thg.work\tortoisehg\hgqt\thgrepo.py", line 1016, in thg_reload_hggit_data
self.githandler.load_map()
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\repoview.py", line 459, in __getattr__
return getattr(self._unfilteredrepo, attr)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\pycompat.py", line 358, in w
return f(object, sysstr(name), *args)
AttributeError: 'thgrepository' object has no attribute 'githandler'
```
actual mercurial used 6.6rc0 (aka 6.6), hggit used 1.1.x (a1b55944c5b8)
similar crash invokes on works with any repo not derived from git - thg anyway asks for thg_reload_hggit_data - that cashes, since it not an hg-git repohttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5957thg revdetails error message2024-01-12T15:06:05ZDavid Hollmanthg revdetails error message
When I run the following command:
`thg revdetails -rev 8996`
I get the error below. Or same if I use the changeset hash instead of revision #.
But if I select the same commit in THG workbench and choose 'browse at revision' it works...
When I run the following command:
`thg revdetails -rev 8996`
I get the error below. Or same if I use the changeset hash instead of revision #.
But if I select the same commit in THG workbench and choose 'browse at revision' it works fine. AFAIK the command line should do the same function as that menu option.
```python
** Mercurial version (6.3.2). TortoiseHg version (6.3.2)
** Command: revdetails -r fb508a38e438
** CWD: D:\source\hap62-beta
** Encoding: cp1252
** Extensions loaded: absorb, amend, churn, convert, eol, evolve 10.5.4.dev, extdiff, graphlog, histedit, rebase, relink, share, strip, topic 0.24.3.dev, tortoisehg.util.configitems, transplant
** Python version: 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [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\run.pyc", line 139, in dispatch
File "tortoisehg\hgqt\run.pyc", line 347, in _runcatch
File "tortoisehg\hgqt\run.pyc", line 441, in runcommand
File "tortoisehg\hgqt\run.pyc", line 493, in _runcommand
File "tortoisehg\hgqt\run.pyc", line 446, in checkargs
File "tortoisehg\hgqt\run.pyc", line 439, in <lambda>
File "tortoisehg\hgqt\qtapp.pyc", line 478, in __call__
File "tortoisehg\hgqt\qtapp.pyc", line 542, in _createdialog
File "mercurial\util.pyc", line 1880, in check
File "tortoisehg\hgqt\run.pyc", line 1244, in revdetails
File "tortoisehg\hgqt\revdetails.pyc", line 576, in __init__
File "tortoisehg\hgqt\revdetails.pyc", line 95, in __init__
File "tortoisehg\hgqt\thgrepo.pyc", line 825, in __getitem__
File "mercurial\localrepo.pyc", line 1941, in __getitem__
mercurial.error.ProgrammingError: unsupported changeid 'fb508a38e438' of type <class 'bytes'>
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5955UnicodeEncodeError2024-01-28T02:19:21ZMischa BeckerUnicodeEncodeError #!python
** Mercurial version (5.9.2). TortoiseHg version (5.9.2)
** Command: --nofork workbench
** CWD: C:\Users\mb96851\Desktop\BSA\BSA Other\Buyer Toolkit\ImpPO-wip
** Encoding: cp1252
** Extensions loaded: ch... #!python
** Mercurial version (5.9.2). TortoiseHg version (5.9.2)
** Command: --nofork workbench
** CWD: C:\Users\mb96851\Desktop\BSA\BSA Other\Buyer Toolkit\ImpPO-wip
** Encoding: cp1252
** Extensions loaded: children, convert, eol, graphlog, mq, rebase, strip, tortoisehg.util.configitems, zipdoc
** 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\commit.pyo", line 1541, in accept
File "tortoisehg\util\hglib.pyo", line 170, in fromunicode
File "encodings\cp1252.pyo", line 12, in encode
UnicodeEncodeError: 'charmap' codec can't encode character u'\u2666' in position 16: character maps to <undefined>
Google tells me that character is a black diamond suit emoji. There weren't any visible emojis in my code or commit message so I'm not sure where it would have come from. When I restarted TortoiseHg and re-did the commit it worked without problem. The only thing different was the commit message since the original was lost and I had to re-write it.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5954Amend fails with "Nothing changed" when trying to cancel change2023-11-03T21:57:09ZPhilippe CloutierAmend fails with "Nothing changed" when trying to cancel changeUsing TortoiseHg 6.5.1, if one accidentally includes changes to file _x_ in a commit and tries using _Amend_ to cancel changes to _x_, the commit keeps the unwanted changes. If the amendment only consists of such cancellations, the amend...Using TortoiseHg 6.5.1, if one accidentally includes changes to file _x_ in a commit and tries using _Amend_ to cancel changes to _x_, the commit keeps the unwanted changes. If the amendment only consists of such cancellations, the amendment attempt fails with a dialog titled "Nothing Committed" which contains:
> Nothing changed.
To **workaround**, one can strip the incorrect commit using Strip's `--keep` option and perform a new commit to replace it.
This is related to ticket #3251 .https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5953Errors in 'thgw.exe'2023-10-24T07:09:02ZGhost UserErrors in 'thgw.exe'Install thg on Windows 11. VCRedist 2015 Update 3 installed. Start triggers message:
Errors in 'thgw.exe'
See the logfile 'C:\ProgramData\TortoiseHg\thgw.log' for details.
content of the file:
cannot import name 'ctypeslib' from 'numpy...Install thg on Windows 11. VCRedist 2015 Update 3 installed. Start triggers message:
Errors in 'thgw.exe'
See the logfile 'C:\ProgramData\TortoiseHg\thgw.log' for details.
content of the file:
cannot import name 'ctypeslib' from 'numpy' (unknown location)
abort: couldn't find tortoisehg libraries in [C:\Program Files\TortoiseHg\lib/library.zip;C:\Users\me\AppData\Roaming\Python\Python39\site-packages]
(check your install and PYTHONPATH)
thg.exe starts without problems.
hg can be used without issues.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5950cant update repository2023-08-31T14:12:31ZYordan Karakolevcant update repositoryLOG:
```python
** Mercurial version (6.5.1). TortoiseHg version (6.5.1)
** Command:
** CWD: C:\Windows
** Encoding: cp1251
** Extensions loaded: histedit, largefiles, mercurial_keyring unknown, mq, rebase, strip, tortoisehg.util.conf...LOG:
```python
** Mercurial version (6.5.1). TortoiseHg version (6.5.1)
** Command:
** CWD: C:\Windows
** Encoding: cp1251
** Extensions loaded: histedit, largefiles, mercurial_keyring unknown, mq, rebase, strip, tortoisehg.util.configitems
** Python version: 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [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\cmdui.pyc", line 649, in runCommand
File "tortoisehg\hgqt\update.pyc", line 398, in runCommand
File "tortoisehg\hgqt\update.pyc", line 342, in isclean
File "mercurial\context.pyc", line 1460, in modified
File "mercurial\util.pyc", line 1760, in __get__
File "mercurial\context.pyc", line 1425, in _status
File "mercurial\localrepo.pyc", line 244, in wrapper
File "hgext\largefiles\reposetup.pyc", line 114, in status
File "mercurial\localrepo.pyc", line 3408, in status
File "mercurial\context.pyc", line 432, in status
File "mercurial\context.pyc", line 2001, in _buildstatus
File "mercurial\context.pyc", line 1924, in _dirstatestatus
File "mercurial\context.pyc", line 1871, in _poststatusfixup
File "mercurial\dirstate.pyc", line 84, in wrap
mercurial.error.ProgrammingError: calling `wrap` after the dirstate was invalidated
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5924Unable to apply MQ patches via double click in main view.2023-08-14T05:52:19Zdflachsqi2Unable to apply MQ patches via double click in main view.I was unable to find mention of this issue, though it may be due to not knowing the correct terms. I am unable to apply an mq patch by double clicking it in the main viewport. Doing so generates a popup titled 'Unable to find changeset" ...I was unable to find mention of this issue, though it may be due to not knowing the correct terms. I am unable to apply an mq patch by double clicking it in the main viewport. Doing so generates a popup titled 'Unable to find changeset" with the message "You likely need to refresh this application". Right clicking the patch and selecting the "Apply Patch" option works correctly. Double clicking an already applied patch correctly un-applies it.
I am running windows 10 build 19044 and
TortoiseHg
version 6.4.5
with Mercurial-6.4.5, Python-3.9.13, PyQt-5.15.7, Qt-5.15.2
![image](/uploads/d501618d238c31ab4cb64a9f7f85fc43/image.png)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5914No direct way to revert multiple revisions2023-07-11T19:02:34ZPhilippe CloutierNo direct way to revert multiple revisionsTortoiseHg allows reverting a changeset by selecting it and using the "Backout..." item of the contextual menu.
When one has several revisions to revert, there is unfortunately no way to revert them all directly. One has to select the l...TortoiseHg allows reverting a changeset by selecting it and using the "Backout..." item of the contextual menu.
When one has several revisions to revert, there is unfortunately no way to revert them all directly. One has to select the last, do "Backout...", then select the pre-last and back that one out too, until the first. Not only does this take more time, but it results in as many new commits as the number of reverted revisions. It would be better if, when multiple commits are selected, the contextual menu still offered "Backout...".
This affects TortoiseHg 6.4.2.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5913Please release an 6.4.x update due to upstream Mercurial bug2023-07-13T18:29:41ZMarc SchlaichPlease release an 6.4.x update due to upstream Mercurial bugThere is a serious issue in Mercurial 6.4.2 (see http://markmail.org/message/ecgbcqjt3pn6dww4 or https://repo.mercurial-scm.org/hg/rev/a445194f0a4d) breaking some repositories.
Could you please release a new version containing that bugfix?There is a serious issue in Mercurial 6.4.2 (see http://markmail.org/message/ecgbcqjt3pn6dww4 or https://repo.mercurial-scm.org/hg/rev/a445194f0a4d) breaking some repositories.
Could you please release a new version containing that bugfix?https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5912Missing api-ms-win-core-path-l1-1-0.dll on Windows 7 with TortoiseHG 6.4.2 x642023-07-28T07:42:33ZMingunMissing api-ms-win-core-path-l1-1-0.dll on Windows 7 with TortoiseHG 6.4.2 x64Latest version of TortoiseHG x64 (6.4.2) do not starting in Windows 7 with error «Missing **api-ms-win-core-path-l1-1-0.dll**».
[Update for Universal C Runtime in Windows](https://support.microsoft.com/en-us/topic/update-for-universal-c...Latest version of TortoiseHG x64 (6.4.2) do not starting in Windows 7 with error «Missing **api-ms-win-core-path-l1-1-0.dll**».
[Update for Universal C Runtime in Windows](https://support.microsoft.com/en-us/topic/update-for-universal-c-runtime-in-windows-c0514201-7fe6-95a3-b0a5-287930f3560c) already installed.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5910blocking RuntimeError2024-01-28T02:30:41Znestoreblocking RuntimeErrorhere is the exception the apperas on every command
```python
** Mercurial version (6.4.2). TortoiseHg version (6.4.2)
** Command: --nofork workbench
** CWD: C:\Users\marenco\OneDrive - portsofgenoa.com\Desktop
** Encoding: cp1252
** Ext...here is the exception the apperas on every command
```python
** Mercurial version (6.4.2). TortoiseHg version (6.4.2)
** Command: --nofork workbench
** CWD: C:\Users\marenco\OneDrive - portsofgenoa.com\Desktop
** Encoding: cp1252
** Extensions loaded: strip, tortoisehg.util.configitems
** Python version: 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [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\status.pyc", line 752, in run
File "mercurial\localrepo.pyc", line 3388, in status
File "mercurial\context.pyc", line 432, in status
File "mercurial\context.pyc", line 2001, in _buildstatus
File "mercurial\context.pyc", line 1902, in _dirstatestatus
File "mercurial\context.pyc", line 1576, in __contains__
File "mercurial\dirstate.pyc", line 573, in get_entry
File "mercurial\dirstatemap.pyc", line 112, in get
File "mercurial\util.pyc", line 1760, in __get__
File "mercurial\dirstatemap.pyc", line 276, in _map
File "mercurial\dirstatemap.pyc", line 374, in read
File "mercurial\util.pyc", line 1835, in wrapper
RuntimeError: unknown state: `` (0, 0, 0)
I try to mahe hg update , hg merge -r ..., hg pull, hg status: on every command the same error
Could someone halp me ?
thankshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5909docdiff broken without user feedback2023-07-05T14:53:03ZRainer Bauerdocdiff broken without user feedbackTortoiseHg 6.4.2
When trying to compare a docx document with the docdiff tool nothing happens.
When I call docdiff directly on the command line, an exception occurs:
```
"C:\Program Files\TortoiseHg\docdiff.exe" "Path to docx file" "Pa...TortoiseHg 6.4.2
When trying to compare a docx document with the docdiff tool nothing happens.
When I call docdiff directly on the command line, an exception occurs:
```
"C:\Program Files\TortoiseHg\docdiff.exe" "Path to docx file" "Path to other docx file"
Traceback (most recent call last):
File "docdiff.py", line 114, in <module>
File "docdiff.py", line 105, in main
File "mercurial\encoding.pyc", line 253, in unifromlocal
File "mercurial\encoding.pyc", line 227, in fromlocal
TypeError: a bytes-like object is required, not 'list'
```
Question: Would it be possible that errors from docdiff are propagated to the UI, so that the user has a feedback that something went wrong?
I tried some older thg versions (that I had lying around locally). Here is the result:
```
5.9.3 OK
6.2.1 Exception
6.4.2 Exception
```
I also tried to change the codepage in the command window to "chcp 1252" before starting docdiff, but the error persisted. I did not change hgencoding!
Would be nice if this regression could be fixed. In the meantime I am restricted to use the 5.9.3 version when I want to compare Office documents.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5906Console autocomplete of hg* crashes2023-06-27T01:32:37ZPhilippe CloutierConsole autocomplete of hg* crashesCommand autocomplete in the console using the _Tab_ key is mostly broken:
1. Trying to complete "h", "he" or "hel" fails... until help is run. After, completion works.
1. Trying to complete "hg" or hg *" ("hg" followed by a space followe...Command autocomplete in the console using the _Tab_ key is mostly broken:
1. Trying to complete "h", "he" or "hel" fails... until help is run. After, completion works.
1. Trying to complete "hg" or hg *" ("hg" followed by a space followed by any string, for example "hg diff", "hg @" or "hg z") crashes TortoiseHg as soon as Tab is pressed, with the following error:
```python
** Mercurial version (6.4.2). TortoiseHg version (6.4.2)
** Command:
** CWD: C:\windows\System32
** Encoding: cp1252
** Extensions loaded: mq, strip, tortoisehg.util.configitems
** Python version: 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [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\docklog.pyc", line 398, in completeCommandText
File "tortoisehg\hgqt\docklog.pyc", line 344, in _commandComplete
File "tortoisehg\hgqt\docklog.pyc", line 340, in findhgcmd
TypeError: a bytes-like object is required, not 'str'
```
This affects Windows 10 and happens everytime.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5905win32mbcs b'os.path' error in python32023-07-05T15:06:28ZZipherwin32mbcs b'os.path' error in python3I am using Window 10 22H2 x64 version. After upgrade tortoiseHg to "tortoisehg-6.2-x64.msi", each time I close workbench there will be a error message:
![2023-06-05_3108](/uploads/5874130c233a962777c4f1c1829b7231/2023-06-05_3108.png)
I...I am using Window 10 22H2 x64 version. After upgrade tortoiseHg to "tortoisehg-6.2-x64.msi", each time I close workbench there will be a error message:
![2023-06-05_3108](/uploads/5874130c233a962777c4f1c1829b7231/2023-06-05_3108.png)
In thgw.log, it reads:
```
Traceback (most recent call last):
File "mercurial\extensions.pyc", line 270, in _runextsetup
File "hgext\win32mbcs.pyc", line 207, in extsetup
File "hgext\win32mbcs.pyc", line 158, in wrapname
KeyError: b'os.path'
*** failed to set up extension win32mbcs: b'os.path'
```
If I rollback to tortoisehg-6.1.3-x64.msi, there will be no error. And python2 is used in this version.
![2023-06-05_3110](/uploads/abfd9cf27b1aa4cd5fe81f709119507e/2023-06-05_3110.png)
I tried from tortoisehg-6.2-x64.msi to tortoisehg-6.4.2-x64.msi. All of them used python3 and have the same issue.
![2023-06-05_3109](/uploads/a2db8d905fe3818df1a01d7efd48ac7a/2023-06-05_3109.png)
I found an issue in python3 may be relative to this
[issue 13247: under Windows, os.path.abspath returns non-ASCII bytes paths as question marks](https://bugs.python.org/issue13247)
Hope this can help.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5903mercurial.error.ProgrammingError: calling `wrap` after the dirstate was inval...2023-05-23T05:26:24ZWajid Ali Mohammedmercurial.error.ProgrammingError: calling `wrap` after the dirstate was invalidated error with 6.4.2 version.```python
** Mercurial version (6.4.2). TortoiseHg version (6.4.2)
** Command:
** CWD: C:\Program Files\TortoiseHg
** Encoding: cp1252
** Extensions loaded: eol, largefiles, mercurial_keyring unknown, strip, tortoisehg.util.configitems...```python
** Mercurial version (6.4.2). TortoiseHg version (6.4.2)
** Command:
** CWD: C:\Program Files\TortoiseHg
** Encoding: cp1252
** Extensions loaded: eol, largefiles, mercurial_keyring unknown, strip, tortoisehg.util.configitems
** Python version: 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [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\cmdui.pyc", line 649, in runCommand
File "tortoisehg\hgqt\update.pyc", line 398, in runCommand
File "tortoisehg\hgqt\update.pyc", line 342, in isclean
File "mercurial\context.pyc", line 1460, in modified
File "mercurial\util.pyc", line 1760, in __get__
File "mercurial\context.pyc", line 1425, in _status
File "mercurial\localrepo.pyc", line 244, in wrapper
File "hgext\largefiles\reposetup.pyc", line 114, in status
File "mercurial\localrepo.pyc", line 3388, in status
File "mercurial\context.pyc", line 432, in status
File "mercurial\context.pyc", line 2001, in _buildstatus
File "mercurial\context.pyc", line 1924, in _dirstatestatus
File "mercurial\context.pyc", line 1871, in _poststatusfixup
File "mercurial\dirstate.pyc", line 84, in wrap
mercurial.error.ProgrammingError: calling `wrap` after the dirstate was invalidated
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5902AttributeError: fuction 'SystemParametersInfoForDpi' not found issue with 6.4...2023-05-23T05:23:46ZWajid Ali MohammedAttributeError: fuction 'SystemParametersInfoForDpi' not found issue with 6.4.2 version while opening the tortoiseHg![MicrosoftTeams-image__21_](/uploads/6fc1ad9954ba3af486a1e7c031168013/MicrosoftTeams-image__21_.png)
If I downgrade the version to 6.2, TortoiseHg is working okay without any issues. However, when the software is updated again, the iss...![MicrosoftTeams-image__21_](/uploads/6fc1ad9954ba3af486a1e7c031168013/MicrosoftTeams-image__21_.png)
If I downgrade the version to 6.2, TortoiseHg is working okay without any issues. However, when the software is updated again, the issue arises.