thg issueshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues2020-12-03T06:05:06Zhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5657Displaying current working directory changes with Ctrl+S revision set query?2020-12-03T06:05:06ZArtalusDisplaying current working directory changes with Ctrl+S revision set query?This is what I get in a default view:
![image](/uploads/b1dcf40effd2f5a3b63642f90a633bb2/image.png)
This is after filtering by non-pushed stuff (via `not public() or (heads(public()) and not closed()) or .`):
![image](/uploads/63009d4a...This is what I get in a default view:
![image](/uploads/b1dcf40effd2f5a3b63642f90a633bb2/image.png)
This is after filtering by non-pushed stuff (via `not public() or (heads(public()) and not closed()) or .`):
![image](/uploads/63009d4ab72e02a20895c9bc54ae597c/image.png)
I'd like to also display my current changes to be able to commit them, but if I add ` or wdir()` (according to https://www.mercurial-scm.org/repo/hg/help/revsets) I get `b"unknown revision '2147483646'"` error
```
#!python
** Mercurial version (5.6). TortoiseHg version (5.6+80-a3bcac8c7318)
** Command:
** CWD: /home/iivanov
** Encoding: UTF-8
** Extensions loaded: clonebundles, extdiff, largefiles, graphlog, histedit, rebase, strip, mq, purge, tortoisehg.util.configitems
** Python version: 3.8.5 (default, Sep 5 2020, 10:50:12) [GCC 10.2.0]
** System: Linux dssl 4.19.147-1-MANJARO #1 SMP Wed Sep 23 18:00:56 UTC 2020 x86_64
** Qt-5.15.1 PyQt-5.15.1 QScintilla-2.11.5
Traceback (most recent call last):
File "/home/iivanov/.local/lib/python3.8/site-packages/mercurial/localrepo.py", line 1672, in __getitem__
node = self.changelog.node(changeid)
File "/home/iivanov/.local/lib/python3.8/site-packages/mercurial/revlog.py", line 876, in node
return self.index[rev][7]
IndexError: revlog index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/iivanov/.local/lib/python3.8/site-packages/tortoisehg/hgqt/repomodel.py", line 357, in _onQueryFinished
self._applyRevsetResult(revs)
File "/home/iivanov/.local/lib/python3.8/site-packages/tortoisehg/hgqt/repomodel.py", line 366, in _applyRevsetResult
self._rebuildGraph()
File "/home/iivanov/.local/lib/python3.8/site-packages/tortoisehg/hgqt/repomodel.py", line 269, in _rebuildGraph
newgraph.build_nodes(self._fill_step)
File "/home/iivanov/.local/lib/python3.8/site-packages/tortoisehg/hgqt/graph.py", line 965, in build_nodes
for gnode in self.grapher:
File "/home/iivanov/.local/lib/python3.8/site-packages/tortoisehg/hgqt/graph.py", line 605, in _iter_graphnodes
for ctx, parents in dag.walk():
File "/home/iivanov/.local/lib/python3.8/site-packages/tortoisehg/hgqt/graph.py", line 524, in walk
for ctx in self._iter_revs(repo, lambda rev: True):
File "/home/iivanov/.local/lib/python3.8/site-packages/tortoisehg/hgqt/graph.py", line 339, in _iter_revs
yield repo[curr_rev]
File "/home/iivanov/.local/lib/python3.8/site-packages/tortoisehg/hgqt/thgrepo.py", line 814, in __getitem__
changectx = super(thgrepository, self).__getitem__(changeid)
File "/home/iivanov/.local/lib/python3.8/site-packages/hgext/largefiles/reposetup.py", line 48, in __getitem__
ctx = super(lfilesrepo, self).__getitem__(changeid)
File "/home/iivanov/.local/lib/python3.8/site-packages/mercurial/localrepo.py", line 1716, in __getitem__
raise error.RepoLookupError(
mercurial.error.RepoLookupError: b"unknown revision '2147483646'"
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5653Integration with KDE Dolphin2021-04-11T03:45:44ZDimitar DobrevIntegration with KDE DolphinTortoiseHg is an excellent client not just for Mercurial but for Git too. There are simply no working Git shell extensions for Linux, including RabbitVCS. The only piece TortoiseHg lacks is integration with Dolphin, the file manager in K...TortoiseHg is an excellent client not just for Mercurial but for Git too. There are simply no working Git shell extensions for Linux, including RabbitVCS. The only piece TortoiseHg lacks is integration with Dolphin, the file manager in KDE.
While overlay icons can be difficult, the menu itself is relatively easy to support through KDE's .desktop files. [I was able to find one](https://gist.github.com/nicobo/3765877) but it's unfortunately severely outdated: all paths to icons are wrong and so are some commands, such as the workbench (_--newworkbench_ instead of _log_; in this particular case fixing by hand didn't work either as the workbench appears for a second in the task-bar and disappears). Until the issue is fully fixed, may I ask for an updated .desktop files for Dolphin? Thank you.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5652Can't open a new workbench2021-08-06T04:04:58ZSimon StockwellCan't open a new workbench #!python
** Mercurial version (5.6). TortoiseHg version (5.6)
** Command:
** CWD: /Applications
** Encoding: utf-8
** Extensions loaded: tortoisehg.util.configitems
** Python version: 2.7.17 (default, Feb 6... #!python
** Mercurial version (5.6). TortoiseHg version (5.6)
** Command:
** CWD: /Applications
** Encoding: utf-8
** Extensions loaded: tortoisehg.util.configitems
** Python version: 2.7.17 (default, Feb 6 2020, 15:30:19) [GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.46.4)]
** System: Darwin Simons-MacBook-Pro.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64
** Qt-5.9.9 PyQt-5.13.2 QScintilla-2.11.4
Traceback (most recent call last):
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/workbench.py", line 939, in newWorkbench
File "subprocess.pyc", line 394, in __init__
File "subprocess.pyc", line 1047, in _execute_child
OSError: [Errno 13] Permission deniedhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5651thg on windows suddenly infer extra ignores to my repo2020-11-19T18:09:12Zalexraynethg on windows suddenly infer extra ignores to my repoHallow!
work on win8. trying to fing my loosed libraryes found that mercurial under thg suddenly extends my .hgignore with some other expressions. Therefore i loose *.lib files on my repo
installed thg5.6 x64 : Mercurial-5.5(or 5.6), Py...Hallow!
work on win8. trying to fing my loosed libraryes found that mercurial under thg suddenly extends my .hgignore with some other expressions. Therefore i loose *.lib files on my repo
installed thg5.6 x64 : Mercurial-5.5(or 5.6), Python-2.7.17, PyQt-5.13.2, Qt-5.9.9
invoke command shell on my repo, and give command:
```
D:\projects\lora\loramac-node.hggit>hg debugignore
*** эх єфрыюё№ шьяюЁЄшЁютрЄ№ Ёрё°шЁхэшх hggit шч D:\projects\hg\hg-git\hggit\: N
o module named 'dulwich'
*** эх єфрыюё№ шьяюЁЄшЁютрЄ№ Ёрё°шЁхэшх evolve: No module named 'evolve'
*** эх єфрыюё№ шьяюЁЄшЁютрЄ№ Ёрё°шЁхэшх hgfluiddyn: No module named 'hgfluiddyn'
<includematcher includes='(?:|.*/).*\\.git(?:/|$)|(?:|.*/).*\\.rej(?:/|$)|(?:|.*
/).*\\.orig(?:/|$)|(?:|.*/).*\\.patch(?:/|$)|(?:|.*/)Thumbs\\.db(?:/|$)|.*\\.obj
(?:/|$)|.*\\.exe(?:/|$)|.*\\.pdb(?:/|$)|.*\\.user(?:/|$)|.*\\.aps(?:/|$)|.*\\.pc
h(?:/|$)|.*\\.vspscc(?:/|$)|.*_i\\.c(?:/|$)|.*_p\\.c(?:/|$)|.*\\.ncb(?:/|$)|.*\\
.suo(?:/|$)|.*\\.tlb(?:/|$)|.*\\.tlh(?:/|$)|.*\\.bak(?:/|$)|.*\\.cache(?:/|$)|.*
\\.ilk(?:/|$)|.*\\.log(?:/|$)|.*\\.dll(?:/|$)|.*\\.lib(?:/|$)|.*\\.sbr(?:/|$)'>
```
when invoke same from native shell (provided by windows, not by thg):
```
D:\projects\lora\loramac-node.hggit>hg debugignore
*** эх єфрыюё№ шьяюЁЄшЁютрЄ№ Ёрё°шЁхэшх evolve: No module named 'evolve'
*** эх єфрыюё№ шьяюЁЄшЁютрЄ№ Ёрё°шЁхэшх hggit: No module named 'hggit'
<includematcher includes='(?:|.*/).*\\.git(?:/|$)|(?:|.*/).*\\.rej(?:/|$)|(?:|.*/).*\\.orig(?:/|$)|(
?:|.*/).*\\.patch(?:/|$)'>
D:\projects\lora\loramac-node.hggit>
```
now see, why my *.lib files are ignoredhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5650Diff window shows obj-c func in blue color. It is annoying2020-11-18T19:35:53ZVladDiff window shows obj-c func in blue color. It is annoying![Screenshot_2020-11-18_at_20.53.04](/uploads/a250d454a0166b7ecb265c3fe0b77bc7/Screenshot_2020-11-18_at_20.53.04.png)![Screenshot_2020-11-18_at_20.53.04](/uploads/a250d454a0166b7ecb265c3fe0b77bc7/Screenshot_2020-11-18_at_20.53.04.png)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5646segfault after upgrade to Fedora 332020-11-19T15:17:56Zpaul leroysegfault after upgrade to Fedora 33I had many issues with TortoiseHg on Fedora 32 (possible to launch it but impossible to use it due to a lack of compatibility with Python 3 as far as I understand it). After my upgrade to Fedora 33, it was impossible to launch TortoiseHg...I had many issues with TortoiseHg on Fedora 32 (possible to launch it but impossible to use it due to a lack of compatibility with Python 3 as far as I understand it). After my upgrade to Fedora 33, it was impossible to launch TortoiseHg.
Mitigation: remove TortoiseHgQt.ini from ~/.config/TortoiseHg
That's all folks! It works now.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5645Workbench freezes if username configuration is missing2022-10-02T18:47:05ZRoman ButakovWorkbench freezes if username configuration is missingLaunching thg, switching repositories, checkouting revisions, etc. causes UI freezes if username setting not defined (Mercurial itself work properly without lags).
This behavior has been noticed on a fresh installation. I didn't configu...Launching thg, switching repositories, checkouting revisions, etc. causes UI freezes if username setting not defined (Mercurial itself work properly without lags).
This behavior has been noticed on a fresh installation. I didn't configure hgrc and just wanted to get a specific version of the application from repo.
On the screenshot below messages stating that the name could not be found were displayed immediately after the freezes.
![thg_not_respond](/uploads/d73702b746153c49435e9fa5d143501d/thg_not_respond.png)
Version Info:
TortoiseHg version 5.6 with Mercurial-5.6, Python-2.7.17, PyQt-5.13.2, Qt-5.9.9
OS Windows 10 Home
Version 20H2
Build 19042.630https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5640[mq] delete patch with keep files don't save files2020-12-03T06:09:58Zlong76[mq] delete patch with keep files don't save filesdelete unapplied patch with "keep files" don't save files in work directory.
add strip(`hg strip -k patchname`) for aplied patch. Thanks!delete unapplied patch with "keep files" don't save files in work directory.
add strip(`hg strip -k patchname`) for aplied patch. Thanks!https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5639propose extended repoview navigation keys2020-10-23T15:20:36Zalexraynepropose extended repoview navigation keysHere provided extended navigating over repo history by keys.
- keys Alt+Up/Dn - go to first child/parent from current selected.
- keys Alt+Rt/Lf - go to next child/parent from last selected.
- key Alt+End - go current work revision
- k...Here provided extended navigating over repo history by keys.
- keys Alt+Up/Dn - go to first child/parent from current selected.
- keys Alt+Rt/Lf - go to next child/parent from last selected.
- key Alt+End - go current work revision
- key Alt+ Home - go to workcopy item
also provided config navkeys in resources/.rc at section [navkeys]:
- Items for "child", "parent", "nextchild", "nextparent","current", "work" recognises
- Values assignes in human-readble format recognised by QKeySeuence
patches attached:
[add-repoview-navkeys](/uploads/d13125683265e603c3c332ee32548ac2/add-repoview-navkeys)
[add-repoview-navkeys-cfg](/uploads/d06b782601eaf2a23dcd0b9e28f3560b/add-repoview-navkeys-cfg)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5638Randomly get two different behaviors when attempting to update to revision, f...2020-10-21T14:51:47Zteo1978Randomly get two different behaviors when attempting to update to revision, from "dirty" working directoryI have a working directory with some uncommitted changes.
I right-click on a previous revision and choose Update.
I get randomly one of the two following behaviors, sometimes one, sometimes the other:
A) In the update pop-up, the "Upd...I have a working directory with some uncommitted changes.
I right-click on a previous revision and choose Update.
I get randomly one of the two following behaviors, sometimes one, sometimes the other:
A) In the update pop-up, the "Update" button is disabled, unless I check the "Discard local changes, no backup" option
B) The Update button is enabled even if the checkbox is not checked, and if I click Update, I get a warning that there are uncommitted changes and asking me what to do: discard changes, or cancel.
Both behaviors make sense. One can argue in favour of one or the other; I haven't given much thought to which one is the best. But it certainly doesn't make sense to have sometimes one and sometimes the other; and I also don't see a good reason for preferring one under certain conditions and the other under other conditions. At some point I had the impression it depended on whether or not the uncommitted changes include added/removed files, but I am unable to reproduce the two cases at will, and I don't see a good reason why that should make a difference anyway.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5637Feature Request: add ability to specify column log width in percentage2020-10-20T04:15:03Zlong76Feature Request: add ability to specify column log width in percentage**reason:** i have 2 monitors with different resolution. when i drag tortoisehg window between monitors i should set width for columns again
please add it as glogal settings and as repository settings. thanks!**reason:** i have 2 monitors with different resolution. when i drag tortoisehg window between monitors i should set width for columns again
please add it as glogal settings and as repository settings. thanks!https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5634Nonsensical error: "Could not open network socket" at startup2020-10-10T23:15:35Zteo1978Nonsensical error: "Could not open network socket" at startupEvery time I launch thg I get these errors in the terminal where I run thg from:
```
_IceTransSocketUNIXConnect: Cannot connect to non-local host localhost
_IceTransSocketUNIXConnect: Cannot connect to non-local host localhost
Qt: Sessi...Every time I launch thg I get these errors in the terminal where I run thg from:
```
_IceTransSocketUNIXConnect: Cannot connect to non-local host localhost
_IceTransSocketUNIXConnect: Cannot connect to non-local host localhost
Qt: Session management error: Could not open network socket
```
The host name of my machine happens to be "localhost", because this is a recently-installed openSUSE, and strangely enough, on installation openSUSE didn't prompt me to choose a name for the machine (I think that's stupid if you ask me), so I guess that's the default name.
I mention this just in case the confusion between "localhost" as a name for the host, as opposed to the conventional name for the loopback network interface (i.e. 127.0.0.1), is in any way related to the issue (or anyway it could lead to confusion when trying to make sense of the above error messages).https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5633Randomly crashes all the time2021-07-16T21:18:07Zteo1978Randomly crashes all the timeLatest thg version freshly installed on openSUSE:
- open thg
- Open the "View" menu and click on "show console" as if you wanted to check the checkbox and, I guess, show the console
Result: thg crashes. There's no error message, no cra...Latest thg version freshly installed on openSUSE:
- open thg
- Open the "View" menu and click on "show console" as if you wanted to check the checkbox and, I guess, show the console
Result: thg crashes. There's no error message, no crash window, no error even in the terminal I launched thg from. Nothing. It just suddenly closes.
There are two bugs here: the error itself that causes the crash, and the fact that such error is not being caught and handled in any way.
**EDIT: ** thg keeps crashing all the time randomly when doing the most trivial things: pushing, pulling, opening a repository, committing.
View console is just one case; that one seems to be 100% systematically reproducible, while other crashes are random (e.g. I pull from the same repository, sometimes it crashes sometimes it doesn't).https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5632Installation is a pain, instructions are not complete2020-10-17T17:13:16Zteo1978Installation is a pain, instructions are not completeYou have to understand that, from a user's perspective, installation of thg (and of any other software for that matter) should be as easy as either of these:
- download a file and execute it, or
- copy and paste no more than two or three...You have to understand that, from a user's perspective, installation of thg (and of any other software for that matter) should be as easy as either of these:
- download a file and execute it, or
- copy and paste no more than two or three commands into a terminal.
If it has to be any more complicated than that, then give a reliable and easy to follow set of instructions that one can follow without having to become an expert in Python, its modules and package frameworks, and whatnot.
I don't give a damn about python, I don't want to install python 2 if I'm using python 3 or viceversa, I don't want to have to figure out how to use pip, I shouldn't even have to know that thg is made in python, that's your business, not mine.
So, now I am on a brand new laptop where I **freshly installed OpenSUSE** Tumbleweed. There I installed mercurial with zypper.
Then I googled "TortoiseHG" and clicked on the first result which led me here: https://tortoisehg.bitbucket.io/
Next I click on the big "Download" button which leads me here:
https://tortoisehg.bitbucket.io/download/linux.html
My distro (OpenSUSE) is not listed, so I read the **"From Source"** which says:
> If no package yet exists for your platform, then use the source installing method described on the [thg](https://foss.heptapod.net/mercurial/tortoisehg/thg/-/wikis/thg) page
where "the thg page" links here: https://foss.heptapod.net/mercurial/tortoisehg/thg/-/wikis/thg
It says:
> 1. Install Mercurial (consult the chart at [ReleaseNotes](/mercurial/tortoisehg/thg/-/wikis/ReleaseNotes) for version info)
> 2. Clone the TortoiseHg repository:
> 3. Symlink the thg script into your path:
Note that all the commands to copy and paste are missing, BTW.
> That is usually all you have to do
Yeah, right.
The first thing I got when trying to run the `thg` executable was an error telling me that the command `python` was not found.
I was going to install python but then realized I already have python 3.8 installed on my system, so I symlinked `/usr/bin/python3` to `/usr/bin/python`, so now the `python` command executes python 3.
At https://foss.heptapod.net/mercurial/tortoisehg/thg/-/wikis/thg it doesn't say that you should use python 2 rather than 3, it just says:
> TortoiseHg should work on Python 2.4** or later**
so python 3.8 should be fine. Also, on my older laptop I've been running thg on python 3 for months now without any issue (after a nightmare process that took me several days to get it to work after the upgrade to Ubuntu 20.04 wiped out my preexisting perfectly working older install of thg, just during the period when thg's obsolete official site had been taken down and before it was redirected to the new one - so it took me a few days to discover that thg wasn't just completely abandoned)
So again, python3 should be fine.
So now, with `python` symninked to the `python3` binary, I tried running thg again, and of course I get:
```
ModuleNotFoundError: No module named 'PyQT5'
```
I look back at https://foss.heptapod.net/mercurial/tortoisehg/thg/-/wikis/thg and it does say, at the very bottom of the page:
> We require a minimum PyQt version of 4.6
Ok, well, then first, why did you say:
> 1. Install Mercurial (consult the chart at [ReleaseNotes](/mercurial/tortoisehg/thg/-/wikis/ReleaseNotes) for version info)
> 2. Clone the TortoiseHg repository:
> 3. Symlink the thg script into your path:
>
> That is usually all you have to do
No, presumably you will usually also have to install PyQt, so that should be added to the list.
And secondly, at least give me a link or some hint about how to proceed with that.
I have no idea what PyQt is, and while I love to learn new things, I'll educate myself on the topic at another time; now I was installing TortoiseHG and I expected to be able to do so in a few minutes by just executing a handful of commands, without having to google a bunch of other things.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5628Add ability to open all files in visual diffs - working changes dialog, not j...2022-01-14T01:03:39ZeclaziAdd ability to open all files in visual diffs - working changes dialog, not just oneI find the visual diffs - working changes unwieldy when there are lots of changes. Adding a search and way to just open all files in the selected diff tool would be good.I find the visual diffs - working changes unwieldy when there are lots of changes. Adding a search and way to just open all files in the selected diff tool would be good.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5625crashreport: module 'mercurial.match' has no attribute 'always'2022-07-22T18:16:49Zalexraynecrashreport: module 'mercurial.match' has no attribute 'always'works on win8.1 rus, with 'default' revision 309b07b0915a
on startup by `thg --nofork` it reports:
```
#!python
** Mercurial version (5.5.1). TortoiseHg version (5.5.1+28-309b07b0915a)
** Command: --nofork
** CWD: D:\p...works on win8.1 rus, with 'default' revision 309b07b0915a
on startup by `thg --nofork` it reports:
```
#!python
** Mercurial version (5.5.1). TortoiseHg version (5.5.1+28-309b07b0915a)
** Command: --nofork
** CWD: D:\projects\hg\thg\thg.work
** Encoding: cp1251
** Extensions loaded: convert, strip, mq, rebase, record, transplant, highlight, show, split, commitextras, fix, uncommit, share, hggit, censor, histedit, narrow, closehead, remotenames, schemes, eol, extdiff, tortoisehg.util.configitems
** 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=6, minor=3, build=9600, 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\status.py", line 756, in run
status = self.repo.status(**stopts)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\localrepo.py", line 3324, in status
return self[node1].status(
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\context.py", line 424, in status
match = self._repo.narrowmatch(match)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\localrepo.py", line 1536, in narrowmatch
return self._narrowmatch
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\repoview.py", line 446, in __getattr__
return getattr(self._unfilteredrepo, attr)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\pycompat.py", line 303, in w
return f(object, sysstr(name), *args)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\localrepo.py", line 108, in __get__
return super(_basefilecache, self).__get__(unfi, type)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\scmutil.py", line 1622, in __get__
entry.obj = self.func(obj)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\localrepo.py", line 1514, in _narrowmatch
return matchmod.always()
AttributeError: module 'mercurial.match' has no attribute 'always'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5619Searches that return one result dont let you select the result with context menu2020-11-16T15:31:37Zsuperxpro12Searches that return one result dont let you select the result with context menuOn TortoiseHg v5.5.1, if I search for a commit using a hash, and that search returns only one result, right clicking on that result executes actions on the revision that was selected BEFORE the search was executed.
Left or right clickin...On TortoiseHg v5.5.1, if I search for a commit using a hash, and that search returns only one result, right clicking on that result executes actions on the revision that was selected BEFORE the search was executed.
Left or right clicking on the search result does not change the target of the context menus.
I have noticed this behavior as far back as version 4.9.0https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5615crash report: thg 5.5.1+6 py3 on repo conflicted by merge2020-09-26T04:09:18Zalexraynecrash report: thg 5.5.1+6 py3 on repo conflicted by mergerun thg 5.5.1+6-799ca6335d5b (Mercurial-5.4, Python-3.8.3, PyQt-5.13.2, Qt-5.13.2) on win8 py3.8 from source:
made a ordinary merge into working dir, and got crash:
```
Traceback (most recent call last):
File "D:\projects\hg\thg\thg....run thg 5.5.1+6-799ca6335d5b (Mercurial-5.4, Python-3.8.3, PyQt-5.13.2, Qt-5.13.2) on win8 py3.8 from source:
made a ordinary merge into working dir, and got crash:
```
Traceback (most recent call last):
File "D:\projects\hg\thg\thg.work\tortoisehg\hgqt\merge.py", line 404, in isComplete
for root, path, status in thgrepo.recursiveMergeStatus(self.repo):
File "D:\projects\hg\thg\thg.work\tortoisehg\hgqt\thgrepo.py", line 1138, in recursiveMergeStatus
for s in wctx.substate:
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\util.py", line 1744, in __get__
result = self.func(obj)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\context.py", line 174, in substate
return subrepoutil.state(self, self._repo.ui)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\subrepoutil.py", line 59, in state
read(b'.hgsub')
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\subrepoutil.py", line 52, in read
p.parse(f, data, sections, remap, read)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\config.py", line 210, in parse
raise error.ParseError(l.rstrip(), (b"%s:%d" % (src, line)))
mercurial.error.ParseError: (b'<<<<<<< working copy', b'.hgsub:12')
Traceback (most recent call last):
File "D:\projects\hg\thg\thg.work\tortoisehg\hgqt\merge.py", line 404, in isComplete
for root, path, status in thgrepo.recursiveMergeStatus(self.repo):
File "D:\projects\hg\thg\thg.work\tortoisehg\hgqt\thgrepo.py", line 1138, in recursiveMergeStatus
for s in wctx.substate:
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\util.py", line 1744, in __get__
result = self.func(obj)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\context.py", line 174, in substate
return subrepoutil.state(self, self._repo.ui)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\subrepoutil.py", line 59, in state
read(b'.hgsub')
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\subrepoutil.py", line 52, in read
p.parse(f, data, sections, remap, read)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\config.py", line 210, in parse
raise error.ParseError(l.rstrip(), (b"%s:%d" % (src, line)))
mercurial.error.ParseError: (b'<<<<<<< working copy', b'.hgsub:12')
Traceback (most recent call last):
File "D:\projects\hg\thg\thg.work\tortoisehg\hgqt\status.py", line 756, in run
status = self.repo.status(**stopts)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\localrepo.py", line 3336, in status
return self[node1].status(
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\context.py", line 426, in status
r = ctx2._buildstatus(
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\context.py", line 1940, in _buildstatus
s = self._dirstatestatus(match, listignored, listclean, listunknown)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\context.py", line 1848, in _dirstatestatus
subrepos = sorted(self.substate)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\util.py", line 1744, in __get__
result = self.func(obj)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\context.py", line 174, in substate
return subrepoutil.state(self, self._repo.ui)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\subrepoutil.py", line 59, in state
read(b'.hgsub')
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\subrepoutil.py", line 52, in read
p.parse(f, data, sections, remap, read)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\config.py", line 210, in parse
raise error.ParseError(l.rstrip(), (b"%s:%d" % (src, line)))
mercurial.error.ParseError: (b'<<<<<<< working copy', b'.hgsub:12')
(venv.py38) D:\projects\hg\thg\thg.work>
```
crash causes by conflicting merge .hgsub, BUT:
thg 5.5 installed from winx64 msi not crashes, and report error - propose to edit and fix config file .hgsub.
thg from source (799ca6335d5b ) - now crash at that repo open - can't show such damaged repohttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5614thg 5.5-x64 annotation/history need work directory item2020-09-09T09:39:47Zalexraynethg 5.5-x64 annotation/history need work directory itemHallow! have install thg on win8 from win-x64 msi.
when invoke annotaion/hystoy on some file - have hystory without workspace item, therefore it can't show current work dir changes.Hallow! have install thg on win8 from win-x64 msi.
when invoke annotaion/hystoy on some file - have hystory without workspace item, therefore it can't show current work dir changes.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5613Add support for `hg push --publish`2020-09-03T15:53:55ZMatt HarbisonAdd support for `hg push --publish`This should be simple enough to display/hide a button based on whether or not the `topic` extension is enabled. I'm thinking add a button next to the existing push icon (icons/24x24/actions/hg-push.png and icons/scalable/actions/hg-push...This should be simple enough to display/hide a button based on whether or not the `topic` extension is enabled. I'm thinking add a button next to the existing push icon (icons/24x24/actions/hg-push.png and icons/scalable/actions/hg-push.svg) so that it's more convenient than going into the sync widget. My idea is to use the existing icon and add a checkered finish flag to it similar to https://www.pngegg.com/en/png-piwjf, but I'm open to other ideas.