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/5808Mixed UI languages2023-04-06T16:28:04Zfinn-czMixed UI languagesIn the latest version of TortoiseHg 6.2rc0, the English strings in the user interface are mixed with Czech, although the application language is forced to en_GB.In the latest version of TortoiseHg 6.2rc0, the English strings in the user interface are mixed with Czech, although the application language is forced to en_GB.https://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/5804error during hg convert2022-07-27T04:43:05Zfrank baroneerror during hg convertI am using TortoiseHg 4.6.1. I am using hg convert source_repo destination repo. both destination and source are mercurial repos. it always fails at same node. I used -debug -trace to find out more. this is the error message i am gettin...I am using TortoiseHg 4.6.1. I am using hg convert source_repo destination repo. both destination and source are mercurial repos. it always fails at same node. I used -debug -trace to find out more. this is the error message i am getting. please let me know how to fix the issue. thank you very much. malathi.
#!python
** Mercurial version (4.6.1). TortoiseHg version (4.6.1)
** Command:
** CWD: C:\WINDOWS\system32
** Encoding: cp1252
** Extensions loaded: fetch, keyword, strip, mq, purge, rebase, shelve, split, convert, tortoisehg.util.configitems
** Python version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [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.2 PyQt-5.9.1 QScintilla-2.10.2.dev1711012104
Traceback (most recent call last):
File "tortoisehg\hgqt\repowidget.pyo", line 889, in onRevisionSelected
File "tortoisehg\hgqt\revdetails.pyo", line 307, in onRevisionSelected
File "tortoisehg\hgqt\revdetails.pyo", line 328, in _setContextToFileList
File "tortoisehg\hgqt\manifestmodel.pyo", line 289, in setRev
File "tortoisehg\hgqt\manifestmodel.pyo", line 403, in _repopulateNodes
File "tortoisehg\hgqt\manifestmodel.pyo", line 431, in _populateNodes
File "tortoisehg\hgqt\manifestmodel.pyo", line 604, in _populaterepo
File "tortoisehg\hgqt\manifestmodel.pyo", line 634, in _populatesubrepos
File "mercurial\util.pyo", line 1437, in __get__
File "mercurial\context.pyo", line 166, in substate
File "mercurial\subrepoutil.pyo", line 61, in state
File "mercurial\context.pyo", line 1088, in data
File "mercurial\util.pyo", line 1437, in __get__
File "mercurial\context.pyo", line 702, in _filenode
File "mercurial\filelog.pyo", line 54, in lookup
File "mercurial\revlog.pyo", line 1494, in lookup
File "mercurial\revlog.pyo", line 1416, in _match
File "mercurial\revlog.pyo", line 812, in rev
WdirUnsupportedhttps://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/5799Shift+Home in console does not select2022-05-31T15:31:15ZCarl ReinkeShift+Home in console does not selectIt looks like it makes the selection (including the `% ` prefix) and then cancels the selection because you aren't allowed to select in the `% ` prefix. Shift+Left has similar behavior when the selection would overlap the `% ` prefix.It looks like it makes the selection (including the `% ` prefix) and then cancels the selection because you aren't allowed to select in the `% ` prefix. Shift+Left has similar behavior when the selection would overlap the `% ` prefix.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5798Drag and drop rebase [feature request]2022-05-25T18:47:04ZPhasmalDrag and drop rebase [feature request]I often end up with a long-ish sequence of commits to manage for a given published change (eg pull request). I sometimes need to reorder commits so that they make sense, or so I can publish sub-sequences of the commits separately. This ...I often end up with a long-ish sequence of commits to manage for a given published change (eg pull request). I sometimes need to reorder commits so that they make sense, or so I can publish sub-sequences of the commits separately. This is tedious on the command line, since once a repository has enough versions, it's annoying to type individual commit number or hash subsequences (eg once they're above a few char for the unique sequence), but copy+pasting individual items is tedious.
I'd love to instead be able to use tortoiseHg's view of the commit log, and just drag one commit onto another and have it rebase (maybe with a confirmation dialog).https://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/5796iniparse optional in tortoisehg deb for Ubuntu 22.042022-05-18T15:15:26Zlong76iniparse optional in tortoisehg deb for Ubuntu 22.04i use command
`sudo apt install tortoisehg`
`python-iniparse` only in recommends package like `python-pygments`
`python-iniparse` must be required and called `python3-iniparse`i use command
`sudo apt install tortoisehg`
`python-iniparse` only in recommends package like `python-pygments`
`python-iniparse` must be required and called `python3-iniparse`https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5795Merge tools: Commit message in plabel1?2022-05-17T17:22:47ZPeter SuterMerge tools: Commit message in plabel1?TortoiseHG allows configuring a merge tool to passing labels like `/lefttitle='$plabel1' /centertitle='$clabel' /righttitle='$plabel2'`. I guess these are the relevant files:
* https://foss.heptapod.net/mercurial/tortoisehg/thg/-/blob/b...TortoiseHG allows configuring a merge tool to passing labels like `/lefttitle='$plabel1' /centertitle='$clabel' /righttitle='$plabel2'`. I guess these are the relevant files:
* https://foss.heptapod.net/mercurial/tortoisehg/thg/-/blob/branch/stable/contrib/mergetools.rc
* https://foss.heptapod.net/mercurial/tortoisehg/thg/-/blob/branch/stable/tortoisehg/hgqt/resolve.py#L348
* https://foss.heptapod.net/mercurial/tortoisehg/thg/-/blob/branch/stable/tortoisehg/hgqt/visdiff.py#L437
Is it possible to somehow configure the labels more? For example it seems to me the commit message might be useful, when rebasing many changesets and one of them conflicts, it is often difficult to know the context of the current resolution dialog.https://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/5793Get TortoiseHG to remember which file filters I selected?2022-05-11T15:12:51ZDavid HollmanGet TortoiseHG to remember which file filters I selected?Every time I restart Tortoise HG it resets the set of selected file filters. I usually have it like this:
![image](/uploads/b44fd24c4ff61070253d4be03854be5e/image.png)
But when I restart it it defaults to this:
![image](/uploads/6a419...Every time I restart Tortoise HG it resets the set of selected file filters. I usually have it like this:
![image](/uploads/b44fd24c4ff61070253d4be03854be5e/image.png)
But when I restart it it defaults to this:
![image](/uploads/6a4199860a9bfae6be2ad27dd5c6219b/image.png)
So the "ignored" and "subrep" items always come back CHECKED even though my preference is to leave them off.
Most THG settings end up in Mercurial.ini but as far as I can tell this one isn't being saved at all. Is there anything I can do to make it so?
I'm using:
```
TortoiseHg
version 5.9.2
with Mercurial-5.9.2, Python-2.7.18, PyQt-5.13.2, Qt-5.9.9
```
but this has happened in every version I can remember.
---
FYI I asked about this [on SO](https://stackoverflow.com/q/72086389/3195477) but got no replies after a while, so thought it was better to ask here.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/5791Feature request: support "hg share" from THG GUI2022-05-05T22:34:57ZDavid HollmanFeature request: support "hg share" from THG GUII noticed that the File > Clone options don't seem to have any way to create a repository that is a `share` instead of an outright clone. I'm not aware of any other way to do this from within THG either. But I find `hg share` to be a ver...I noticed that the File > Clone options don't seem to have any way to create a repository that is a `share` instead of an outright clone. I'm not aware of any other way to do this from within THG either. But I find `hg share` to be a very useful feature especially for large repositories. Its faster to setup, reduces disk space considerably, and seems to have few downsides. I think however its not a very well known feature for some reason, but exposing it in THG would probably bring it more well-deserved attention (IMO).
Thankshttps://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
```