thg issueshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues2020-10-09T14:15:53Zhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5553Segmentation fault on any Update command2020-10-09T14:15:53ZBitbucket ImporterSegmentation fault on any Update command*Created originally on Bitbucket by [Artalus](https://bitbucket.org/%7B7dcb5736-e2e8-42c8-8fbc-faafa1b0c00d%7D/)*
Linux, Python 3.8, mercurial 5.4.1 from pip3, tortoise from `19338 (f7665823fa59) py3: fix bytes/str mismatch in hgdispatc...*Created originally on Bitbucket by [Artalus](https://bitbucket.org/%7B7dcb5736-e2e8-42c8-8fbc-faafa1b0c00d%7D/)*
Linux, Python 3.8, mercurial 5.4.1 from pip3, tortoise from `19338 (f7665823fa59) py3: fix bytes/str mismatch in hgdispatch` also with pip3. On any Update command THG crashes with Segmentation fault.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5554cmdserver: execve: no such file or directory2020-07-03T23:58:08ZBitbucket Importercmdserver: execve: no such file or directory*Created originally on Bitbucket by [Artalus](https://bitbucket.org/%7B7dcb5736-e2e8-42c8-8fbc-faafa1b0c00d%7D/)*
Linux, Python 3.8, mercurial 5.4.1 from pip3, tortoise from `19338 (f7665823fa59) py3: fix bytes/str mismatch in hgdispatc...*Created originally on Bitbucket by [Artalus](https://bitbucket.org/%7B7dcb5736-e2e8-42c8-8fbc-faafa1b0c00d%7D/)*
Linux, Python 3.8, mercurial 5.4.1 from pip3, tortoise from `19338 (f7665823fa59) py3: fix bytes/str mismatch in hgdispatch` also with pip3. Whenever I try to filter the tree with Ctrl\+S, after inputting the revset and pressing enter I get this message:
```
cmdserver: execve: no such file or directory
cmdserver: process exited unexpectedly with code 0
```
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5548New releases for Windows?2020-09-26T02:51:59ZBitbucket ImporterNew releases for Windows?*Created originally on Bitbucket by [oktonion (0kt1m)](https://bitbucket.org/%7Ba9cde182-0b9c-433b-92f8-dc6d72636257%7D/)*
[https://tortoisehg.bitbucket.io/](https://tortoisehg.bitbucket.io/) page is currently heavily outdated. There ar...*Created originally on Bitbucket by [oktonion (0kt1m)](https://bitbucket.org/%7Ba9cde182-0b9c-433b-92f8-dc6d72636257%7D/)*
[https://tortoisehg.bitbucket.io/](https://tortoisehg.bitbucket.io/) page is currently heavily outdated. There are no new release builds since 2019-07-22. Also download for Win32 of most “recent” build v.5.0.2 is not working.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5519Debian bullseye: python-qscintilla2 package no longer exists2022-07-22T21:24:14ZE. C. MaslochDebian bullseye: python-qscintilla2 package no longer existsOn 2020-02-08 Saturday, upgrading Debian bullseye uninstalled the libqt4-\*, libqtcore4, python-qscintilla2, pyqt4-dev-tools, and python-qt4 packages. They are no longer available from Debian, at least not from the testing \(bullseye\) r...On 2020-02-08 Saturday, upgrading Debian bullseye uninstalled the libqt4-\*, libqtcore4, python-qscintilla2, pyqt4-dev-tools, and python-qt4 packages. They are no longer available from Debian, at least not from the testing \(bullseye\) repos.
\(The page at [https://bitbucket.org/tortoisehg/thg/wiki/developers/Linux](https://bitbucket.org/tortoisehg/thg/wiki/developers/Linux) lists that `pyqt4-dev-tools` and `python-qscintilla2` should be installed in Debian to run thg.\)
A few days later I closed thg and then re-opened it. Since then, it gives this error on startup:
```
#!python
** Mercurial version (5.2.2). TortoiseHg version (5.1+367-9e3bf37dd711)
** Command:
** CWD: /media/ssd-data/coding/proj/thg/thg
** Encoding: UTF-8
** Extensions loaded: record, strip, mq, transplant, eol, fetch, graphlog, children, churn, hgk, convert, purge, rebase, patchbomb, histedit, tortoisehg.util.configitems
** Python version: 2.7.17 (default, Jan 19 2020, 19:54:54) [GCC 9.2.1 20200110]
** System: Linux arona 5.3.0-3-amd64 #1 SMP Debian 5.3.15-1 (2019-12-07) x86_64
** Qt-5.12.5 PyQt-5.14.1 QScintilla-(unknown)
Traceback (most recent call last):
File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/run.py", line 138, in dispatch
return _runcatch(u, args)
File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/run.py", line 342, in _runcatch
return runcommand(ui, args)
File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/run.py", line 436, in runcommand
return _runcommand(lui, options, cmd, d)
File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/run.py", line 488, in _runcommand
return checkargs()
File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/run.py", line 441, in checkargs
return cmdfunc()
File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/run.py", line 435, in <lambda>
**pycompat.strkwargs(cmdoptions))
File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/qtapp.py", line 465, in __call__
dlg, reporoot = self._createdialog(dlgfunc, args, opts)
File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/qtapp.py", line 529, in _createdialog
return dlgfunc(self._ui, *args, **opts), reporoot
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1845, in check
return func(*args, **kwargs)
File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/run.py", line 1057, in log
w = _workbench(ui, *pats, **opts)
File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/run.py", line 527, in _workbench
w = qtrun.createWorkbench()
File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/qtapp.py", line 561, in createWorkbench
self._workbench = workbench.Workbench(
File "/usr/lib/python2.7/dist-packages/hgdemandimport/demandimportpy2.py", line 157, in __getattr__
self._load()
File "/usr/lib/python2.7/dist-packages/hgdemandimport/demandimportpy2.py", line 97, in _load
_origimport, head, globals, locals, None, level
File "/usr/lib/python2.7/dist-packages/hgdemandimport/demandimportpy2.py", line 44, in _hgextimport
return importfunc(name, globals, *args, **kwargs)
File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/workbench.py", line 56, in <module>
from .docklog import LogDockWidget
File "/usr/lib/python2.7/dist-packages/hgdemandimport/demandimportpy2.py", line 257, in _demandimport
_origimport, name, globals, locals, level=level
File "/usr/lib/python2.7/dist-packages/hgdemandimport/demandimportpy2.py", line 44, in _hgextimport
return importfunc(name, globals, *args, **kwargs)
File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/docklog.py", line 12, in <module>
from .qsci import (
File "/usr/lib/python2.7/dist-packages/hgdemandimport/demandimportpy2.py", line 181, in _demandimport
return _hgextimport(_origimport, name, globals, locals, fromlist, level)
File "/usr/lib/python2.7/dist-packages/hgdemandimport/demandimportpy2.py", line 44, in _hgextimport
return importfunc(name, globals, *args, **kwargs)
File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/qsci.py", line 17, in <module>
from PyQt5.Qsci import *
File "/usr/lib/python2.7/dist-packages/hgdemandimport/demandimportpy2.py", line 181, in _demandimport
return _hgextimport(_origimport, name, globals, locals, fromlist, level)
File "/usr/lib/python2.7/dist-packages/hgdemandimport/demandimportpy2.py", line 44, in _hgextimport
return importfunc(name, globals, *args, **kwargs)
ImportError: No module named Qsci
```
I tried installing the following packages without success:
* python-pyqt5
* libqscintilla2-qt5-15
* libqscintilla2-qt5-l10n
* python3-pyqt5
* python3-pyqt5.qsci
* pyqt5-dev
* pyqt5.qsci-dev
* libqscintilla2-qtlibqscintilla2-qt5-devlibqscintilla2-qt5-dev5-dev
The purpose of this report is twofold: First, to report that the Debian documentation is out of date. Second, to inquire how I can install the required components myself to run thg again.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5140hg-git "abort: No module named selectors!"2020-10-21T15:48:11ZBitbucket Importerhg-git "abort: No module named selectors!"*Created originally on Bitbucket by [vitidev](https://bitbucket.org/%7B41327545-f5ee-4a7e-a64c-d9b2221c23fd%7D/)*
any operation with any github repository cause error
abort: No module named selectors!
Tortoise 4.6.1, Win 10 x64 1079...*Created originally on Bitbucket by [vitidev](https://bitbucket.org/%7B41327545-f5ee-4a7e-a64c-d9b2221c23fd%7D/)*
any operation with any github repository cause error
abort: No module named selectors!
Tortoise 4.6.1, Win 10 x64 1079, all extenisons (except hg-git of course) disabled
```
#!python
% hg clone --verbose https://github.com/BerndSchrader/VisualHG.git "c:\dev\forks\CsConsoleFormat"
abort: No module named selectors!
[command returned code 255 Mon Jul 23 13:33:21 2018]
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/4384Amend can not forget files2020-06-21T10:57:58ZBitbucket ImporterAmend can not forget files*Created originally on Bitbucket by [psuter (Peter Suter)](https://bitbucket.org/%7B48b289e8-68dd-4aa4-8d3a-6458c5363d69%7D/)*
Steps to reproduce:
```
hg init
echo foo > foo.txt
echo bar > bar.txt
hg add foo.txt
hg add bar.txt
hg...*Created originally on Bitbucket by [psuter (Peter Suter)](https://bitbucket.org/%7B48b289e8-68dd-4aa4-8d3a-6458c5363d69%7D/)*
Steps to reproduce:
```
hg init
echo foo > foo.txt
echo bar > bar.txt
hg add foo.txt
hg add bar.txt
hg commit -m "Added foo and bar"
hg rm bar.txt
echo (but not bar) >> foo.txt
thg
```
Now in TortoiseHG switch to "Amend" mode, modify the commit message and click the Amend button.
Expected behavior: The changeset should not contain `bar.txt` anymore.
Actual (wrong?) behavior: The changeset still contains `bar.txt`.
----
A similar problem is adding a file, commit, renaming it, amend. It does not seem possible to amend the changeset in such a way that only the renamed file is added.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/3993Why does this occur?2020-07-05T03:27:37ZBitbucket ImporterWhy does this occur?*Created originally on Bitbucket by [zakimohzani (zaki mohzani)](https://bitbucket.org/%7B5e59a0ab-23ea-4117-9a4a-4c512f891714%7D/)*
I have a windows network drive and whenever I push, this occurs:
% hg push "\\a\b\c\d\Code_Base"
pu...*Created originally on Bitbucket by [zakimohzani (zaki mohzani)](https://bitbucket.org/%7B5e59a0ab-23ea-4117-9a4a-4c512f891714%7D/)*
I have a windows network drive and whenever I push, this occurs:
% hg push "\\a\b\c\d\Code_Base"
pushing to \\a\b\c\d\Code_Base
searching for changes
adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
abort: \\a\b\c\d\Code_Base\.hg/store\data/_components/_a/_b/5_c/_d.m: The system cannot find the path specified
[command returned code 255 Wed Dec 10 19:11:33 2014]
I believe it is because the path is a mixture of forward and back slashes.
Thank youhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/2172It is impossible to amend the tip to its parent's state using GUI2020-06-28T07:33:52ZBitbucket ImporterIt is impossible to amend the tip to its parent's state using GUI*Created originally on Bitbucket by [yruslan (Ruslan Yushchenko)](https://bitbucket.org/%7Bb452f22d-f78d-4944-9e5f-e2d27ea3b8b4%7D/)*
Consider following repository:
~~~~
#!sh
hg init
echo "Original string" > a
hg add a
hg ci -m ...*Created originally on Bitbucket by [yruslan (Ruslan Yushchenko)](https://bitbucket.org/%7Bb452f22d-f78d-4944-9e5f-e2d27ea3b8b4%7D/)*
Consider following repository:
~~~~
#!sh
hg init
echo "Original string" > a
hg add a
hg ci -m "Initial"
echo "Changed string" > a
hg ci -m "Changed"
echo "Original string" > a
~~~~
Next, in TortoiseHG commit window try to select "Amend" option. There is no files marked as changed. If I unfilter 'clean' files and select file 'a', nothing will be amended also.
On the other hand, using Mercurial command line:
hg ci --amend -m "Something"
will do as it should.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5659Revset query autocompletes to author('b\'…\'')2020-12-02T12:42:28ZSimon SapinRevset query autocompletes to author('b\'…\'')In TortoiseHg version 5.6 with Mercurial-5.6, Python-3.8.6, PyQt-5.15.1, Qt-5.15.1.
In the "revision set query" search bar I started typing `author`, and thg auto-completed `author('b\'My Name <me@example.net>\'')` (with the name and em...In TortoiseHg version 5.6 with Mercurial-5.6, Python-3.8.6, PyQt-5.15.1, Qt-5.15.1.
In the "revision set query" search bar I started typing `author`, and thg auto-completed `author('b\'My Name <me@example.net>\'')` (with the name and email from `ui.username` hg config). That query gives zero results.
It looks like a byte string was formatted with `repr`, then then resulting Unicode string was backslash-escaped to be a string literal in the query language. It should probably be decoded (in UTF-8?) instead.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/4782Cannot pull or clone repo2020-07-04T20:37:11ZBitbucket ImporterCannot pull or clone repo*Created originally on Bitbucket by Anonymous*
Error
Thu May 18 11:07:33 GMT+100 2017: Unable to pull from remote repository: http://server/hgweb.cgi/RepoName/ - [** unknown exception encountered, please report by visiting, ** https://...*Created originally on Bitbucket by Anonymous*
Error
Thu May 18 11:07:33 GMT+100 2017: Unable to pull from remote repository: http://server/hgweb.cgi/RepoName/ - [** unknown exception encountered, please report by visiting, ** https://mercurial-scm.org/wiki/BugTracker, ** Python 2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit (AMD64)], ** Mercurial Distributed SCM (version 4.0), ** Extensions loaded: , Traceback (most recent call last):, File "hg", line 49, in <module>, File "mercurial\dispatch.pyo", line 60, in run, File "mercurial\dispatch.pyo", line 126, in dispatch, File "mercurial\dispatch.pyo", line 216, in _runcatch, File "mercurial\dispatch.pyo", line 225, in callcatch, File "mercurial\dispatch.pyo", line 205, in _runcatchfunc, File "mercurial\dispatch.pyo", line 901, in _dispatch, File "mercurial\dispatch.pyo", line 650, in runcommand, File "mercurial\dispatch.pyo", line 909, in _runcommand, File "mercurial\dispatch.pyo", line 898, in <lambda>, File "mercurial\util.pyo", line 1037, in check, File "mercurial\commands.pyo", line 5912, in pull, File "mercurial\exchange.pyo", line 1215, in pull, File "mercurial\exchange.pyo", line 1353, in _pullbundle2, File "mercurial\wireproto.pyo", line 417, in getbundle, File "mercurial\bundle2.pyo", line 661, in getunbundler, File "mercurial\changegroup.pyo", line 38, in readexactly, File "mercurial\util.pyo", line 1642, in read, File "mercurial\util.pyo", line 1614, in splitbig, File "mercurial\httppeer.pyo", line 38, in zgenerator, zlib.error: Error -3 while decompressing: invalid code lengths set] - pulling from http://server/hgweb.cgi/RepoName/ requesting all changeshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/2438Built-in Web Server doesn't list the paths correctly2020-06-26T10:32:46ZBitbucket ImporterBuilt-in Web Server doesn't list the paths correctly*Created originally on Bitbucket by [jglathe (Jens Glathe)](https://bitbucket.org/%7B70bbf021-0d74-4436-9c39-199f538248ea%7D/)*
Hi,
just tried out the built-in web server (works), but the paths on the initial page are not listed corr...*Created originally on Bitbucket by [jglathe (Jens Glathe)](https://bitbucket.org/%7B70bbf021-0d74-4436-9c39-199f538248ea%7D/)*
Hi,
just tried out the built-in web server (works), but the paths on the initial page are not listed correctly (see screenshot).
with best regards
Jens
*Attachments:* [thgbug_130223](/uploads/44a56530deeac7e916af69b438e46473/thgbug_130223.jpg)[hgweb.fcgi](/uploads/d568ddcc251a8d4b44c4808c203d48ff/hgweb.fcgi)[hgweb.wsgi](/uploads/b135202e7d3229141a2eafd55b4eaa8b/hgweb.wsgi)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1851Error while closing TortoiseHg settings2020-06-26T10:28:07ZBitbucket ImporterError while closing TortoiseHg settings*Created originally on Bitbucket by [amcameron (Andrew Cameron)](https://bitbucket.org/%7Be75d5110-9ee3-46cd-99a8-edffb6f94db8%7D/)*
On Windows 7, 64-bit.
Error is somewhat intermittent; I haven't figured out exactly what to do to re...*Created originally on Bitbucket by [amcameron (Andrew Cameron)](https://bitbucket.org/%7Be75d5110-9ee3-46cd-99a8-edffb6f94db8%7D/)*
On Windows 7, 64-bit.
Error is somewhat intermittent; I haven't figured out exactly what to do to reproduce it. However, these steps seem mostly reliable:
# Open TortoiseHg settings from File -> Settings from within TortoiseHg workbench. (Error does not occur if settings are loaded from, e.g., right-click context menu in Windows Explorer.)
# Ensure an extension is enabled (e.g. eol, churn).
# Click OK.
Sometimes, this does not cause any errors. Viewing a different group of settings (e.g., Workbench, Issue Tracking) before clicking OK may or may not prevent the error from occurring.
In any event, my configuration file seems correct the next time I open it, despite the error, so this would appear to be a minor issue.
*Attachments:* [bugreport2.txt](/uploads/dd9ee3d88de2272ce1f7e258b1748272/bugreport2.txt)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1783thg keeps a ref to a folderrepo for too long ?2020-06-26T10:27:33ZBitbucket Importerthg keeps a ref to a folderrepo for too long ?*Created originally on Bitbucket by [johansamyn (Johan Samyn)](https://bitbucket.org/%7B9c10eb3e-883d-43e9-988f-cdc051634361%7D/)*
Hi,
Today I created a small test repo, added it to the reporegistry and opened it. When I was finished...*Created originally on Bitbucket by [johansamyn (Johan Samyn)](https://bitbucket.org/%7B9c10eb3e-883d-43e9-988f-cdc051634361%7D/)*
Hi,
Today I created a small test repo, added it to the reporegistry and opened it. When I was finished with it, I closzed the repotab, and even removed it from the reporegistry.
Then I opened Windows Explorer and tried to delete the repo folder. That however presented an eror message. See the attachment for a screendump. Happens both on Win 7 pro 32 and 64 bit.
Only when I closed the Workbench I was able to delete the folder. I guess there is some reference to that repo folder staying behind, even when it is removed from the reporegistry, causing some lock on the folder ?
Johan
*Attachments:* [step-1-opened](/uploads/4c6fbd00ac3708b176d71bb40e46c36e/step-1-opened.jpg)[step-2-closed](/uploads/8b34617af24f9d02d9629f663570d35e/step-2-closed.jpg)[step-3-quit](/uploads/591c26d21723e421a3d78957d3216ee9/step-3-quit.jpg)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/614Rename dialog's encoding is not correct2020-06-26T10:18:24ZBitbucket ImporterRename dialog's encoding is not correct*Created originally on Bitbucket by [willie (Chia-Huan Wu)](https://bitbucket.org/%7B67d4a46f-c35a-41f5-a89b-d0e8632885ef%7D/)*
OS: Windows 7 Traditional Chinese
TortoiseHG version: 2.0.3 x64
Please see the attached screenshot file,...*Created originally on Bitbucket by [willie (Chia-Huan Wu)](https://bitbucket.org/%7B67d4a46f-c35a-41f5-a89b-d0e8632885ef%7D/)*
OS: Windows 7 Traditional Chinese
TortoiseHG version: 2.0.3 x64
Please see the attached screenshot file, although the rename command works still...https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/504Strange Behavior in Chinese Commit Message2020-06-26T10:17:34ZBitbucket ImporterStrange Behavior in Chinese Commit Message*Created originally on Bitbucket by [sherlockmao (Sheng Mao)](https://bitbucket.org/%7B5e21f162-4fef-4044-bbe6-74c742bef33a%7D/)*
This problem started since Tortoisehg 2.0, and it was not solved in April's new version. Through the probl...*Created originally on Bitbucket by [sherlockmao (Sheng Mao)](https://bitbucket.org/%7B5e21f162-4fef-4044-bbe6-74c742bef33a%7D/)*
This problem started since Tortoisehg 2.0, and it was not solved in April's new version. Through the problem, no error/exception was thrown.
When I input commit message in Chinese, I meet this:
(C1..Cn means the nth Chinese character; input --> result in commit box)
1. input C1 --> C1;
2. input C2 --> C2C1.
However, it should be C1C2.
The problem may be caused by two bytes width of Chinese character, and I am not familiar with Qt, so I am so sorry I cannot solve effectively.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5557version `Qt_5.15' not found2020-06-27T18:14:23ZBitbucket Importerversion `Qt_5.15' not found*Created originally on Bitbucket by Anonymous*
I updated site-packages/PyQt5 (Fedora32, in user packages) and now thg fails to start, with
ImportError: /home/nbecker/.local/lib/python3.8/site-packages/PyQt5/Qt/lib/libQt5Core.so.5: ...*Created originally on Bitbucket by Anonymous*
I updated site-packages/PyQt5 (Fedora32, in user packages) and now thg fails to start, with
ImportError: /home/nbecker/.local/lib/python3.8/site-packages/PyQt5/Qt/lib/libQt5Core.so.5: version `Qt_5.15' not found (required by /home/nbecker/.local/lib/python3.8/site-packages/PyQt5/Qsci.abi3.so)
This is thg version
hg id
4a232bb1f8cc (stable) tip
Any hints?https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5556Synchronize options - TypeError: can only concatenate str (not "bytes") to str2020-09-10T13:57:07ZBitbucket ImporterSynchronize options - TypeError: can only concatenate str (not "bytes") to str*Created originally on Bitbucket by Anonymous*
How to reproduce:
1. Click the "Synchronize" button
1. Click the "Options" button
1. Input "default" in the "Branch:" input field
1. Click the "Save" button
Stack trace:
```
#!...*Created originally on Bitbucket by Anonymous*
How to reproduce:
1. Click the "Synchronize" button
1. Click the "Options" button
1. Input "default" in the "Branch:" input field
1. Click the "Save" button
Stack trace:
```
#!python
** Mercurial version (5.4.1). TortoiseHg version (5.4.1+6-13c9b451f6b0)
** Command:
** CWD: /home/user
** Encoding: UTF-8
** Extensions loaded: tortoisehg.util.configitems
** Python version: 3.8.2 (default, Apr 27 2020, 15:53:34) [GCC 9.3.0]
** System: Linux localhost 5.4.0-37-generic #41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020 x86_64
** Qt-5.15.0 PyQt-5.15.0 QScintilla-2.11.5
Traceback (most recent call last):
File "/home/user/repository/thg/tortoisehg/hgqt/qtlib.py", line 1339, in showEvent
self.get()
File "/home/user/repository/thg/tortoisehg/hgqt/qtlib.py", line 1351, in get
self._widget = func()
File "/home/user/repository/thg/tortoisehg/hgqt/repowidget.py", line 414, in createSyncWidget
sw = SyncWidget(self._repoagent, self)
File "/home/user/repository/thg/tortoisehg/hgqt/sync.py", line 292, in __init__
self.setEditUrl('')
File "/home/user/repository/thg/tortoisehg/hgqt/sync.py", line 455, in setEditUrl
self.refreshUrl()
File "/home/user/repository/thg/tortoisehg/hgqt/sync.py", line 440, in refreshUrl
opts.append('--'+opt+'='+value)
TypeError: can only concatenate str (not "bytes") to str
```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/5550Dirstate Overflow Crash2020-07-04T20:12:11ZBitbucket ImporterDirstate Overflow Crash*Created originally on Bitbucket by Anonymous*
```
#!python
** Mercurial version (4.9.1). TortoiseHg version (4.9.1)
** Command: --nofork workbench
** CWD: E:\workdir\blades\NB17
** Encoding: cp1252
** Extensions lo...*Created originally on Bitbucket by Anonymous*
```
#!python
** Mercurial version (4.9.1). TortoiseHg version (4.9.1)
** Command: --nofork workbench
** CWD: E:\workdir\blades\NB17
** Encoding: cp1252
** Extensions loaded: tortoisehg.util.configitems, largefiles
** 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=1, build=7601, platform=2, service_pack='Service Pack 1')
** 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 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
Traceback (most recent call last):
File "tortoisehg\hgqt\status.pyo", line 716, in run
File "mercurial\localrepo.pyo", line 158, in wrapper
File "hgext\largefiles\reposetup.pyo", line 153, in status
File "mercurial\localrepo.pyo", line 2677, in status
File "mercurial\context.pyo", line 350, in status
File "mercurial\context.pyo", line 1576, in _buildstatus
File "mercurial\context.pyo", line 1506, in _dirstatestatus
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/5549i18n/msgfmt.py array.array().tostring() fails on Python 3.92021-02-04T01:21:39ZBitbucket Importeri18n/msgfmt.py array.array().tostring() fails on Python 3.9*Created originally on Bitbucket by [kiilerix (Mads Kiilerich)](https://bitbucket.org/%7B557b6cb1-8bba-4f83-a28b-d729192b84ef%7D/)*
```
$ grep tostring `hg mani`
i18n/msgfmt.py: output += array.array("i", offsets).tostring()
$ py...*Created originally on Bitbucket by [kiilerix (Mads Kiilerich)](https://bitbucket.org/%7B557b6cb1-8bba-4f83-a28b-d729192b84ef%7D/)*
```
$ grep tostring `hg mani`
i18n/msgfmt.py: output += array.array("i", offsets).tostring()
$ python3.8 -c 'import array; print(array.array("i", [7]).tostring())'
b'\x07\x00\x00\x00'
$ python3.9 -c 'import array; print(array.array("i", [7]).tostring())'
Traceback (most recent call last):
File "<string>", line 1, in <module>
AttributeError: 'array.array' object has no attribute 'tostring'
```
Seen on [https://kojipkgs.fedoraproject.org//work/tasks/5285/45385285/build.log](https://kojipkgs.fedoraproject.org//work/tasks/5285/45385285/build.log) - I don’t know yet if other problems come next.