thg issueshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues2021-03-05T18:21:24Zhttps://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/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/5694Randomly fails to show checkboxes to select which changes to commit2023-04-19T19:54:55Zteo1978Randomly fails to show checkboxes to select which changes to commit{{image.png}}
This is my working directory.
Normally, at the places indicated by the red arrows, i.e. for every chunk of consecutive additions/deletions/changes in a file, there would be a checkbox allowing you to select/unselect chang...{{image.png}}
This is my working directory.
Normally, at the places indicated by the red arrows, i.e. for every chunk of consecutive additions/deletions/changes in a file, there would be a checkbox allowing you to select/unselect changes so you can do a commit where you commit only part of the changes even within a given file.
Those checkboxes are missing now.
This was working until recently and I haven't updated Thg, so this is not a regression that has appeared now, but rather something that randomly happens and has happened to me now.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5693Update not working after revision query change2023-03-23T14:43:05ZKPOPUpdate not working after revision query change1. Given the following repository, with a default and one additional branch. We're at revision 2 of _MyBranch_ and that row is selected. (screenshot: https://postimg.cc/ZCxgTsWK )
- rev 2 in MyBranch <<--- working copy
- rev 1 in M...1. Given the following repository, with a default and one additional branch. We're at revision 2 of _MyBranch_ and that row is selected. (screenshot: https://postimg.cc/ZCxgTsWK )
- rev 2 in MyBranch <<--- working copy
- rev 1 in MyBranch
- rev 0 in default
2. Enter a revision set query to show only the _default _branch, branch('default') in my case (screenshot: https://postimg.cc/bZY5d0n0 )
- rev 0 in default
3. Select update on the top row belonging to the _default_ branch (screenshot: https://postimg.cc/21HKWqds )
**Expected behaviour**: the dialog shows to update to that revision 0 in the _default_ branch
**Actual behaviour**: the dialog still shows the top row before the filter, i.e., revision 2 from _MyBranch_
It looks like there is an issue with the index of that row not updating, leading to the wrong revision to be passed to the "Update" dialog.https://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/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/5687what is the difference between thg.exe and thgw.exe?2023-08-22T04:34:25Zvitidevwhat is the difference between thg.exe and thgw.exe?again topics, again custom colors like [#5599](https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5599)
mercurial.ini
[color]
log.topic = black bold #ff9980_background
topic.active = black bold #ff9980_background
...again topics, again custom colors like [#5599](https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5599)
mercurial.ini
[color]
log.topic = black bold #ff9980_background
topic.active = black bold #ff9980_background
When VS2019 (VisualHg) opened workbench and then "detect renames" cause errors
#!python
** Mercurial version (5.7). TortoiseHg version (5.7)
** Command: workbench
** CWD: V:\dev\prj\Test
** Encoding: cp1251
** Extensions loaded: absorb, histedit, strip, mq, purge, rebase, relink, transplant, patchbomb, evolve, topic, 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\guess.pyo", line 262, in findRenames
File "tortoisehg\hgqt\guess.pyo", line 460, in __init__
File "mercurial\hg.pyo", line 231, in repository
File "mercurial\hg.pyo", line 193, in _peerorrepo
File "mercurial\localrepo.pyo", line 3350, in instance
File "mercurial\localrepo.pyo", line 786, in makelocalrepository
File "mercurial\localrepo.pyo", line 1336, in __init__
File "mercurial\color.pyo", line 211, in setup
File "mercurial\color.pyo", line 321, in configstyles
File "mercurial\ui.pyo", line 1778, in warn
File "mercurial\ui.pyo", line 1253, in _writemsg
File "mercurial\ui.pyo", line 2393, in _writemsgwith
File "mercurial\ui.pyo", line 1196, in _write
File "mercurial\ui.pyo", line 1220, in _writenobuf
File "mercurial\ui.pyo", line 2070, in label
File "mercurial\color.pyo", line 431, in colorlabel
File "mercurial\color.pyo", line 395, in _render_effects
KeyError: '#ffffaa_background'
command line is
"C:\Program Files\TortoiseHg\thg.exe" workbench
but from explorer menu command line is
"C:\Program Files\TortoiseHg\thgw.exe" --nofork workbench
and no this error
what is the difference between thg.exe and thgw.exe?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/5683update to tortoisehg 5.7 failed2021-02-05T05:27:07Zlong76update to tortoisehg 5.7 failed #!python
** Mercurial version (5.7). TortoiseHg version (5.7)
** Command: --nofork
** CWD: /home/user
** Encoding: UTF-8
** Extensions loaded:
** Python version: 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9... #!python
** Mercurial version (5.7). TortoiseHg version (5.7)
** Command: --nofork
** CWD: /home/user
** Encoding: UTF-8
** Extensions loaded:
** Python version: 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0]
** System: Linux 5.4.0-65-generic #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 x86_64
** Qt-5.15.2 PyQt-5.15.2 QScintilla-2.11.6
This version of TortoiseHg requires Mercurial version 5.5.n to 5.6.n, but found 5.7
downloaded from https://www.mercurial-scm.org/https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5679how to use extdiff with thg?2021-01-29T19:49:12Zalexraynehow to use extdiff with thg?Hallow!
use thg from source py3 on win8.1
1) have enable extention extdiff
2) added to global cfg
```
[extdiff]
cmd.kdiff3 = D:\projects\hg\kdiff3.hggit\kdiff3\build-kdiff3-Desktop_Qt_5_12_10_MinGW_32_bit-Debug\debug\kdiff3.exe
```
3) tr...Hallow!
use thg from source py3 on win8.1
1) have enable extention extdiff
2) added to global cfg
```
[extdiff]
cmd.kdiff3 = D:\projects\hg\kdiff3.hggit\kdiff3\build-kdiff3-Desktop_Qt_5_12_10_MinGW_32_bit-Debug\debug\kdiff3.exe
```
3) try to find my external kdiff to use anywhere, but luck.
is thg supports extdiff setup?https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5676Crash when attempting to update to a different branch2021-01-25T21:40:26Zgambit823Crash when attempting to update to a different branch1. Set the branch filter to a specific branch
1. Right click and choose update on the tip of that branch
1. Click Update
1. App crashes:
```
#!python
** Mercurial version (5.6.1). TortoiseHg version (5.6.1)
** Command:
...1. Set the branch filter to a specific branch
1. Right click and choose update on the tip of that branch
1. Click Update
1. App crashes:
```
#!python
** Mercurial version (5.6.1). TortoiseHg version (5.6.1)
** Command:
** CWD: C:\Program Files\TortoiseHg
** Encoding: cp1252
** Extensions loaded: evolve, strip, mq, purge, rebase, share, 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\cmdui.pyo", line 648, in runCommand
File "tortoisehg\hgqt\update.pyo", line 369, in runCommand
File "tortoisehg\hgqt\update.pyo", line 315, in isclean
File "mercurial\context.pyo", line 1428, in modified
File "mercurial\util.pyo", line 1747, in __get__
File "mercurial\context.pyo", line 1393, in _status
File "mercurial\localrepo.pyo", line 3015, in status
File "mercurial\context.pyo", line 428, in status
File "mercurial\context.pyo", line 1961, in _buildstatus
File "mercurial\context.pyo", line 1868, in _dirstatestatus
File "mercurial\context.pyo", line 1544, in __contains__
File "mercurial\dirstate.pyo", line 287, in __getitem__
File "mercurial\dirstate.pyo", line 1472, in get
File "mercurial\util.pyo", line 1747, in __get__
File "mercurial\dirstate.pyo", line 1439, in _map
File "mercurial\dirstate.pyo", line 1681, in read
File "mercurial\util.pyo", line 1822, in wrapper
ValueError: overflow in dirstate
```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/5674Error on double click search results2021-01-23T10:09:52Znchapman55Error on double click search resultsAfter double clicking on each search result in a long list of search results Tortoise will start throwing an error when double clicking on the results after awhile.
#!python
** Mercurial version (5.6.1). TortoiseHg version (5.6...After double clicking on each search result in a long list of search results Tortoise will start throwing an error when double clicking on the results after awhile.
#!python
** Mercurial version (5.6.1). TortoiseHg version (5.6.1)
** Command:
** CWD: C:\Program Files\TortoiseHg
** Encoding: cp1252
** Extensions loaded: mercurial_keyring, schemes, rebase, strip, histedit, keyword, largefiles, notify, purge, convert, big-push, commitextras, 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\fileview.pyo", line 1142, in _onAnnotateFinished
File "tortoisehg\hgqt\fileview.pyo", line 1148, in _updateView
File "tortoisehg\hgqt\fileview.pyo", line 1159, in _updaterevmargin
OverflowError: argument 2 overflowed: value must be in the range 0 to 4294967295https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5673ImportError: No module named pwd2021-01-07T15:13:01Zaleksandarv88ImportError: No module named pwd #!python
** Mercurial version (5.6.1). TortoiseHg version (5.6.1)
** Command: --nofork workbench
** CWD: ..\video4\python
** Encoding: cp1252
** Extensions loaded: tortoisehg.util.configitems
** Python versio... #!python
** Mercurial version (5.6.1). TortoiseHg version (5.6.1)
** Command: --nofork workbench
** CWD: ..\video4\python
** Encoding: cp1252
** Extensions loaded: 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\commit.pyo", line 619, in mqPerformAction
File "tortoisehg\hgqt\commit.pyo", line 1048, in commit
File "tortoisehg\hgqt\qtlib.pyo", line 1409, in getCurrentUsername
File "tortoisehg\hgqt\settings.pyo", line 1334, in __init__
File "tortoisehg\hgqt\settings.pyo", line 1317, in username
File "mercurial\windows.pyo", line 566, in username
File "getpass.pyo", line 157, in getuser
File "hgdemandimport\demandimportpy2.pyo", line 181, in _demandimport
File "hgdemandimport\demandimportpy2.pyo", line 44, in _hgextimport
ImportError: No module named pwdhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5672IndexError: tuple index out of range when calling thg NONEXISTENT_COMMAND2021-02-03T10:52:02ZmuxatorIndexError: tuple index out of range when calling thg NONEXISTENT_COMMANDWhen invoking thg with an invalid command, such as:
```
$ thg NONEXISTENT_COMMAND
```
A crash happens.
Versions:
- Tortoisehg 2eabd3bef7a2 (latest default as of today)
- Mercurial 5.6.1+6-b308d750de82
- Linux
This is the stack trace o...When invoking thg with an invalid command, such as:
```
$ thg NONEXISTENT_COMMAND
```
A crash happens.
Versions:
- Tortoisehg 2eabd3bef7a2 (latest default as of today)
- Mercurial 5.6.1+6-b308d750de82
- Linux
This is the stack trace of the crash:
```
#!python
** Mercurial version (5.6.1+6-b308d750de82+20210105). TortoiseHg version (5.6.1+11-2eabd3bef7a2)
** Command: NONEXISTENT_COMMAND
** CWD: /somedir
** Encoding: UTF-8
** Extensions loaded:
** Python version: 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0]
** System: Linux 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64
** Qt-5.12.8 PyQt-5.14.1 QScintilla-2.11.2
Traceback (most recent call last):
File "/opt/mercurial/thg/tortoisehg/hgqt/run.py", line 342, in _runcatch
return runcommand(ui, args)
File "/opt/mercurial/thg/tortoisehg/hgqt/run.py", line 368, in runcommand
cmd, func, args, options, cmdoptions, alias = _parse(ui, args)
File "/opt/mercurial/thg/tortoisehg/hgqt/run.py", line 301, in _parse
aliases, i = cmdutil.findcmd(alias, table, ui.config(b"ui", b"strict"))
File "/usr/lib/python3/dist-packages/mercurial/cmdutil.py", line 960, in findcmd
raise error.UnknownCommand(cmd, allcmds)
mercurial.error.UnknownCommand
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/mercurial/thg/tortoisehg/hgqt/run.py", line 138, in dispatch
return _runcatch(u, args)
File "/opt/mercurial/thg/tortoisehg/hgqt/run.py", line 356, in _runcatch
ui.warn(_("thg: unknown command '%s'\n") % inst.args[0])
IndexError: tuple index out of range
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5670TortoiseHg Bug Report (commit.py)2021-01-25T10:20:59Zhe-lo-artTortoiseHg Bug Report (commit.py) #!python
** Mercurial version (4.5.3). TortoiseHg version (4.5.2)
** Command: --nofork
** CWD: /home/<username>
** Encoding: UTF-8
** Extensions loaded: purge, strip, tortoisehg.util.configitems
** Python ver... #!python
** Mercurial version (4.5.3). TortoiseHg version (4.5.2)
** Command: --nofork
** CWD: /home/<username>
** Encoding: UTF-8
** Extensions loaded: purge, strip, tortoisehg.util.configitems
** Python version: 2.7.17 (default, Sep 30 2020, 13:38:04) [GCC 7.5.0]
** System: Linux <hostname> 5.4.0-58-generic #64~18.04.1-Ubuntu SMP Wed Dec 9 17:11:11 UTC 2020 x86_64
** Qt-5.9.5 PyQt-5.10.1 QScintilla-2.10.2
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/commit.py", line 598, in mqPerformAction
return self.commit()
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/commit.py", line 1082, in commit
assert not self.stwidget.partials
AssertionErrorhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5666Provided .desktop file is broken/insufficient2021-04-29T16:30:07Zteo1978Provided .desktop file is broken/insufficientI use KDE but I'm pretty sure this applies to any desktop environment.
I like to have the applications I use the most "pinned" to the Task Manager, if that's how you call the bar at the bottom of the screen with launcher icons.
Because...I use KDE but I'm pretty sure this applies to any desktop environment.
I like to have the applications I use the most "pinned" to the Task Manager, if that's how you call the bar at the bottom of the screen with launcher icons.
Because there's no package for OpenSUSE, I installed THG from source.
I found a thg.desktop file buried in some sub-sub-folder. It's the only .desktop file that was provided; so either it's the official one (meaning it's the one I'm supposed to use) and it's incomplete/broken, or it's not in which case the lack of one is the issue.
I copied it to ~/.local/share/applications, so Thg would show up in the Application Launcher (bottom-left corner of the screen). From there, I "pinned" it to the task manager.
It has a couple of major issues:
- As is, the icon won't show up. I guess this is because the path to the icon is relative, so it has no way to find it. I had to edit the .desktop file and put the absolute path of the icon. Or maybe I should copy the icon too to some standard location. (The whole .desktop files thing seems to be based on the assumption that an application will install its stuff where it needs to be; when that's not the case, there's no way as a user to "discover" how to do it manually, unless you study the details of how the desktop environment works - but I'm rambling, that's an issue in the desktop environment). Anyway, if that is the case, then you should provide a script that helps installing the .desktop file AND icon into the proper place.
But more importantly:
- Once the icon is pinned to the task manager, when you click on it to open TortoiseHG, it forks off another icon. That is not how other applications work. Usually, the same icon that is originally pinned and works as a launcher icon, is the one that becomes highlighted when you click it to open the application. With two icon, when you want to give focus to the already open THG window, you need to be careful not to click on the wrong icon, or you'll launch another instance.
Note that this does NOT work:
- use the original launcher icon (.desktop file) to launch THG (forks out a new icon)
- right-click on the new icon and pin that one to the task manager.
- delete the old one
That does not work, and results in a pinned icon that won't launch THG (will give an error)
I guess the executable forks out a separate process (even with --nofork); however, there are other applications that do something similar (e.g. Thunderbird), and yet they are capable of avoiding creating an additional icon. So there's must be some way in the .desktop definition to allow the "forked"-or-whatever windows to identify themselves as belonging to the same original icon, or whatever.https://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/5663TypeError: %d format: a number is required, not NoneType2020-12-11T14:30:55ZDavid HollmanTypeError: %d format: a number is required, not NoneTypeI just got this error and it asked me to report it:
```
#!python
** Mercurial version (4.8). TortoiseHg version (4.8)
** Command:
** CWD: C:\Program Files\TortoiseHg
** Encoding: cp1252
** Extensions loaded: co...I just got this error and it asked me to report it:
```
#!python
** Mercurial version (4.8). TortoiseHg version (4.8)
** Command:
** CWD: C:\Program Files\TortoiseHg
** Encoding: cp1252
** Extensions loaded: convert, graphlog, eol, strip, transplant, rebase, relink, extdiff, share, shelve, absorb, amend, histedit, evolve, 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\merge.pyo", line 113, in pageChanged
File "tortoisehg\hgqt\merge.pyo", line 368, in currentPage
TypeError: %d format: a number is required, not NoneType
```
I had just clicked the "merge with local" option in the context menu for a changeset.
This didn't recur once I restarted it.
---
For whatever reason THG 4.8 told me it was the latest version, when it obviously is not. Not sure however if this is something already fixed? It seems likely to be hard to reproduce.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/56625.6.0 installer downgrades vcruntime DLLs2021-02-03T10:52:02ZChristian Ullrich5.6.0 installer downgrades vcruntime DLLsThe 5.6.0 installer includes ancient versions of vccorlib140.dll and vcruntime140.dll. After installing, these versions replace whatever previously existed in system32. I have not looked too closely, but I suspect that since they were bu...The 5.6.0 installer includes ancient versions of vccorlib140.dll and vcruntime140.dll. After installing, these versions replace whatever previously existed in system32. I have not looked too closely, but I suspect that since they were built in early 2018, they may have acquired a few CVEs. Also, there may be compatibility issues with software built for the 2017 or 2019 runtimes suddenly encountering a 2015 version (although I have not been able to find one yet).
Running the current vcredist installer does _not_ restore the current versions; an explicit repair of the installed package is required.
I have two suggestions for fixing this:
1. Instead of using the merge modules, include the latest vcredist package and run it as part of the installation. This will avoid downgrading shared components.
2. Do not set REINSTALLMODE=amus (reinstall "a"ll files) in tortoisehg.wxs. The default value of this property is "omus", i.e. overwrite only "o"lder files. From the repo history it is not clear why this property is being set this way. It is definitely a bad idea.