thg issueshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues2022-11-15T16:05:40Zhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5847Bug on opening Workbench of existing project2022-11-15T16:05:40ZWolfgang SchroederBug on opening Workbench of existing projectTortoiseHg- Error report:
```python
** Mercurial version (6.2.3). TortoiseHg version (6.2.3)
** Command: --nofork workbench
** CWD: C:\DATA\PRIVAT\Projekte\Weyergans\Ionomed_Dermio\IONOMED3_TOUCHSCREEN\DERMIO_CARE_PLUS\Firmware.Standar...TortoiseHg- Error report:
```python
** Mercurial version (6.2.3). TortoiseHg version (6.2.3)
** Command: --nofork workbench
** CWD: C:\DATA\PRIVAT\Projekte\Weyergans\Ionomed_Dermio\IONOMED3_TOUCHSCREEN\DERMIO_CARE_PLUS\Firmware.Standard
** 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.7 QScintilla-2.13.3
Traceback (most recent call last):
File "tortoisehg\hgqt\manifestmodel.pyc", line 440, in fetchMore
File "tortoisehg\hgqt\manifestmodel.pyc", line 499, in _populateNodes
File "tortoisehg\hgqt\manifestmodel.pyc", line 704, in _populaterepo
File "tortoisehg\hgqt\manifestmodel.pyc", line 735, in _populatesubrepos
File "mercurial\util.pyc", line 1759, in __get__
File "mercurial\context.pyc", line 169, in substate
File "mercurial\subrepoutil.pyc", line 78, in state
File "mercurial\context.pyc", line 81, in __contains__
File "mercurial\util.pyc", line 1759, in __get__
File "mercurial\context.pyc", line 535, in _manifest
File "mercurial\manifest.pyc", line 2086, in read
File "mercurial\manifest.pyc", line 479, in __init__
ValueError: Manifest did not end in a newline.
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5843CPP formatting in rejects dialog is broken on windows2022-11-03T16:41:24ZeclaziCPP formatting in rejects dialog is broken on windowsThe formatting of text in the rejects dialog is broken. Appears to be related to the QsciLexerCPP.
Forcing the lexer to None resolves the problem (although no cpp syntax highlighting)
```
lexer = lexers.getlexer(ui, hglib.toun...The formatting of text in the rejects dialog is broken. Appears to be related to the QsciLexerCPP.
Forcing the lexer to None resolves the problem (although no cpp syntax highlighting)
```
lexer = lexers.getlexer(ui, hglib.tounicode(path), earlybytes, self)
lexer = None
editor.setLexer(lexer)
if lexer is None:
editor.setFont(qtlib.getfont('fontlog').font())
```
![image](/uploads/51d56ea172d0709d7987a46b1c88cdc9/image.png)
Tested in 6.2.3https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5842Japanese texts from hg.exe are garbled.2022-11-01T18:36:32ZlbfuvabJapanese texts from hg.exe are garbled.I installed TortoiseHG v6.2.2 and try 'hg' command in cmd.
Then I found Japanese texts from hg.exe were garbled.
![ss1](/uploads/60725879de4e5a887a47b8ed1daa5227/ss1.png).
Moreover, it is quite odd that hg.exe installed from Mercurial w...I installed TortoiseHG v6.2.2 and try 'hg' command in cmd.
Then I found Japanese texts from hg.exe were garbled.
![ss1](/uploads/60725879de4e5a887a47b8ed1daa5227/ss1.png).
Moreover, it is quite odd that hg.exe installed from Mercurial works correctly.
![ss2](/uploads/ba985dfb616bfb76138087826a0ecd41/ss2.png)
Would you please tell me how to fix this issue?
If there are no way to fix this issue, would you please tell me how to switch the language to English?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/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/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/5819No pagination of hg output as of version 6.22022-10-31T14:53:42ZMartin GiesekingNo pagination of hg output as of version 6.2I've just updated TortoiseHg to version 6.2 on a Windows machine and noticed that the output of `hg` commands is no longer paginated, i.e. the pager doesn't seem to be executed. My settings from _mercurial.ini_ are recognized because `hg...I've just updated TortoiseHg to version 6.2 on a Windows machine and noticed that the output of `hg` commands is no longer paginated, i.e. the pager doesn't seem to be executed. My settings from _mercurial.ini_ are recognized because `hg config` lists them but they have no effect:
```
pager.pager=less -R -F -X
pager.attend=annotate, cat, diff, export, glog, help, log, qdiff, qseries, status, tags
pager.ignore=version, help, update
```
Also, when removing all pager settings or replacing `less` with something else doesn't change anything. The values of environment variable `PAGER` and `ui.paginate` (as mentioned in `hg help pager`) have no effect either. Regardless of the settings, the output is not piped through any pager.
Is this an issue with thg's bundled Mercurial or should I report this upstream as well?Windows py3 releasehttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5816THG 6.2 font problem2022-07-20T12:27:57ZvitidevTHG 6.2 font problem![viti-16-07-2022-05-55-11](/uploads/d93994da6e92fa0056c3cee7d19d917f/viti-16-07-2022-05-55-11.gif)
![viti-16-07-2022-06-16-47](/uploads/f2fd3f87e8d97e5b2c1d01d7540ebfdd/viti-16-07-2022-06-16-47.gif)
Same issue with fonts in shelf 'edit...![viti-16-07-2022-05-55-11](/uploads/d93994da6e92fa0056c3cee7d19d917f/viti-16-07-2022-05-55-11.gif)
![viti-16-07-2022-06-16-47](/uploads/f2fd3f87e8d97e5b2c1d01d7540ebfdd/viti-16-07-2022-06-16-47.gif)
Same issue with fonts in shelf 'edit patched file and rejects'. Dangerous to edit
This is clone thg repo, so the py2exe is not affected
Any ideas?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/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/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/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/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/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/5786Windows TortoiseHg taskbar icon is missing2023-05-05T11:39:55ZGreg SmithWindows TortoiseHg taskbar icon is missing![image](/uploads/88fcea4196d914b36e7f77036f20e80e/image.png)
There appears to be no task-bar icon associated with TortoiseHg. The right-most icon in the taskbar image (above) is TortoiseHg, which is showing the generic 'no icon' image....![image](/uploads/88fcea4196d914b36e7f77036f20e80e/image.png)
There appears to be no task-bar icon associated with TortoiseHg. The right-most icon in the taskbar image (above) is TortoiseHg, which is showing the generic 'no icon' image. I know this is trivial, but it is disconcerting... If I right-click on the taskbar icon and open the properties, the Change Icon... option is grayed out. I am running 6.1.1 (though I think this was the same in 6.1).