thg issueshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues2022-10-08T03:34:15Zhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5809Error during the hg delete (Remove Files) operation2022-10-08T03:34:15ZSiddharth KaulError during the hg delete (Remove Files) operationHi Received a following error snapshot when trying to remove selected files by performing the remove files operation from the context menu.
```
#!python
** Mercurial version (6.2rc0). TortoiseHg version (6.2rc0+1-ee6f08d2fbca)
** Comma...Hi Received a following error snapshot when trying to remove selected files by performing the remove files operation from the context menu.
```
#!python
** Mercurial version (6.2rc0). TortoiseHg version (6.2rc0+1-ee6f08d2fbca)
** Command: --nofork remove --listfile C:\Users\skaul\AppData\Local\Temp\THG58FA.tmp
** CWD: C:\Data\Workspace\RhodeCode\dashboard_php
** Encoding: cp1252
** 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.6 QScintilla-2.13.2
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 469, in __call__
File "tortoisehg\hgqt\qtapp.pyc", line 533, in _createdialog
File "mercurial\util.pyc", line 1880, in check
File "tortoisehg\hgqt\run.pyc", line 1204, in remove
File "tortoisehg\hgqt\quickop.pyc", line 332, in run
File "tortoisehg\hgqt\quickop.pyc", line 80, in __init__
KeyError: b'remove'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5807Actual py3 win build instruction2022-10-08T03:34:14ZvitidevActual py3 win build instructionTortoiseHg 6.2rc0 based on (happened) py3.9 (drop support win7?) but looks as "classic windows". Theme styling does not work.
There was a similar problem in [Pyinstaller](https://stackoverflow.com/questions/48626999/packaging-with-pyins...TortoiseHg 6.2rc0 based on (happened) py3.9 (drop support win7?) but looks as "classic windows". Theme styling does not work.
There was a similar problem in [Pyinstaller](https://stackoverflow.com/questions/48626999/packaging-with-pyinstaller-pyqt5-setstyle-ignored), but we have py2exe and I did not find anything for it.
Therefore, I tried to build thg myself [following the instructions](https://foss.heptapod.net/mercurial/tortoisehg/thg-winbuild/-/tree/topic/default/windows-py3)
difficulties
1 Instructions are missing steps
hg clone --config=format.revlog-compression=zlib https://foss.heptapod.net/mercurial/tortoisehg/thg-build-deps/hg-zipdoc zipdoc
hg clone --config=format.revlog-compression=zlib https://foss.heptapod.net/mercurial/tortoisehg/thg-build-deps/hgcr-gui hgcr-gui
hg clone --config=format.revlog-compression=zlib https://foss.heptapod.net/mercurial/tortoisehg/thg-build-deps/projrc projrc
hg clone --config=format.revlog-compression=zlib https://foss.heptapod.net/mercurial/tortoisehg/thg-build-deps/onsub onsub
hg clone --config=format.revlog-compression=zlib https://foss.heptapod.net/mercurial/tortoisehg/thg-build-deps/simplelock simplelock
hg clone --config=format.revlog-compression=zlib https://foss.heptapod.net/mercurial/mercurial-extension_utils meu
2 I have a problem with Russian localization
hg/i18n/ru.po contains
msgid ""
"files...\n"
" indicates one or more filename or relative path filenames; see\n"
" `File Name Patterns`_ for information on pattern matching"
msgstr ""
"файлы...\n"
" означает одно или несколько имен файлов либо относительных путей к ним;\n"
" об использовании шаблонов см. `Шаблоны имен файлов`_"
and it crashes all the time with error. I had to remove '--halt warning' from command and as result
build/hg/doc> C:\Python\Python\python.exe runrst html --link-stylesheet --stylesheet-path style.css hg.1.txt hg.1.html
hg.1.txt:34: (ERROR/3) Unknown target name: "шаблоны имен файлов".
hg.1.txt:90: (ERROR/3) Unknown target name: "ссылки".
3 python setup.py --thg-doc not work
setup.py: error: unrecognized arguments: --thg-doc
4.1 "Unable to find Microsoft Windows SDK 7.1, please install"
need SDK 10
4.2 SDK env
I had to do
run('"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Auxiliary\\Build\\vcvarsall.bat" x86_amd64 & nmake.exe /nologo /f Makefile.nmake clean', builddir, env=env)
run('"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Auxiliary\\Build\\vcvarsall.bat" x86_amd64 & nmake.exe /nologo /f Makefile.nmake', builddir, env=env)
I can compile `nmake.exe /nologo /f Makefile.nmake` from console but `run` in setup.py cannot found `excpt.h`
5 python 2 code
File "C:\Python\Python\lib\site-packages\py2exe\vendor\modulefinder.py", line 387, in load_module
co = compile(fp.read(), m.__dest_file__, 'exec', optimize=self._optimize)
File "hgext\projrc.pyc", line 315
except OSError, e:
^^^^^^^^^^
`projrc/projrc.py` has many such errors
7 missing step
$env:PATH += "C:\\Program Files (x86)\\WiX Toolset v3.11\\bin"
Now I'm trying to solve the problem that msm is version 143, and the script expects 142Windows py3 releasehttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/58066.2rc0 macOS application bundle is broken - “TortoiseHg” is damaged and can’t...2022-10-08T03:34:13ZScott Palmer6.2rc0 macOS application bundle is broken - “TortoiseHg” is damaged and can’t be opened. You should move it to the Trash.I attempted to run the macOS Application for TortoiseHG 6.2rc0 on macOS 12.5. Error message is in the title. I used the context menu and held option/alt while selecting Open in order to be able to bypass opening an unsigned application, ...I attempted to run the macOS Application for TortoiseHG 6.2rc0 on macOS 12.5. Error message is in the title. I used the context menu and held option/alt while selecting Open in order to be able to bypass opening an unsigned application, same error.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5805Error "TypeError: 'instancemethod' object is not connected" following aborted...2022-09-07T03:47:04ZDavid HollmanError "TypeError: 'instancemethod' object is not connected" following aborted rebaseI started a rebase in THG, messed around resolving conflicts briefly in KDiff3, but then decided to abort the rebase. After clicking the abort button, it showed this:
```
#!python
** Mercurial version (6.1.3). TortoiseHg versio...I started a rebase in THG, messed around resolving conflicts briefly in KDiff3, but then decided to abort the rebase. After clicking the abort button, it showed this:
```
#!python
** Mercurial version (6.1.3). TortoiseHg version (6.1.3)
** Command:
** CWD: C:\Windows\system32
** Encoding: cp1252
** Extensions loaded: absorb, amend, convert, eol, evolve 10.5.1, extdiff, graphlog, histedit, rebase, relink, share, strip, topic 0.24.1.dev, tortoisehg.util.configitems, transplant
** 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\rebase.pyo", line 297, in _abortFinished
File "tortoisehg\hgqt\rebase.pyo", line 303, in _makeCloseButton
TypeError: 'instancemethod' object is not connected
```
Using:
```
TortoiseHg
version 6.1.3
with Mercurial-6.1.3, Python-2.7.18, PyQt-5.13.2, Qt-5.9.9
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5803TypeError: QueryValueEx() argument 2 must be str or None, not bytes2023-09-12T12:01:48ZDavid HollmanTypeError: QueryValueEx() argument 2 must be str or None, not bytesFrom the settings screen, TortoiseHG tab, I clicked the dropdown button for "CLI Editor" and instantly the following error was shown:
```
#!python
** Mercurial version (6.1.2+hg305.a13398ef7e55). TortoiseHg version (6.1.2+12-e8...From the settings screen, TortoiseHG tab, I clicked the dropdown button for "CLI Editor" and instantly the following error was shown:
```
#!python
** Mercurial version (6.1.2+hg305.a13398ef7e55). TortoiseHg version (6.1.2+12-e8682f4e7a70)
** Command:
** CWD: C:\Windows\system32
** Encoding: cp1252
** Extensions loaded: absorb, amend, convert, eol, evolve 10.5.1, extdiff, graphlog, hggit 1.0.0 (dulwich 0.20.35), histedit, rebase, relink, share, strip, topic 0.24.1.dev, tortoisehg.util.configitems, transplant
** 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.6 QScintilla-2.13.2
Traceback (most recent call last):
File "tortoisehg\hgqt\settings.pyc", line 165, in showPopup
File "tortoisehg\hgqt\settings.pyc", line 603, in findEditors
File "tortoisehg\util\editor.pyc", line 141, in findeditors
File "tortoisehg\util\editor.pyc", line 141, in <listcomp>
File "tortoisehg\util\editor.pyc", line 50, in _findtool
File "mercurial\windows.pyc", line 691, in lookupreg
TypeError: QueryValueEx() argument 2 must be str or None, not bytes
```
The existing value in that dropdown is:
![image](/uploads/6fcb910d380198dec71c060a4b9b8987/image.png)
If I tab into the text portion of the control instead, I can type in it and save settings OK.
I'm using version:
```
version 6.1.2+12-e8682f4e7a70
with Mercurial-6.1.2+hg305.a13398ef7e55, Python-3.9.12, PyQt-5.15.6, Qt-5.15.2
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5802TypeError: Expected type that converts to PyBytes but received str2022-06-14T04:20:12ZjdgmntTypeError: Expected type that converts to PyBytes but received str```
#!python
** Mercurial version (6.1.1). TortoiseHg version (6.1.1+12-9430f24d1930)
** Command: --nofork
** CWD: /home/gunes
** Encoding: UTF-8
** Extensions loaded: configexpress 0.4.0, extdiff, graphlog, hgk, hi...```
#!python
** Mercurial version (6.1.1). TortoiseHg version (6.1.1+12-9430f24d1930)
** Command: --nofork
** CWD: /home/gunes
** Encoding: UTF-8
** Extensions loaded: configexpress 0.4.0, extdiff, graphlog, hgk, histedit, isam, isamtags, logtoprocess, patchbomb, purge, rebase, relink, strip, tortoisehg.util.configitems
** Python version: 3.6.8 (default, Nov 16 2020, 16:55:22) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
** System: Linux devws005.be.alcatel-lucent.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
** Qt-5.12.3 PyQt-5.12.2 QScintilla-2.11.2
Traceback (most recent call last):
File "/usr/local/lib/thg-env/usr/lib/python3.6/site-packages/tortoisehg/hgqt/qtlib.py", line 1360, in showEvent
self.get()
File "/usr/local/lib/thg-env/usr/lib/python3.6/site-packages/tortoisehg/hgqt/qtlib.py", line 1372, in get
self._widget = func()
File "/usr/local/lib/thg-env/usr/lib/python3.6/site-packages/tortoisehg/hgqt/repowidget.py", line 693, in createGrepWidget
gw = SearchWidget(self._repoagent, upats, self)
File "/usr/local/lib/thg-env/usr/lib/python3.6/site-packages/tortoisehg/hgqt/grep.py", line 205, in __init__
self._updateRecurse()
File "/usr/local/lib/thg-env/usr/lib/python3.6/site-packages/tortoisehg/hgqt/grep.py", line 270, in _updateRecurse
if '.hgsubstate' in wctx:
File "/usr/local/lib/thg-env/lib64/python3.6/site-packages/mercurial/context.py", line 1568, in __contains__
return self._repo.dirstate.get_entry(key).tracked
File "/usr/local/lib/thg-env/lib64/python3.6/site-packages/mercurial/dirstate.py", line 334, in get_entry
entry = self._map.get(path)
File "/usr/local/lib/thg-env/lib64/python3.6/site-packages/mercurial/dirstatemap.py", line 70, in get
return self._map.get(key, default)
TypeError: Expected type that converts to PyBytes but received str
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5801Error when opening any function from the thg context menu (py3)2022-06-07T20:17:41ZajansveldError when opening any function from the thg context menu (py3) #!python
** Mercurial version (6.1.2+hg305.a13398ef7e55). TortoiseHg version (6.1.2+12-e8682f4e7a70)
** Command: --nofork log --listfile C:\Users\AJANSV~1\AppData\Local\Temp\THGDBF4.tmp
** CWD: C:\hg\win-main
** Enco... #!python
** Mercurial version (6.1.2+hg305.a13398ef7e55). TortoiseHg version (6.1.2+12-e8682f4e7a70)
** Command: --nofork log --listfile C:\Users\AJANSV~1\AppData\Local\Temp\THGDBF4.tmp
** CWD: C:\hg\win-main
** Encoding: cp1252
** 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.6 QScintilla-2.13.2
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 419, in runcommand
File "tortoisehg\hgqt\run.pyc", line 278, in get_files_from_listfile
File "mercurial\pathutil.pyc", line 234, in canonpath
TypeError: startswith first arg must be str or a tuple of str, not byteshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5800TortoiseHg 6.1.2+ (Python3 BETA) MSI installer does not create Start Menu ent...2022-10-08T03:34:14ZajansveldTortoiseHg 6.1.2+ (Python3 BETA) MSI installer does not create Start Menu entries (and other Windows/Explorer integrations)The installer does not:
- create Start Menu entries
- register in Add/Remove Programs (aka "Apps and Features")
- generate overlay icons
- show Explorer context menus
So far I have only observed this with tortoisehg-6.1.2-x64-py3-beta....The installer does not:
- create Start Menu entries
- register in Add/Remove Programs (aka "Apps and Features")
- generate overlay icons
- show Explorer context menus
So far I have only observed this with tortoisehg-6.1.2-x64-py3-beta.msi (created 2022-05-07); it works fine with tortoisehg-6.1.0-py3_BETA-x64.msi.Windows py3 releasehttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5797Python 3 Windows file context menu error2022-06-07T14:46:00ZAay Jay ChanPython 3 Windows file context menu errorSelecting file context menu items such as `HG Commit`, `Revision History`, `Visual Diff` causes error:
#!python
** Mercurial version (6.1.2+hg305.a13398ef7e55). TortoiseHg version (6.1.2+12-e8682f4e7a70)
** Command: --nofor...Selecting file context menu items such as `HG Commit`, `Revision History`, `Visual Diff` causes error:
#!python
** Mercurial version (6.1.2+hg305.a13398ef7e55). TortoiseHg version (6.1.2+12-e8682f4e7a70)
** Command: --nofork commit --listfile C:\Users\AAYJAY~1\AppData\Local\Temp\THG8107.tmp
** CWD: C:\Users\aayjaychan\Documents\aaa
** Encoding: utf-8
** Extensions loaded: absorb, churn, convert, eol, evolve 10.5.1, git (pygit2 1.9.1), hggit 1.0.0 (dulwich 0.20.35), histedit, phabricator, rebase, relink, share, strip, topic 0.24.1.dev, 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.6 QScintilla-2.13.2
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 419, in runcommand
File "tortoisehg\hgqt\run.pyc", line 278, in get_files_from_listfile
File "mercurial\pathutil.pyc", line 234, in canonpath
TypeError: startswith first arg must be str or a tuple of str, not byteshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5794LookupError: no node2022-06-27T18:37:07ZMark WuestLookupError: no nodeOpening workbench on a just committed (first commit to new repo) change gets:
>>>
#!python
** Mercurial version (6.1.2). TortoiseHg version (6.1.2)
** Command: --nofork workbench
** CWD: \\zwtstsailiiq01\SailPoint\TestCo...Opening workbench on a just committed (first commit to new repo) change gets:
>>>
#!python
** Mercurial version (6.1.2). TortoiseHg version (6.1.2)
** Command: --nofork workbench
** CWD: \\zwtstsailiiq01\SailPoint\TestCodeBackup - 5-12
** 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\manifestmodel.pyo", line 440, in fetchMore
File "tortoisehg\hgqt\manifestmodel.pyo", line 499, in _populateNodes
File "tortoisehg\hgqt\manifestmodel.pyo", line 704, in _populaterepo
File "tortoisehg\hgqt\manifestmodel.pyo", line 736, in _populatesubrepos
File "mercurial\util.pyo", line 1766, in __get__
File "mercurial\context.pyo", line 172, in substate
File "mercurial\subrepoutil.pyo", line 82, in state
File "mercurial\context.pyo", line 84, in __contains__
File "mercurial\util.pyo", line 1766, in __get__
File "mercurial\context.pyo", line 538, in _manifest
File "mercurial\context.pyo", line 542, in _manifestctx
File "mercurial\manifest.pyo", line 1952, in __getitem__
File "mercurial\manifest.pyo", line 1986, in get
File "mercurial\manifest.pyo", line 1802, in rev
File "mercurial\revlog.pyo", line 804, in rev
LookupError: 00manifest@db4a42aa36d826deb07aeea4a70340c3fda01afe: no node
>>>https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5792Exploring a repository can lead to a file execution on Windows2022-05-29T12:06:26ZMathieu OLIVIERExploring a repository can lead to a file execution on WindowsI have a BAT file that has the same base name than one of my project directory (ex: "D:\Projects\MyTool.bat" and "D:\Projects\MyTool\\..."). On Windows, when I click on "Explore" for this particular project in the repository registry, it...I have a BAT file that has the same base name than one of my project directory (ex: "D:\Projects\MyTool.bat" and "D:\Projects\MyTool\\..."). On Windows, when I click on "Explore" for this particular project in the repository registry, it does not open an explorer window with the project directory. Instead, it runs the BAT file.
I took a brief look at the code and I think the problem comes from the "explore" function in "tortoisehg/hgqt/reporegistry.py" (line 558). I think
```python
def explore(self):
qtlib.openlocalurl(self._currentRepoRoot())
```
... should be replaced by:
```python
def explore(self):
qtlib.openlocalurl(os.path.join(self._currentRepoRoot(), ''))
```
... to have a backslash at the end of the directory name. It should prevent the confusion between the directory and executable name on Windows.
Since I don't know how to generate a TortoiseHg binary on Windows, I haven't been able to test this fix. I tested it on Linux though, and at least it doesn't seem to break the "explore" function there.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5790Deleted binary file - caused error2022-05-06T16:20:58ZPhilip LeeDeleted binary file - caused errorI'm not sure how I caused this problem, but..
Was using TortoiseHg 6.1.0.
Committed a change set which included 1 binary file deletion + lot's of code adds and updates.
When I pushed I got
'abort: empty or missing fie data for ...'
I ad...I'm not sure how I caused this problem, but..
Was using TortoiseHg 6.1.0.
Committed a change set which included 1 binary file deletion + lot's of code adds and updates.
When I pushed I got
'abort: empty or missing fie data for ...'
I added the binary file back as another commit, and the push then succeeded.
Now if I view the commit which contains the file delete I get this error pop up and 'please report this bug...'
```
#!python
** Mercurial version (6.1.1). TortoiseHg version (6.1.1)
** Command:
** CWD: C:\WINDOWS\system32
** 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\revdetails.pyo", line 421, in _onFileSelected
File "tortoisehg\hgqt\fileview.pyo", line 503, in display
File "tortoisehg\hgqt\filedata.pyo", line 469, in load
File "mercurial\patch.pyo", line 2561, in diff
File "mercurial\patch.pyo", line 3007, in trydiff
File "mercurial\patch.pyo", line 3007, in <genexpr>
File "mercurial\context.pyo", line 960, in isbinary
File "mercurial\context.pyo", line 1322, in data
File "mercurial\util.pyo", line 1766, in __get__
File "mercurial\context.pyo", line 827, in _filenode
File "mercurial\filelog.pyo", line 77, in lookup
File "mercurial\utils\storageutil.pyo", line 241, in fileidlookup
LookupError: data/TeraView.TeraPulse.ThirdParty/Aga/Aga.Controls.dll@f6c97c2a1afe91fc577202b0fc4829a8035e8cff: no match found
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5789crash report: py3.10 mercurial 6.12022-04-29T21:43:54Zalexraynecrash report: py3.10 mercurial 6.1works on mandjaro linux, on py3.10, and mercurial 6.1
take revision `stable fc0c6fe82cc2`
and got this crach on run:
```
[alexrayne@alexrayne-VB thg.hg]$ python ./thg --nofork
Traceback (most recent call last):
File "/home/alexrayne...works on mandjaro linux, on py3.10, and mercurial 6.1
take revision `stable fc0c6fe82cc2`
and got this crach on run:
```
[alexrayne@alexrayne-VB thg.hg]$ python ./thg --nofork
Traceback (most recent call last):
File "/home/alexrayne/thg.hg/./thg", line 99, in <module>
tortoisehg.hgqt.run.run()
File "/usr/lib/python3.10/importlib/util.py", line 247, in __getattribute__
self.__spec__.loader.exec_module(self)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/alexrayne/thg.hg/tortoisehg/hgqt/run.py", line 499, in <module>
_('repository root directory or symbolic path name')),
File "/home/alexrayne/thg.hg/tortoisehg/util/i18n.py", line 109, in agettext
return hglib.fromunicode(u)
File "/usr/lib/python3.10/importlib/util.py", line 247, in __getattribute__
self.__spec__.loader.exec_module(self)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/alexrayne/thg.hg/tortoisehg/util/hglib.py", line 344, in <module>
readmergestate = mergemod.mergestate.read
File "/usr/lib/python3.10/importlib/util.py", line 258, in __getattribute__
return getattr(self, attr)
AttributeError: module 'mercurial.merge' has no attribute 'mergestate'. Did you mean: 'mergestatemod'?
[alexrayne@alexrayne-VB thg.hg]$ hg --version
Распределенная SCM Mercurial (версия 6.1)
(see https://mercurial-scm.org for more information)
Copyright (C) 2005-2022 Olivia Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[alexrayne@alexrayne-VB thg.hg]$
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5788Paste Filenames in the Commit Message pane fails2022-05-14T01:08:06ZErikZanePaste Filenames in the Commit Message pane failsSelecting Paste Filenames causes an error to occur. This has been around a while, and I think it would actually cause the workbench to no longer work. Now, it seems like one can continue to work. The error report is:
```
#!python
...Selecting Paste Filenames causes an error to occur. This has been around a while, and I think it would actually cause the workbench to no longer work. Now, it seems like one can continue to work. The error report is:
```
#!python
** Mercurial version (6.1.1). TortoiseHg version (6.1.1)
** Command: --nofork
** CWD: /home/erik
** Encoding: UTF-8
** Extensions loaded: extdiff, strip, tortoisehg.util.configitems
** Python version: 3.10.4 (main, Apr 2 2022, 09:04:19) [GCC 11.2.0]
** System: Linux erik-Precision-7740 5.15.0-27-generic #28-Ubuntu SMP Thu Apr 14 04:55:28 UTC 2022 x86_64
** Qt-5.15.3 PyQt-5.15.6 QScintilla-2.11.6
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/tortoisehg/hgqt/messageentry.py", line 109, in paste
self.insert('\n'.join(sorted(files)))
TypeError: sequence item 0: expected str instance, bytes found
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5787Crash when trying to open Workbench using 6.1.1 on Windows 112022-04-24T23:42:11ZSebastian ZartnerCrash when trying to open Workbench using 6.1.1 on Windows 11I just updated from TortoiseHg 6.0 to 6.1.1. When I now try to open the Workbench from the Windows 11 context menu I get this error:
#!python
** Mercurial version (6.1.1). TortoiseHg version (6.1.1)
** Command: --nofork wor...I just updated from TortoiseHg 6.0 to 6.1.1. When I now try to open the Workbench from the Windows 11 context menu I get this error:
#!python
** Mercurial version (6.1.1). TortoiseHg version (6.1.1)
** Command: --nofork workbench
** CWD: D:\mozilla-central
** Encoding: cp1252
** Extensions loaded: absorb, clang-format, evolve 10.4.1, firefoxtree, fsmonitor, histedit, js-format, push-to-try, rebase, show, 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\run.pyo", line 139, in dispatch
File "tortoisehg\hgqt\run.pyo", line 343, in _runcatch
File "tortoisehg\hgqt\run.pyo", line 437, in runcommand
File "tortoisehg\hgqt\run.pyo", line 489, in _runcommand
File "tortoisehg\hgqt\run.pyo", line 442, in checkargs
File "tortoisehg\hgqt\run.pyo", line 436, in <lambda>
File "tortoisehg\hgqt\qtapp.pyo", line 462, in __call__
File "tortoisehg\hgqt\qtapp.pyo", line 526, in _createdialog
File "mercurial\util.pyo", line 1887, in check
File "tortoisehg\hgqt\run.pyo", line 1059, in log
File "tortoisehg\hgqt\run.pyo", line 535, in _workbench
File "tortoisehg\hgqt\workbench.pyo", line 745, in showRepo
File "tortoisehg\hgqt\workbench.pyo", line 739, in openRepo
File "tortoisehg\hgqt\repotab.pyo", line 127, in openRepo
File "tortoisehg\hgqt\repotab.pyo", line 407, in _createRepoWidget
File "tortoisehg\hgqt\repowidget.pyo", line 227, in __init__
File "tortoisehg\hgqt\repowidget.pyo", line 259, in setupUi
File "tortoisehg\hgqt\repofilter.pyo", line 264, in __init__
File "tortoisehg\hgqt\repofilter.pyo", line 554, in refresh
File "tortoisehg\hgqt\repofilter.pyo", line 491, in _updateBranchFilter
File "tortoisehg\util\hglib.pyo", line 237, in namedbranches
File "mercurial\localrepo.pyo", line 2155, in branchmap
File "mercurial\branchmap.pyo", line 73, in __getitem__
File "mercurial\branchmap.pyo", line 97, in updatecache
File "mercurial\branchmap.pyo", line 73, in __getitem__
File "mercurial\branchmap.pyo", line 97, in updatecache
File "mercurial\branchmap.pyo", line 73, in __getitem__
File "mercurial\branchmap.pyo", line 97, in updatecache
File "mercurial\branchmap.pyo", line 73, in __getitem__
File "mercurial\branchmap.pyo", line 106, in updatecache
File "mercurial\branchmap.pyo", line 583, in update
File "mercurial\branchmap.pyo", line 369, in validfor
File "mercurial\scmutil.pyo", line 369, in filteredhash
TypeError: unhashable type: 'set'
After this error, I first run the installation again choosing previously deselected options, then tried the "Repair" option, and finally uninstalled TortoiseHg and reinstalled it.
Unfortunately, I still get the same error.
Sebastianhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5783TortoiseHG crash when trying to merge or rebase commits imported from SVN2022-10-08T03:34:16ZcapdjTortoiseHG crash when trying to merge or rebase commits imported from SVNOn one of my repositories, trying to merge or rebase gives the following error:
```
#!python
** Mercurial version (6.1). TortoiseHg version (6.1)
** Command:
** CWD: C:\WINDOWS\system32
** Encoding: cp1252
** E...On one of my repositories, trying to merge or rebase gives the following error:
```
#!python
** Mercurial version (6.1). TortoiseHg version (6.1)
** Command:
** CWD: C:\WINDOWS\system32
** Encoding: cp1252
** Extensions loaded: rebase, 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\repowidget.pyo", line 2037, in mergeWithRevision
File "tortoisehg\hgqt\qtlib.pyo", line 1284, in open
File "tortoisehg\hgqt\qtlib.pyo", line 1304, in _preparedlg
File "tortoisehg\hgqt\qtlib.pyo", line 1307, in _populatedlg
File "tortoisehg\hgqt\repowidget.pyo", line 240, in <lambda>
File "tortoisehg\hgqt\repowidget.pyo", line 2040, in _createMergeDialog
File "tortoisehg\hgqt\merge.pyo", line 69, in __init__
File "tortoisehg\hgqt\merge.pyo", line 199, in __init__
File "tortoisehg\hgqt\csinfo.pyo", line 109, in __call__
File "tortoisehg\hgqt\csinfo.pyo", line 485, in update
File "tortoisehg\hgqt\csinfo.pyo", line 392, in get_markup
File "tortoisehg\hgqt\csinfo.pyo", line 350, in get_markup
File "tortoisehg\hgqt\csinfo.pyo", line 316, in preset_func
TypeError: decoding Unicode is not supported
```
Following the traceback it's to do with displaying SVN commit details - which does appear to be the case; this repository contains commits imported from an SVN repo, and I can't rebase or merge against those commits, but can successfully rebase two local commits made in THG that haven't come from SVN.
I can merge and rebase as expected using hg on the command line, which makes sense (it's solely the display of these details within THG that's causing the crash?).https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5781Windows py3 installer needs an updated evolve extension2022-04-04T20:37:48ZMatt HarbisonWindows py3 installer needs an updated evolve extension10.4.1 isn't compatible with hg 6.1.10.4.1 isn't compatible with hg 6.1.Windows py3 releasehttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5780The curses interface doesn't work on Windows with py32022-05-14T01:08:09ZMatt HarbisonThe curses interface doesn't work on Windows with py3This is specific to the py3 beta installer. It appears that the `curses` *.py files are packaged in library.zip, but the native modules are not:
```
C:\Users\Administrator\hg>hg debugshell
Python 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021...This is specific to the py3 beta installer. It appears that the `curses` *.py files are packaged in library.zip, but the native modules are not:
```
C:\Users\Administrator\hg>hg debugshell
Python 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> import curses
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "<frozen zipimport>", line 259, in load_module
File "curses\__init__.pyc", line 13, in <module>
ModuleNotFoundError: No module named '_curses'
```
My py2 install has `lib\_curses.pyd` and `lib\_curses_panel.pyd`Windows py3 releasehttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5779OpenSSL libraries need to be bundled in Windows py3 installer2022-05-08T03:12:35ZMatt HarbisonOpenSSL libraries need to be bundled in Windows py3 installer`libeay32.dll` and `ssleay32.dll` are needed to check the website for updates`libeay32.dll` and `ssleay32.dll` are needed to check the website for updatesWindows py3 releasehttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5778hg.exe doesn't see any of the default config files on py32022-05-08T03:16:59ZMatt Harbisonhg.exe doesn't see any of the default config files on py3This is related to the py3 beta installer. I had to launch thg.exe on the command line with `--config ui.username=test` to work around #5775. `hg config --pager=never` has no output in the terminal, but does have some in the log window...This is related to the py3 beta installer. I had to launch thg.exe on the command line with `--config ui.username=test` to work around #5775. `hg config --pager=never` has no output in the terminal, but does have some in the log window. It's still not everything, and `hg config -e` wants to open `vi` by default.Windows py3 release