thg issueshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues2021-04-01T22:25:02Zhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5678Crash upon bootup2021-04-01T22:25:02ZJohn KedzierskiCrash upon bootupHi,
I'm attempting to open workbench to commit a few changes - and I keep receiving this message:
#!python
** Mercurial version (4.9). TortoiseHg version (4.9)
** Command: --nofork workbench
** CWD: G:\ProductAnalytics...Hi,
I'm attempting to open workbench to commit a few changes - and I keep receiving this message:
#!python
** Mercurial version (4.9). TortoiseHg version (4.9)
** Command: --nofork workbench
** CWD: G:\ProductAnalytics\XXX\XXX
** Encoding: cp1252
** Extensions loaded: 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\manifestmodel.pyo", line 376, in fetchMore
File "tortoisehg\hgqt\manifestmodel.pyo", line 432, in _populateNodes
File "tortoisehg\hgqt\manifestmodel.pyo", line 605, in _populaterepo
File "tortoisehg\hgqt\manifestmodel.pyo", line 635, in _populatesubrepos
File "mercurial\util.pyo", line 1553, in __get__
File "mercurial\context.pyo", line 160, in substate
File "mercurial\subrepoutil.pyo", line 52, in state
File "mercurial\context.pyo", line 80, in __contains__
File "mercurial\util.pyo", line 1553, in __get__
File "mercurial\context.pyo", line 405, in _manifest
File "mercurial\context.pyo", line 409, in _manifestctx
File "mercurial\manifest.pyo", line 1672, in __getitem__
File "mercurial\manifest.pyo", line 1702, in get
File "mercurial\manifest.pyo", line 1552, in rev
File "mercurial\revlog.pyo", line 627, in rev
LookupError: 00manifest.i@6a97dd002a2c: no node
Any advice on how this can be resolved would be greatly appreciated!
Best,
Johnhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5708Error on commit after creating a new topic2021-04-01T14:44:46ZDavid SmithError on commit after creating a new topicI'm not sure whether this is a thg issue, an evolve issue, a topics issue, or a mercurial issue, but the big error message pops up in TortoiseHG, so that's where I'll start.
Several times now I've gotten an error when checking in a new ...I'm not sure whether this is a thg issue, an evolve issue, a topics issue, or a mercurial issue, but the big error message pops up in TortoiseHG, so that's where I'll start.
Several times now I've gotten an error when checking in a new commit. This occurs after a sequence of:
1) Have a topic on the default branch.
2) Merge the default branch into the dev branch.
3) Push the repo to make it public, and have the topics disappear.
4) Update back to the default branch.
5) Create a new topic.
6) Push a new commit.
The error window does not let me select the text, so I'll attach a screenshot.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5700Rebase throws ProgrammingError: unsupported changeid of type <type 'str'>2021-04-01T10:39:09ZCarl ReinkeRebase throws ProgrammingError: unsupported changeid of type <type 'str'> #!python
** Mercurial version (5.7.1). TortoiseHg version (5.7.1)
** Command: rebase -s 1 -d 2
** CWD: D:\Desktop\temp
** Encoding: cp1252
** Extensions loaded: absorb, convert, histedit, strip, mq, purge, rebase... #!python
** Mercurial version (5.7.1). TortoiseHg version (5.7.1)
** Command: rebase -s 1 -d 2
** CWD: D:\Desktop\temp
** Encoding: cp1252
** Extensions loaded: absorb, convert, histedit, strip, mq, purge, 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\run.pyo", line 138, in dispatch
File "tortoisehg\hgqt\run.pyo", line 342, in _runcatch
File "tortoisehg\hgqt\run.pyo", line 436, in runcommand
File "tortoisehg\hgqt\run.pyo", line 488, in _runcommand
File "tortoisehg\hgqt\run.pyo", line 441, in checkargs
File "tortoisehg\hgqt\run.pyo", line 435, in <lambda>
File "tortoisehg\hgqt\qtapp.pyo", line 471, in __call__
File "tortoisehg\hgqt\qtapp.pyo", line 535, in _createdialog
File "mercurial\util.pyo", line 1867, in check
File "tortoisehg\hgqt\run.pyo", line 1162, in rebase
File "tortoisehg\hgqt\rebase.pyo", line 74, in __init__
File "tortoisehg\hgqt\csinfo.pyo", line 38, in create
File "tortoisehg\hgqt\csinfo.pyo", line 105, in __call__
File "tortoisehg\hgqt\csinfo.pyo", line 427, in __init__
File "tortoisehg\hgqt\csinfo.pyo", line 383, in __init__
File "tortoisehg\hgqt\csinfo.pyo", line 418, in update_ctx
File "tortoisehg\hgqt\thgrepo.pyo", line 821, in __getitem__
File "mercurial\localrepo.pyo", line 1837, in __getitem__
ProgrammingError: unsupported changeid '1' of type <type 'str'>
# Steps to Reproduce
```
$ hg init
$ echo a>test.txt
$ hg add .
adding test.txt
$ hg commit -m a -u u
$ echo b>test.txt
$ hg commit -m b -u u
$ hg up -r 0
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ echo c>test.txt
$ hg commit -m c -u u
created new head
$ thg rebase -s 1 -d 2
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/4874Horiz scrolling broken (sometimes) in <incoming> file contents panel2021-03-25T00:34:22ZBitbucket ImporterHoriz scrolling broken (sometimes) in <incoming> file contents panel*Created originally on Bitbucket by [cslemmen (Stu Lemmen)](https://bitbucket.org/%7B4e54204d-f26b-4ca3-82eb-fa40fe740ab3%7D/)*
I was previewing incoming changes for a repo clone in Workbench and wanted to see what they were but, even t...*Created originally on Bitbucket by [cslemmen (Stu Lemmen)](https://bitbucket.org/%7B4e54204d-f26b-4ca3-82eb-fa40fe740ab3%7D/)*
I was previewing incoming changes for a repo clone in Workbench and wanted to see what they were but, even though the horizontal scrollbar in the file's contents preview (lower right) was working, it didn't move far enough to the right, or was the wrong size, to allow me to see the end of the very long lines of code I needed to see. Making this scroll bug appear seems to have to do with first highlighting the *Working Directory* (topmost) row in the upper right view then clicking the preview icon. If one of the revs below that row is clicked first then the bug doesn't appear. Also, when the bug is present, simply resizing the main window or just the panel view height makes it go away. A screen shot should help to at least show what it looks like when present.
![tortoise_hg_workbench_scroll_bug.png](https://bitbucket.org/repo/48R4X/images/4084599020-tortoise_hg_workbench_scroll_bug.png)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5695Bug when renaming repository2021-03-24T14:45:57ZJames WadsworthBug when renaming repository> #!python
> ** Mercurial version (5.2). TortoiseHg version (5.3.2)
> ** Command: --nofork
> ** CWD: /home/james
> ** Encoding: UTF-8
> ** Extensions loaded: tortoisehg.util.configitems
> ** Python version: 3...> #!python
> ** Mercurial version (5.2). TortoiseHg version (5.3.2)
> ** Command: --nofork
> ** CWD: /home/james
> ** Encoding: UTF-8
> ** Extensions loaded: tortoisehg.util.configitems
> ** Python version: 3.8.7 (default, Jan 20 2021, 00:00:00) [GCC 10.2.1 20201125 (Red Hat 10.2.1-9)]
> ** System: Linux deathstar.xxxxxxxxxxxxxxxx.com 5.10.15-100.fc32.x86_64 #1 SMP Wed Feb 10 17:52:05 UTC 2021 x86_64
> ** Qt-5.14.2 PyQt-5.14.2 QScintilla-2.11.2
> Traceback (most recent call last):
> File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/repotreemodel.py", line 265, in setData
> if item.setData(index.column(), value):
> File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/repotreeitem.py", line 457, in setData
> if not hgrcutil.setConfigValue(abshgrcpath, 'web.name', shortname):
> File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/hgrcutil.py", line 51, in setConfigValue
> cfg.set(cfgFullKey[0], cfgFullKey[1], value)
> File "/usr/lib/python3.8/site-packages/tortoisehg/util/wconfig.py", line 186, in set
> assert isinstance(section, bytes), (section, item, value)
> AssertionError: ('web', 'name', b'WLTE Live')https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5702"Diff to Other" is always disabled2021-03-24T14:44:26ZCarl Reinke"Diff to Other" is always disabledIn the "Resolve Conflicts" dialog, the "Diff to Other" button seems to always be disabled.
I'm not sure when this broke, but it was working in 5.0.2.
# Steps to Reproduce
```
$ hg init
$ echo a>test.txt
$ hg add .
adding test.txt
$ ...In the "Resolve Conflicts" dialog, the "Diff to Other" button seems to always be disabled.
I'm not sure when this broke, but it was working in 5.0.2.
# Steps to Reproduce
```
$ hg init
$ echo a>test.txt
$ hg add .
adding test.txt
$ hg commit -m a -u u
$ echo b>test.txt
$ hg commit -m b -u u
$ hg up -r 0
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ echo c>test.txt
$ hg commit -m c -u u
created new head
$ hg log -G -T {node}
@ 1417351bd6738b9d4f421cb18fee405f0c5e7c62
|
| o 9399e099f903b79e2d2685ecb61f43871f09d54c
|/
o 4d891309177e541f991965e6a1288cfef953f1bb
$ thg rebase -s 1417351bd6738b9d4f421cb18fee405f0c5e7c62 -d 9399e099f903b79e2d2685ecb61f43871f09d54c
```
* In the "Rebase" dialog, click "Rebase". The rebase generates conflicts, so click "resolved".
* In the "Resolve Conflicts" dialog, select "test.txt" in "Unresolved conflicts" and click "Take Local".
* Select "test.txt" in "Resolved conflicts". "Diff to Local" is enabled, but "3-Way Diff" and "Diff to Other" are disabled.
(Merge tool selection seems to make no difference -- I have tried with Beyond Compare 4 and WinMerge.)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5667propose graphopt revisions order transforms2021-03-24T07:06:12Zalexraynepropose graphopt revisions order transformshallow!
here attached a bundle with brach, that provides graphopt.Graph with transformations that should give a bit comfort/handy
revision tree view.
Provided 2 transforms:
1) `parents_line_closer` - for selected revision it moves a li...hallow!
here attached a bundle with brach, that provides graphopt.Graph with transformations that should give a bit comfort/handy
revision tree view.
Provided 2 transforms:
1) `parents_line_closer` - for selected revision it moves a line of parents from first ancestor, right below target revision.
so, if it faaaar from inerested revision, it try to move them close to view
2) `reorder_for_merge` - for selected merge revision, it looks for revs that are above parents, and try to move them above
selected child.
After move descendants above merge point, it reduces length of lines to parents. And, possibly, reduces
some lines.
It intended to make a history more clear, and most intended - make a tree width as less as can.
Motivation:
--------------------
Second transform is a target of this work. It motivated by repo imported from git, that have such a big amount of merges, that ordered so inconvinient, that width of graph comes a few screens. and amount of lines to parents so big, that no any possibility to track them.
This kind of graphs comes from hggit behaviour - it imports revision not in date order, but per brach. so if say `release` branch have maaaaany merges from `dev` branch - you got a tree as wide flag.
To manage such a history, i has try to order revisions by date, but unfortunaly - order of revision not strongly meets date order. So need a reorder, that still keep DAG consistent, but recovers some historic-close order.
I guess, that merges order is most historic-like. And `reorder_for_merge` provide it.
How to use:
================
* UI
-----------------
1) context menus on a `graph` column now have a checkboxed liist of avail transforms. Just check what you need. Or Disable all.
context menus on `rev` column have item do disable all transforms.
This transforms apply over all tree.
2) context menus on revision item in graph column have submenu `transforms` - where can invoke avail transform per revision.
* config
-----------------
config ini can specify transforms that can be apply over tree on repo load.
in section `[tortoisehg]`, place
`<transform name> = boolean`
[graphopt-transforms.hg](/uploads/7cccca5261af52ee173215b73c0de0df/graphopt-transforms.hg)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5684Crash opening old repo in Workbench after upgrade to 5.6.1 and 5.72021-03-10T05:17:53ZAndrew BarmeyerCrash opening old repo in Workbench after upgrade to 5.6.1 and 5.7Upgraded very old thg to version 5.6.1 and then 5.7 in order to open repo containing largefiles made with thg version 3.3.3. Both versions crash opening the repo. Here's traceback from the bug report:
```
#!python
** Mercurial v...Upgraded very old thg to version 5.6.1 and then 5.7 in order to open repo containing largefiles made with thg version 3.3.3. Both versions crash opening the repo. Here's traceback from the bug report:
```
#!python
** Mercurial version (5.7). TortoiseHg version (5.7)
** Command:
** CWD: C:\Windows\system32
** Encoding: cp1252
** Extensions loaded: churn, extdiff, hgsubversion, mercurial_keyring, purge, record, share, strip, tortoisehg.util.configitems, largefiles
** 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=1, build=7601, platform=2, service_pack='Service Pack 1')
** Processor architecture: x64
** Qt-5.9.9 PyQt-5.13.2 QScintilla-2.10.8
Traceback (most recent call last):
File "tortoisehg\hgqt\workbench.pyo", line 712, in openRepo
File "tortoisehg\hgqt\repotab.pyo", line 127, in openRepo
File "tortoisehg\hgqt\repotab.pyo", line 401, in _createRepoWidget
File "tortoisehg\hgqt\thgrepo.pyo", line 704, in openRepoAgent
File "tortoisehg\hgqt\thgrepo.pyo", line 78, in repository
File "mercurial\hg.pyo", line 231, in repository
File "mercurial\hg.pyo", line 205, in _peerorrepo
File "hgsubversion\__init__.pyo", line 163, in reposetup
File "hgdemandimport\demandimportpy2.pyo", line 157, in __getattr__
File "hgdemandimport\demandimportpy2.pyo", line 97, in _load
File "hgdemandimport\demandimportpy2.pyo", line 44, in _hgextimport
File "hgsubversion\svnrepo.pyo", line 32, in <module>
File "hgdemandimport\demandimportpy2.pyo", line 284, in _demandimport
File "hgdemandimport\demandimportpy2.pyo", line 44, in _hgextimport
ImportError: No module named repo
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5675Trying to open a repository2021-03-10T05:17:53ZNicholasTindallTrying to open a repository #!python
** Mercurial version (5.6.1). TortoiseHg version (5.6.1)
** Command: --nofork workbench
** CWD: C:\Users\Nico\Pictures
** Encoding: cp1252
** Extensions loaded: fetch, big-push, hgsubversion, tortoisehg.... #!python
** Mercurial version (5.6.1). TortoiseHg version (5.6.1)
** Command: --nofork workbench
** CWD: C:\Users\Nico\Pictures
** Encoding: cp1252
** Extensions loaded: fetch, big-push, hgsubversion, tortoisehg.util.configitems
** Python version: 2.7.17 (v2.7.17:c2f86d86e6, Oct 19 2019, 21:01:17) [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\workbench.pyo", line 704, in openRepo
File "tortoisehg\hgqt\repotab.pyo", line 126, in openRepo
File "tortoisehg\hgqt\repotab.pyo", line 400, in _createRepoWidget
File "tortoisehg\hgqt\thgrepo.pyo", line 704, in openRepoAgent
File "tortoisehg\hgqt\thgrepo.pyo", line 78, in repository
File "mercurial\hg.pyo", line 227, in repository
File "mercurial\hg.pyo", line 201, in _peerorrepo
File "hgsubversion\__init__.pyo", line 163, in reposetup
File "hgdemandimport\demandimportpy2.pyo", line 157, in __getattr__
File "hgdemandimport\demandimportpy2.pyo", line 97, in _load
File "hgdemandimport\demandimportpy2.pyo", line 44, in _hgextimport
File "hgsubversion\svnrepo.pyo", line 32, in <module>
File "hgdemandimport\demandimportpy2.pyo", line 284, in _demandimport
File "hgdemandimport\demandimportpy2.pyo", line 44, in _hgextimport
ImportError: No module named repohttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5664py3: setText for custom date option in commit view2021-03-09T23:59:28ZAndré Klitzingpy3: setText for custom date option in commit viewI have the same problem like in #5545 but with commit view.
Steps:
1. Change some files
2. Go to commit view
3. Select Options and use a custom date
4. Commit the files
5. Change some other files
6. Go to commit view
7. Select Option to...I have the same problem like in #5545 but with commit view.
Steps:
1. Change some files
2. Go to commit view
3. Select Options and use a custom date
4. Commit the files
5. Change some other files
6. Go to commit view
7. Select Option to unselect "custom date"
8. Crash window appears
```
#!python
** Mercurial version (5.5.2). TortoiseHg version (5.6.1)
** Command: --nofork
** CWD: /home/andre
** Encoding: UTF-8
** Extensions loaded: commitsigs, show, share, extdiff, rebase, purge, histedit, convert, gpg, strip, schemes, churn, record, patchbomb, releasenotes, absorb, largefiles, tortoisehg.util.configitems
** Python version: 3.9.0 (default, Oct 7 2020, 23:09:01) [GCC 10.2.0]
** System: Linux t480 5.9.13-arch1-1 #1 SMP PREEMPT Tue, 08 Dec 2020 12:09:55 +0000 x86_64
** Qt-5.15.2 PyQt-5.15.2 QScintilla-2.11.6
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/tortoisehg/hgqt/commit.py", line 717, in details
dlg = DetailsDialog(self._repoagent, self.opts, self.userhist, self,
File "/usr/lib/python3.9/site-packages/tortoisehg/hgqt/commit.py", line 1269, in __init__
self.datele.setText(v)
TypeError: setText(self, str): argument 1 has unexpected type 'bytes'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5698Bug/Crash in THg 5.72021-03-09T23:51:17ZLuca MatteiniBug/Crash in THg 5.7I just updated a previous setup of THg (Win 10 pro, x64) with latest version 5.7 and Hg Workbench is now broken, from the beginning, with this message
#!python
** Mercurial version (5.7). TortoiseHg version (5.7)
** Command...I just updated a previous setup of THg (Win 10 pro, x64) with latest version 5.7 and Hg Workbench is now broken, from the beginning, with this message
#!python
** Mercurial version (5.7). TortoiseHg version (5.7)
** Command: --nofork workbench
** CWD: C:\[my directory]
** Encoding: cp1252
** Extensions loaded: convert, hgsubversion, svnbindings, strip, 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 138, in dispatch
File "tortoisehg\hgqt\run.pyo", line 342, in _runcatch
File "tortoisehg\hgqt\run.pyo", line 436, in runcommand
File "tortoisehg\hgqt\run.pyo", line 488, in _runcommand
File "tortoisehg\hgqt\run.pyo", line 441, in checkargs
File "tortoisehg\hgqt\run.pyo", line 435, in <lambda>
File "tortoisehg\hgqt\qtapp.pyo", line 471, in __call__
File "tortoisehg\hgqt\qtapp.pyo", line 535, in _createdialog
File "mercurial\util.pyo", line 1867, in check
File "tortoisehg\hgqt\run.pyo", line 1057, in log
File "tortoisehg\hgqt\run.pyo", line 534, in _workbench
File "tortoisehg\hgqt\workbench.pyo", line 718, in showRepo
File "tortoisehg\hgqt\workbench.pyo", line 712, in openRepo
File "tortoisehg\hgqt\repotab.pyo", line 127, in openRepo
File "tortoisehg\hgqt\repotab.pyo", line 401, in _createRepoWidget
File "tortoisehg\hgqt\thgrepo.pyo", line 704, in openRepoAgent
File "tortoisehg\hgqt\thgrepo.pyo", line 78, in repository
File "mercurial\hg.pyo", line 231, in repository
File "mercurial\hg.pyo", line 205, in _peerorrepo
File "hgsubversion\__init__.pyo", line 163, in reposetup
File "hgdemandimport\demandimportpy2.pyo", line 157, in __getattr__
File "hgdemandimport\demandimportpy2.pyo", line 97, in _load
File "hgdemandimport\demandimportpy2.pyo", line 44, in _hgextimport
File "hgsubversion\svnrepo.pyo", line 32, in <module>
File "hgdemandimport\demandimportpy2.pyo", line 284, in _demandimport
File "hgdemandimport\demandimportpy2.pyo", line 44, in _hgextimport
ImportError: No module named repohttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5696hg commit bug2021-03-05T18:21:24Ztangzhiqianghhg commit bug #!python
** Mercurial version (5.7). TortoiseHg version (5.7)
** Command: --nofork commit
** CWD: C:\Users\ZhiqiangTang\OneDrive - Acclivity Health\桌面\FamilyProject
** Encoding: cp936
** Extensions loaded: hgsubv... #!python
** Mercurial version (5.7). TortoiseHg version (5.7)
** Command: --nofork commit
** CWD: C:\Users\ZhiqiangTang\OneDrive - Acclivity Health\桌面\FamilyProject
** Encoding: cp936
** Extensions loaded: hgsubversion, 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 138, in dispatch
File "tortoisehg\hgqt\run.pyo", line 342, in _runcatch
File "tortoisehg\hgqt\run.pyo", line 436, in runcommand
File "tortoisehg\hgqt\run.pyo", line 488, in _runcommand
File "tortoisehg\hgqt\run.pyo", line 441, in checkargs
File "tortoisehg\hgqt\run.pyo", line 435, in <lambda>
File "tortoisehg\hgqt\qtapp.pyo", line 471, in __call__
File "tortoisehg\hgqt\qtapp.pyo", line 532, in _createdialog
File "tortoisehg\hgqt\thgrepo.pyo", line 704, in openRepoAgent
File "tortoisehg\hgqt\thgrepo.pyo", line 78, in repository
File "mercurial\hg.pyo", line 231, in repository
File "mercurial\hg.pyo", line 205, in _peerorrepo
File "C:/repos/hgsubversion\hgsubversion\__init__.py", line 163, in reposetup
File "hgdemandimport\demandimportpy2.pyo", line 157, in __getattr__
File "hgdemandimport\demandimportpy2.pyo", line 97, in _load
File "hgdemandimport\demandimportpy2.pyo", line 44, in _hgextimport
File "C:/repos/hgsubversion\hgsubversion\svnrepo.py", line 32, in <module>
File "hgdemandimport\demandimportpy2.pyo", line 284, in _demandimport
File "hgdemandimport\demandimportpy2.pyo", line 44, in _hgextimport
ImportError: No module named repohttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5612annotation: lines with revs anotation loose UI reactions2021-03-04T09:27:55Zalexrayneannotation: lines with revs anotation loose UI reactionsworks with thg 5.5+45-0ddbafd86b8b on win8.1 (Mercurial-5.4, Python-3.8.3, PyQt-5.13.2, Qt-5.13.2 )
1) blame/annotate some file
2) turn on annotation lines with revs no
3) click on some annotated rev.no at some line - no any reaction....works with thg 5.5+45-0ddbafd86b8b on win8.1 (Mercurial-5.4, Python-3.8.3, PyQt-5.13.2, Qt-5.13.2 )
1) blame/annotate some file
2) turn on annotation lines with revs no
3) click on some annotated rev.no at some line - no any reaction. even focus in hystory no moves to selected rev
expected reaction:
1) old thg open history view of blaming file, focused on annotated rev.no
2) at least wanna move focus of a hystory view to that annotated rev
3) possibly context-menu should have items about annotated rev in selected linehttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5692Synchronize Explorer context menu crashes2021-03-02T12:53:49ZToddWilsonBertecSynchronize Explorer context menu crashesSynchronize Explorer context menu crashes
Right click on a repo, select Tortoisehg, Synchronize. Tortoisehg immediately crashes. Using Sync from the Workbench or hg push/pull from command line has no issues.
```
#!python
** Merc...Synchronize Explorer context menu crashes
Right click on a repo, select Tortoisehg, Synchronize. Tortoisehg immediately crashes. Using Sync from the Workbench or hg push/pull from command line has no issues.
```
#!python
** Mercurial version (5.7). TortoiseHg version (5.7)
** Command: --nofork synch
** CWD: C:\MYREPO
** Encoding: cp1252
** Extensions loaded: strip, mq, convert, fetch, rebase, transplant, graphlog, relink, share, record, children, purge, histedit, 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 138, in dispatch
File "tortoisehg\hgqt\run.pyo", line 342, in _runcatch
File "tortoisehg\hgqt\run.pyo", line 436, in runcommand
File "tortoisehg\hgqt\run.pyo", line 488, in _runcommand
File "tortoisehg\hgqt\run.pyo", line 441, in checkargs
File "tortoisehg\hgqt\run.pyo", line 435, in <lambda>
File "tortoisehg\hgqt\qtapp.pyo", line 471, in __call__
File "tortoisehg\hgqt\qtapp.pyo", line 535, in _createdialog
File "mercurial\util.pyo", line 1867, in check
File "tortoisehg\hgqt\run.pyo", line 1314, in sync
TypeError: __init__() takes exactly 3 arguments (2 given)
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5691Vertical scrolling "jumps" position when THG has to load more rows - it shoul...2021-02-18T12:53:27ZDavid HollmanVertical scrolling "jumps" position when THG has to load more rows - it should retain the original list positionHere's the scenario...
0. Open a fairly large repository in THG Workbench
1. Go to either the Revision Details or Commit views (widgets?)
2. Scroll downwards by dragging the vertical scrollbar
3. Eventually THG gets to a point where it ...Here's the scenario...
0. Open a fairly large repository in THG Workbench
1. Go to either the Revision Details or Commit views (widgets?)
2. Scroll downwards by dragging the vertical scrollbar
3. Eventually THG gets to a point where it has to load more rows from HG. (There is a small pause here which seems to indicate this). Note that the scrollbar position will be nearly at the bottom.
4. After the pause the scrollbar position is about the same - but this is not desired, _it is the visible rows which should remain the same_. The effect is that you have now "jumped" a huge distance in the list.
5. Scroll back upwards to try and find your place...
Windows 10,
TortoiseHg
version 5.6.1
with Mercurial-5.6.1, Python-2.7.17, PyQt-5.13.2, Qt-5.9.9https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5686{SELECTEDFILES} variable ends up blank in custom tool?2021-02-18T12:47:38ZDavid Hollman{SELECTEDFILES} variable ends up blank in custom tool?I was trying to use the `{SELECTEDFILES}` variable / macro in a THG custom tool, but it always seems to come up blank when the custom tool is run.
Here's what I have in my tool:
![image](/uploads/fd0ffea361cd64a620463ded33ef34ee/image....I was trying to use the `{SELECTEDFILES}` variable / macro in a THG custom tool, but it always seems to come up blank when the custom tool is run.
Here's what I have in my tool:
![image](/uploads/fd0ffea361cd64a620463ded33ef34ee/image.png)
From the INI file:
```
HG_shelve.command = hg shelve {SELECTEDFILES}
HG_shelve.enable = iswd
HG_shelve.icon = go-next
HG_shelve.label = HG_shelve
HG_shelve.showoutput = True
HG_shelve.tooltip = HG_shelve
```
What gets printed in the console area is just this:
`% hg shelve`
regardless of whether I have any files selected or not.
I've tried selecting both with the checkboxes and also just CTRL-clicking, neither works.
I've used the `{ROOT}` variable, and that works...
Am I doing something wrong? Or is this a bug?
I'm using THG 5.6.1.
Thanks!https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5689After cloning TortoiseHG Workbench is launched2021-02-14T22:42:10ZMickAfter cloning TortoiseHG Workbench is launchedPerhaps this is a question rather than an issue.
When using Windows File Explorer extension, right clicking in a folder selecting TortoiseHg -> Clone. It displays the Clone dialog, you enter the details click clone. It successfully clon...Perhaps this is a question rather than an issue.
When using Windows File Explorer extension, right clicking in a folder selecting TortoiseHg -> Clone. It displays the Clone dialog, you enter the details click clone. It successfully clones the source repository after which it is launching the TortoiseHg Workbench.
I don't actually want or need the Workbench to be displayed after cloning, does anyone know how to switch this off such that the TortoiseHg Workbench isn't launched after the repository has been cloned?
If the answer is there is no way to switch this off can we have one? Either a global switch to turn this off and/or a checkbox on the clone dialog "Launch Workbench after clone" which you can uncheck to not launch the workbench after the repository has been cloned.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5688IndexError: tuple index out of range when adding PATH in PhpStorm2021-02-11T11:19:19Zvirgil.bolosIndexError: tuple index out of range when adding PATH in PhpStorm #!python
** Mercurial version (5.7). TortoiseHg version (5.7)
** Command: --repository /Users/powpow/Documents/svn/SoftwareProjects --config extensions.mq= --config ui.merge=internal:merge resolve --list --encoding UTF-8
... #!python
** Mercurial version (5.7). TortoiseHg version (5.7)
** Command: --repository /Users/powpow/Documents/svn/SoftwareProjects --config extensions.mq= --config ui.merge=internal:merge resolve --list --encoding UTF-8
** CWD: /Users/powpow/Documents/svn/SoftwareProjects
** Encoding: UTF-8
** Extensions loaded:
** 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 Virgils-MacBook-Pro.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101 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/run.py", line 138, in dispatch
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/run.py", line 351, in _runcatch
IndexError: tuple index out of range
Additional errors in PhpStorm:
- 10:44 Could not execute hg status command: thg status: option --added not recognizedhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5599difficult to read the topic label2021-02-08T15:37:09Zvitidevdifficult to read the topic label![Image_4](/uploads/c58bee9be16099ebd211e0845f279537/Image_4.png)
Can you show topics differently?
Something like `#topic#`
Or at least invert the font color![Image_4](/uploads/c58bee9be16099ebd211e0845f279537/Image_4.png)
Can you show topics differently?
Something like `#topic#`
Or at least invert the font colorhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5685annotate prefer show in graph obsolete revisions instead actual2021-02-06T05:38:02Zalexrayneannotate prefer show in graph obsolete revisions instead actualHallow!
use thg 5.6.1 with tirn on optimised graph setup
have made few rebases of a parts of tree.
Now history/annotate shows <obsolete,extinct> revisions subtree, that alredy absent after rebase.
And actual revisions - after rebase,...Hallow!
use thg 5.6.1 with tirn on optimised graph setup
have made few rebases of a parts of tree.
Now history/annotate shows <obsolete,extinct> revisions subtree, that alredy absent after rebase.
And actual revisions - after rebase, are not shown in annotation!