thg issueshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues2023-11-03T22:27:01Zhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/77Commit tool - issue with subrepo and open2023-11-03T22:27:01ZBitbucket ImporterCommit tool - issue with subrepo and open*Created originally on Bitbucket by [mikezx6r (Mike Wilkes)](https://bitbucket.org/%7B60e72ce5-d998-4698-91f1-6a6041f1adf8%7D/)*
In commit tab. Have local changes, as well as changes in subrepo. When click on open... for subrepo, get fo...*Created originally on Bitbucket by [mikezx6r (Mike Wilkes)](https://bitbucket.org/%7B60e72ce5-d998-4698-91f1-6a6041f1adf8%7D/)*
In commit tab. Have local changes, as well as changes in subrepo. When click on open... for subrepo, get following error:
{{{
#!python
** Please report this bug to http://bitbucket.org/tortoisehg/thg/issues
** Mercurial version (1.7.3+30-20a54bdf2328). TortoiseHg version (1.9.1+53-33d8c680668a)
** Command: --nofork workbench
** CWD: C:\workspaces\hg_points\hg_workspace
** Extensions loaded: fixfrozenexts, transplant, rebase, mq
** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)]
** Windows version: (6, 1, 7600, 2, '')
** Processor architecture: x64
Traceback (most recent call last):
File "tortoisehg\hgqt\repowidget.pyo", line 217, in _openLink
ValueError: too many values to unpack
}}}
I have seen this work before, so don't know if it's something local, or something that has changed.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/4thg log doesn't work on Linux2023-11-03T21:53:25ZBitbucket Importerthg log doesn't work on Linux*Created originally on Bitbucket by Anonymous*
thg log crash with the following error message on SuSe Linux 11.2. Other commands like thg sync work normally.
{{{
#!python
** Please report this bug to http://bitbucket.org/tortoiseh...*Created originally on Bitbucket by Anonymous*
thg log crash with the following error message on SuSe Linux 11.2. Other commands like thg sync work normally.
{{{
#!python
** Please report this bug to http://bitbucket.org/tortoisehg/stable/issues
** Mercurial version (1.6.3+2-b10b07a821c3). TortoiseHg version (1.1.2+225-00be89c30b34)
** Command: log
** CWD: /home/user/bin/repos/thg
** Extensions loaded: convert, mercurial_keyring, purge
** Python version: 2.6.2 (r262:71600, Jun 17 2010, 13:37:18) [GCC 4.4.1 [gcc-4_4-branch revision 150839]]
Traceback (most recent call last):
File "/home/user/bin/repos/thg/tortoisehg/hgqt/run.py", line 400, in __call__
dlg = dlgfunc(ui, *args, **opts)
File "/home/user/bin/repos/thg/tortoisehg/hgqt/workbench.py", line 737, in run
return Workbench(ui, repo)
File "/home/user/bin/repos/thg/tortoisehg/hgqt/workbench.py", line 54, in __init__
self.setupUi()
File "/home/user/bin/repos/thg/tortoisehg/hgqt/workbench.py", line 177, in setupUi
a.setShortcut(QKeySequence.Quit)
AttributeError: type object 'QKeySequence' has no attribute 'Quit'
}}}
Now that seems like a version conflict (of Qt 4.5.3, PyQt 4.6.1?) to me, like for example using features that were not available in older versions. Other working commands seem to restrict themselves to a more narrow feature set.
Anyway, if your package management system gives use some specific versions of some libraries, then setting up a proper configuration is rather painful and it is not what a regular user would want to do.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5430overflow in dirstate2023-09-15T17:38:21ZBitbucket Importeroverflow in dirstate*Created originally on Bitbucket by Anonymous*
```
#!python
** Mercurial version (4.9.1). TortoiseHg version (4.9.1)
** Command:
** CWD: C:\projects\archiveprk
** Encoding: cp1251
** Extensions loaded: tortoisehg.u...*Created originally on Bitbucket by Anonymous*
```
#!python
** Mercurial version (4.9.1). TortoiseHg version (4.9.1)
** Command:
** CWD: C:\projects\archiveprk
** Encoding: cp1251
** 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\repowidget.pyo", line 893, in onRevisionSelected
File "tortoisehg\hgqt\revdetails.pyo", line 312, in onRevisionSelected
File "tortoisehg\hgqt\revdetails.pyo", line 324, in _setContextToFileList
File "tortoisehg\hgqt\manifestmodel.pyo", line 302, in setRawContext
File "tortoisehg\hgqt\manifestmodel.pyo", line 290, in setRev
File "tortoisehg\hgqt\manifestmodel.pyo", line 404, in _repopulateNodes
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 1280, in __contains__
File "mercurial\dirstate.pyo", line 253, in __getitem__
File "mercurial\dirstate.pyo", line 1259, in get
File "mercurial\util.pyo", line 1553, in __get__
File "mercurial\dirstate.pyo", line 1226, in _map
File "mercurial\dirstate.pyo", line 1465, in read
File "mercurial\util.pyo", line 1621, in wrapper
ValueError: overflow in dirstate
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5379Cannot execute any comand from built-in console2023-08-14T05:14:14ZBitbucket ImporterCannot execute any comand from built-in console*Created originally on Bitbucket by [vitidev](https://bitbucket.org/%7B41327545-f5ee-4a7e-a64c-d9b2221c23fd%7D/)*
any command fail with error
Process failed to start: File not found
tortoise hg 4.9.1 (4.9.0 also). Win 10 x64 1709*Created originally on Bitbucket by [vitidev](https://bitbucket.org/%7B41327545-f5ee-4a7e-a64c-d9b2221c23fd%7D/)*
any command fail with error
Process failed to start: File not found
tortoise hg 4.9.1 (4.9.0 also). Win 10 x64 1709https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5559Column widths go crazy2023-07-31T22:25:22ZBitbucket ImporterColumn widths go crazy*Created originally on Bitbucket by Anonymous*
The log column widths (graph, rev, description etc.) frequently change to very wide values. (Scrolling around to drag them all back is unfortunately rather annoying and time consuming.)
...*Created originally on Bitbucket by Anonymous*
The log column widths (graph, rev, description etc.) frequently change to very wide values. (Scrolling around to drag them all back is unfortunately rather annoying and time consuming.)
This seems to happen in various situation, e.g. when an external monitor is connected / disconnected / the screen resolution changes / the Windows zoom setting changes / ... (These are not rare events on notebooks.)
(Also the order of columns sometimes changes when this happens.)
Is it a bug? A feature I don't understand? Is there a way to save and restore column widths or disable auto-resizing?
(I [searched issues related to column width](https://bitbucket.org/tortoisehg/thg/issues?q=column+width), but none seem to describe this problem.)
Thanks.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/4679Inconsisent / incorrect calling out to Winmerge for 3-way merge2023-07-17T14:09:53ZBitbucket ImporterInconsisent / incorrect calling out to Winmerge for 3-way merge*Created originally on Bitbucket by [DaveInCaz (David Hollman)](https://bitbucket.org/%7B2dd8bec0-e2b4-43d0-b274-6ee79db66b75%7D/)*
I use WinMerge as my external diff tool but it only supports 2-way merges.
Now, from the resolve confli...*Created originally on Bitbucket by [DaveInCaz (David Hollman)](https://bitbucket.org/%7B2dd8bec0-e2b4-43d0-b274-6ee79db66b75%7D/)*
I use WinMerge as my external diff tool but it only supports 2-way merges.
Now, from the resolve conflicts screen when I click [Tool Resolve] in the upper section it correctly runs KDIFF in 3-way merge mode. This is as expected.
But from the same screen when I click [3-Way Diff] in the bottom section, it runs WinMerge in 2-way mode, not KDIFF. That doesn't seem correct.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/4603thg console - gets stuck after running 'cmd'2023-06-19T21:02:21ZBitbucket Importerthg console - gets stuck after running 'cmd'*Created originally on Bitbucket by [DaveInCaz (David Hollman)](https://bitbucket.org/%7B2dd8bec0-e2b4-43d0-b274-6ee79db66b75%7D/)*
In the Workbench console window, if I type 'cmd' and press enter, it appears to run the Windows command ...*Created originally on Bitbucket by [DaveInCaz (David Hollman)](https://bitbucket.org/%7B2dd8bec0-e2b4-43d0-b274-6ee79db66b75%7D/)*
In the Workbench console window, if I type 'cmd' and press enter, it appears to run the Windows command prompt.
But I am then unable to type anything. It becomes totally nonfunctional and I have to restart thg Workbench to get it back to normal.
This was observed on Windows 7.
TortoiseHg version 3.9 with Mercurial-3.9, Python-2.7.9, PyQt-4.11.3, Qt-4.8.6
*Attachments:* [Capture](/uploads/133a84f6a02b00824c78f010216c5457/Capture.PNG)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5323Font size issues (Windows)2023-05-11T03:44:57ZBitbucket ImporterFont size issues (Windows)*Created originally on Bitbucket by [haarschaf (Haar Schaf)](https://bitbucket.org/%7Be5d5c155-9e88-4320-9443-9e7be3a43911%7D/)*
Some font size issues as observed on Windows 7, 8, and 10:
1. Inconsistent font sizes across the program...*Created originally on Bitbucket by [haarschaf (Haar Schaf)](https://bitbucket.org/%7Be5d5c155-9e88-4320-9443-9e7be3a43911%7D/)*
Some font size issues as observed on Windows 7, 8, and 10:
1. Inconsistent font sizes across the program
2. List (tree) font size not adjustable
3. List fonts, list column header fonts, toolbar fonts, some labels, do not scale with high DPI settings, i.e. when zoom scale is > 100%, font remains very small and is hardly readable, both on high resolution screens and on screens that have scaling enabled for better readability. Applies both to DPI changes at runtime and on program startup.
Interestingly text in the description column that is bold is scaled properly.
Most issues could be fixed by the users themselves by introducing two more font options: one for list fonts (trees and main commit list) and one for the other UI elements like labels. This is the quickest fix and users could assign fixed fonts and sizes themselves. On the other hand, implementing proper high DPI support would take a much longer time, but is really not neccessary at this point as this is a blocking usability issue.
Cheershttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5135thgw.exe.log could not be opened2023-05-04T14:52:09ZBitbucket Importerthgw.exe.log could not be opened*Created originally on Bitbucket by [Horinius (T.F. SEAK)](https://bitbucket.org/%7B8ce673ba-c08d-4b1e-a8e8-07426f8de946%7D/)*
There is actually an old issue for this problem but it was already closed as resolved so I have to open anoth...*Created originally on Bitbucket by [Horinius (T.F. SEAK)](https://bitbucket.org/%7B8ce673ba-c08d-4b1e-a8e8-07426f8de946%7D/)*
There is actually an old issue for this problem but it was already closed as resolved so I have to open another one. The previous issue is at
https://bitbucket.org/tortoisehg/thg/issues/892/win7-64-access-error-writing-log
I am able to reproduce this bug **at ease** with version 4.6.1 x64 in a newly installed Win 10 version 1803. And this is what I did to reproduce it:
1. Clone a repo at https://bitbucket.org/
2. Enter username
3. Enter password
4. Close Hg workbench
And the dialog telling me that *... thgw.exe.log could not be opened ...* would appear. And subsequently, every time I open and close the workbench, the same dialog would appear again.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5470TortoiseHg 5.0.2 Windows 10 x64 MSI installer fails to detect Windows File Ex...2023-04-19T19:49:32ZBitbucket ImporterTortoiseHg 5.0.2 Windows 10 x64 MSI installer fails to detect Windows File Explorer stopped*Created originally on Bitbucket by Anonymous*
TortoiseHg 5.0.2 Windows 10 x64 MSI installer fails to detect Windows File Explorer has been stopped (grey desktop), skips file replacement, does not restart Windows File Explorer, and sche...*Created originally on Bitbucket by Anonymous*
TortoiseHg 5.0.2 Windows 10 x64 MSI installer fails to detect Windows File Explorer has been stopped (grey desktop), skips file replacement, does not restart Windows File Explorer, and schedules a restart with replacements.
Intsaller has to (know how to) launch Win-R Run or Ctrl-Alt-Esc Task Manager and restart Explorer.
This will prevent automated installs and so also acceptance and whitelisting for use in corporate environments.
Windows 10 Home Client Core Multiprocessor Free 6.3 1809 rs5_release 10 0 17763 615https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/3Error trying to lauch "thg log"2023-04-03T21:42:44ZBitbucket ImporterError trying to lauch "thg log"*Created originally on Bitbucket by [Saulius Gurklys](https://bitbucket.org/%7Babe9390d-4488-4d97-8340-f16558b3e08b%7D/)*
Hello,
executing {{{python thg log}}} I got and an error
{{{
#!python
** Please report this bug to http://...*Created originally on Bitbucket by [Saulius Gurklys](https://bitbucket.org/%7Babe9390d-4488-4d97-8340-f16558b3e08b%7D/)*
Hello,
executing {{{python thg log}}} I got and an error
{{{
#!python
** Please report this bug to http://bitbucket.org/tortoisehg/stable/issues
** Mercurial version (1.6+2-b2468fb58b2b). TortoiseHg version (1.1.2+199-f0433be8925a)
** Command: log
** CWD: N:\src\0mercurial\tortoisehg-stable
** Extensions loaded: rebase, win32text, mq, extdiff, highlight, graphlog, bookmarks
** Python version: 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
** Windows version: (5, 1, 2600, 2, 'Service Pack 3')
** Processor architecture: x86
Traceback (most recent call last):
File "N:\src\0mercurial\tortoisehg-stable\tortoisehg\hgqt\run.py", line 400, in __call__
dlg = dlgfunc(ui, *args, **opts)
File "N:\src\0mercurial\tortoisehg-stable\tortoisehg\hgqt\workbench.py", line 868, in run
return Workbench(ui, repo)
File "N:\src\0mercurial\tortoisehg-stable\tortoisehg\hgqt\workbench.py", line 73, in __init__
self.reporegistry = rr = RepoRegistryView(ui, self)
File "N:\src\0mercurial\tortoisehg-stable\tortoisehg\hgqt\reporegistry.py", line 185, in __init__
self.tmodel = m = RepoTreeModel(self.openrepo, ui, settingsfilename())
File "N:\src\0mercurial\tortoisehg-stable\tortoisehg\hgqt\repotreemodel.py", line 64, in __init__
root = readXml(f, reporegistryXmlElementName, self)
File "N:\src\0mercurial\tortoisehg-stable\tortoisehg\hgqt\repotreemodel.py", line 44, in readXml
itemread = undumpObject(xr, model)
File "N:\src\0mercurial\tortoisehg-stable\tortoisehg\hgqt\repotreeitem.py", line 44, in undumpObject
obj.undump(xr)
File "N:\src\0mercurial\tortoisehg-stable\tortoisehg\hgqt\repotreeitem.py", line 107, in undump
item = undumpObject(xr, self.model)
File "N:\src\0mercurial\tortoisehg-stable\tortoisehg\hgqt\repotreeitem.py", line 44, in undumpObject
obj.undump(xr)
File "N:\src\0mercurial\tortoisehg-stable\tortoisehg\hgqt\repotreeitem.py", line 270, in undump
RepoTreeItem.undump(self, xr)
File "N:\src\0mercurial\tortoisehg-stable\tortoisehg\hgqt\repotreeitem.py", line 107, in undump
item = undumpObject(xr, self.model)
File "N:\src\0mercurial\tortoisehg-stable\tortoisehg\hgqt\repotreeitem.py", line 44, in undumpObject
obj.undump(xr)
File "N:\src\0mercurial\tortoisehg-stable\tortoisehg\hgqt\repotreeitem.py", line 171, in undump
RepoTreeItem.undump(self, xr)
File "N:\src\0mercurial\tortoisehg-stable\tortoisehg\hgqt\repotreeitem.py", line 107, in undump
item = undumpObject(xr, self.model)
File "N:\src\0mercurial\tortoisehg-stable\tortoisehg\hgqt\repotreeitem.py", line 41, in undumpObject
classname = xmlToClass(str(xr.name().toString()))
File "N:\src\0mercurial\tortoisehg-stable\tortoisehg\hgqt\repotreeitem.py", line 32, in xmlToClass
return xmlClassMap[ele]
KeyError: 'paths'
}}}
Am I missing something?
Thanks
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/2Unwanted workbench changeset update2023-04-03T21:42:44ZBitbucket ImporterUnwanted workbench changeset update*Created originally on Bitbucket by [abuehl (Adrian Buehlmann)](https://bitbucket.org/%7Bbde8a3b1-d552-45fc-95c8-fd1617b73bfd%7D/)*
http://groups.google.com/group/thg-dev/msg/b7c1621631d981f2?hl=en*Created originally on Bitbucket by [abuehl (Adrian Buehlmann)](https://bitbucket.org/%7Bbde8a3b1-d552-45fc-95c8-fd1617b73bfd%7D/)*
http://groups.google.com/group/thg-dev/msg/b7c1621631d981f2?hl=enhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1horizontal scroll range too small in diff in workbench2023-04-03T21:42:44ZBitbucket Importerhorizontal scroll range too small in diff in workbench*Created originally on Bitbucket by [abuehl (Adrian Buehlmann)](https://bitbucket.org/%7Bbde8a3b1-d552-45fc-95c8-fd1617b73bfd%7D/)*
Using revision 79af6205f5c8.
Open the thg repo itself in workbench ('thg log') and look at the diff of ...*Created originally on Bitbucket by [abuehl (Adrian Buehlmann)](https://bitbucket.org/%7Bbde8a3b1-d552-45fc-95c8-fd1617b73bfd%7D/)*
Using revision 79af6205f5c8.
Open the thg repo itself in workbench ('thg log') and look at the diff of d5646ce28cf4.
The diff can't be scrolled to the full right end of the diff with the scroller on the bottom right, so it's impossible to see the full line of the diff of the file contrib/win32/setup.cfg.
Seen on Windows 7 x64 with PyQt GPL 4.7.3-2 for Python v2.6
*Attachments:* [issue-1](/uploads/39af3a5c4ba342e16155d37bac022035/issue-1.PNG)[issue-1-linux](/uploads/1ea768795d08d07a3bb1ccfa8f88dd51/issue-1-linux.png)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5298Issue when filteting to single result2023-01-18T14:36:53ZBitbucket ImporterIssue when filteting to single result*Created originally on Bitbucket by Anonymous*
If you have already done a filter to a single result then you do another filter to a single result it does not selected the new Changeset. Even if you click the single result it does not u...*Created originally on Bitbucket by Anonymous*
If you have already done a filter to a single result then you do another filter to a single result it does not selected the new Changeset. Even if you click the single result it does not update the filelist/Changeset info.
If you are filtering from multiple results to a single result this does not seem to be an issue.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5439AttributeError on pressing enter in advanced revision filter query dialog2023-01-06T03:44:44ZBitbucket ImporterAttributeError on pressing enter in advanced revision filter query dialog*Created originally on Bitbucket by Anonymous*
```
#!python
** Mercurial version (4.9). TortoiseHg version (4.9)
** Command:
** CWD: /home/osboxes/work/mozilla-unified
** Encoding: UTF-8
** Extensions loaded: abso...*Created originally on Bitbucket by Anonymous*
```
#!python
** Mercurial version (4.9). TortoiseHg version (4.9)
** Command:
** CWD: /home/osboxes/work/mozilla-unified
** Encoding: UTF-8
** Extensions loaded: absorb, histedit, rebase, evolve, firefoxtree, clang-format, push-to-try, shelve, journal, tortoisehg.util.configitems
** Python version: 2.7.16 (default, Apr 30 2019, 15:54:43) [GCC 9.0.1 20190312 (Red Hat 9.0.1-0.10)]
** System: Linux sigiesec-mozbln 5.1.18-300.fc30.x86_64 #1 SMP Mon Jul 15 15:42:34 UTC 2019 x86_64
** Qt-5.12.4 PyQt-5.12.2 QScintilla-2.11.2
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/revset.py", line 251, in returnPressed
if sel.count('(') and sel.contains(')'):
AttributeError: 'unicode' object has no attribute 'contains'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5371Error while hg status2022-11-30T15:26:37ZBitbucket ImporterError while hg status*Created originally on Bitbucket by Anonymous*
```
#!python
** Mercurial version (4.7.1). TortoiseHg version (4.7.1)
** Command:
** CWD: /Users/apple
** Encoding: utf-8
** Extensions loaded: tortoisehg.util.configi...*Created originally on Bitbucket by Anonymous*
```
#!python
** Mercurial version (4.7.1). TortoiseHg version (4.7.1)
** Command:
** CWD: /Users/apple
** Encoding: utf-8
** Extensions loaded: tortoisehg.util.configitems
** Python version: 2.7.15 (default, Jun 26 2018, 23:08:04) [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2)]
** System: Darwin Apples-MacBook-Pro.local 18.5.0 Darwin Kernel Version 18.5.0: Mon Mar 11 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64
** Qt-5.9.6 PyQt-5.9.2 QScintilla-2.10.4
Traceback (most recent call last):
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/repowidget.py", line 892, in onRevisionSelected
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/revdetails.py", line 308, in onRevisionSelected
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/revdetails.py", line 320, in _setContextToFileList
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/manifestmodel.py", line 301, in setRawContext
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/manifestmodel.py", line 289, in setRev
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/manifestmodel.py", line 403, in _repopulateNodes
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/manifestmodel.py", line 431, in _populateNodes
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/manifestmodel.py", line 604, in _populaterepo
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/manifestmodel.py", line 634, in _populatesubrepos
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/util.py", line 1412, in __get__
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/context.py", line 162, in substate
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/subrepoutil.py", line 52, in state
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/context.py", line 1300, in __contains__
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/dirstate.py", line 253, in __getitem__
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/dirstate.py", line 1246, in get
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/util.py", line 1412, in __get__
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/dirstate.py", line 1213, in _map
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/dirstate.py", line 1452, in read
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/util.py", line 1479, in wrapper
ValueError: overflow in dirstate
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5551Problem with 'Visual Diff' option - unicode characters2022-10-08T03:34:18ZBitbucket ImporterProblem with 'Visual Diff' option - unicode characters*Created originally on Bitbucket by [zork (Łukasz Michalski)](https://bitbucket.org/%7Bb4ab5927-e57a-4134-a5ec-60c31f7ab78b%7D/)*
Trying to use ‘Visual diff' between two arbitrary revisions:
```
** Mercurial version (5.4). Tort...*Created originally on Bitbucket by [zork (Łukasz Michalski)](https://bitbucket.org/%7Bb4ab5927-e57a-4134-a5ec-60c31f7ab78b%7D/)*
Trying to use ‘Visual diff' between two arbitrary revisions:
```
** Mercurial version (5.4). TortoiseHg version (5.4)
** Command: --nofork
** CWD: /home/zork
** Encoding: UTF-8
** Extensions loaded: strip, tortoisehg.util.configitems
** Python version: 3.8.3 (default, May 17 2020, 18:15:42) [GCC 10.1.0]
** System: Linux serenity 5.6.14-arch1-1 #1 SMP PREEMPT Wed, 20 May 2020 20:43:19 +0000 x86_64
** Qt-5.14.2 PyQt-5.14.2 QScintilla-2.11.4
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/repowidget.py", line 1397, in diffPair
dlg = visdiff.visualdiff(self.repo.ui, self.repo, [],
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/visdiff.py", line 268, in visualdiff
detectedtools = hglib.difftools(repo.ui)
File "/usr/lib/python3.8/site-packages/tortoisehg/util/hglib.py", line 521, in difftools
diffopts = pycompat.shlexsplit(diffopts)
File "/usr/lib/python3.8/site-packages/mercurial/pycompat.py", line 377, in shlexsplit
ret = shlex.split(s.decode('latin-1'), comments, posix)
AttributeError: 'NoneType' object has no attribute 'decode'
```
The problem may be related to unicode charaters in commit logs
I get the same stacktrace when double-clicking on any revision in my repo.
Arch Linux, thg 5.4 and mercurial build from AUR.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5453KeyError: <type 'unicode'>2022-10-08T03:34:17ZBitbucket ImporterKeyError: <type 'unicode'>*Created originally on Bitbucket by Anonymous*
```
Traceback (most recent call last):
File "thg", line 128, in <module>
File "tortoisehg\hgqt\run.pyo", line 73, in dispatch
File "tortoisehg\hgqt\qtapp.pyo", line 111, in earlyExcep...*Created originally on Bitbucket by Anonymous*
```
Traceback (most recent call last):
File "thg", line 128, in <module>
File "tortoisehg\hgqt\run.pyo", line 73, in dispatch
File "tortoisehg\hgqt\qtapp.pyo", line 111, in earlyExceptionMsgBox
KeyError: <type 'unicode'>
Traceback (most recent call last):
File "thg", line 128, in <module>
File "tortoisehg\hgqt\run.pyo", line 73, in dispatch
File "tortoisehg\hgqt\qtapp.pyo", line 111, in earlyExceptionMsgBox
KeyError: <type 'unicode'>
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5522python2.7, thg 5.0.2, build from source, 'module' object has no attribute 'IG...2022-10-06T14:52:25ZBitbucket Importerpython2.7, thg 5.0.2, build from source, 'module' object has no attribute 'IGNORES'*Created originally on Bitbucket by Anonymous*
OS: Fedora 25
I have both python 2.7 and python 3.5.4. /usr/bin/python is a symlink to python 3.5.4, which is my default python interpreter.
I have installed thg with the following co...*Created originally on Bitbucket by Anonymous*
OS: Fedora 25
I have both python 2.7 and python 3.5.4. /usr/bin/python is a symlink to python 3.5.4, which is my default python interpreter.
I have installed thg with the following commands:
python2 ./setup.py build
sudo python2 ./setup.py install
python2 is a symlink to python2.7 and the file /usr/bin/thg has a shebang /usr/bin/python2
The error:
[akamyshev@localhost tortoisehg-5.0.2]$ which thg
/usr/bin/thg
[akamyshev@localhost tortoisehg-5.0.2]$ thg
Traceback (most recent call last):
File "/usr/bin/thg", line 64, in <module>
demandimport.IGNORES.update([
AttributeError: 'module' object has no attribute 'IGNORES'
I get the same error if I tell it directly which python to use:
[akamyshev@localhost tortoisehg-5.0.2]$ python2.7 /usr/bin/thg
Traceback (most recent call last):
File "/usr/bin/thg", line 64, in <module>
demandimport.IGNORES.update([
AttributeError: 'module' object has no attribute 'IGNORES'https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5231thgw.exe failed to start2022-07-22T21:35:59ZBitbucket Importerthgw.exe failed to start*Created originally on Bitbucket by Anonymous*
TurtoiseHG version 4.7.1 x86 and x64 - same issue.
thgw.exe.log:
```
#!python
Traceback (most recent call last):
File "thg", line 100, in <module>
File "hgdemandimport\demandimportpy2...*Created originally on Bitbucket by Anonymous*
TurtoiseHG version 4.7.1 x86 and x64 - same issue.
thgw.exe.log:
```
#!python
Traceback (most recent call last):
File "thg", line 100, in <module>
File "hgdemandimport\demandimportpy2.pyo", line 268, in _demandimport
File "hgdemandimport\demandimportpy2.pyo", line 41, in _hgextimport
File "tortoisehg\util\hgversion.pyo", line 13, in <module>
File "hgdemandimport\demandimportpy2.pyo", line 145, in __getattr__
File "hgdemandimport\demandimportpy2.pyo", line 90, in _load
File "hgdemandimport\demandimportpy2.pyo", line 41, in _hgextimport
File "mercurial\util.pyo", line 53, in <module>
File "mercurial\policy.pyo", line 109, in importmod
File "mercurial\policy.pyo", line 63, in _importfrom
File "hgdemandimport\demandimportpy2.pyo", line 159, in __doc__
File "hgdemandimport\demandimportpy2.pyo", line 90, in _load
File "hgdemandimport\demandimportpy2.pyo", line 41, in _hgextimport
ImportError: No module named base85
Traceback (most recent call last):
File "thg", line 100, in <module>
File "hgdemandimport\demandimportpy2.pyo", line 268, in _demandimport
File "hgdemandimport\demandimportpy2.pyo", line 41, in _hgextimport
File "tortoisehg\util\hgversion.pyo", line 13, in <module>
File "hgdemandimport\demandimportpy2.pyo", line 145, in __getattr__
File "hgdemandimport\demandimportpy2.pyo", line 90, in _load
File "hgdemandimport\demandimportpy2.pyo", line 41, in _hgextimport
File "mercurial\util.pyo", line 53, in <module>
File "mercurial\policy.pyo", line 109, in importmod
File "mercurial\policy.pyo", line 63, in _importfrom
File "hgdemandimport\demandimportpy2.pyo", line 159, in __doc__
File "hgdemandimport\demandimportpy2.pyo", line 90, in _load
File "hgdemandimport\demandimportpy2.pyo", line 41, in _hgextimport
ImportError: No module named base85
Traceback (most recent call last):
File "thg", line 100, in <module>
File "hgdemandimport\demandimportpy2.pyo", line 268, in _demandimport
File "hgdemandimport\demandimportpy2.pyo", line 41, in _hgextimport
File "tortoisehg\util\hgversion.pyo", line 13, in <module>
File "hgdemandimport\demandimportpy2.pyo", line 145, in __getattr__
File "hgdemandimport\demandimportpy2.pyo", line 90, in _load
File "hgdemandimport\demandimportpy2.pyo", line 41, in _hgextimport
File "mercurial\util.pyo", line 53, in <module>
File "mercurial\policy.pyo", line 109, in importmod
File "mercurial\policy.pyo", line 63, in _importfrom
File "hgdemandimport\demandimportpy2.pyo", line 159, in __doc__
File "hgdemandimport\demandimportpy2.pyo", line 90, in _load
File "hgdemandimport\demandimportpy2.pyo", line 41, in _hgextimport
ImportError: No module named base85
```