thg issueshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues2020-07-05T15:05:39Zhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5500AttributeError: 'NoneType' object has no attribute 'row'2020-07-05T15:05:39ZBitbucket ImporterAttributeError: 'NoneType' object has no attribute 'row'*Created originally on Bitbucket by [Paul A. Cojan](https://bitbucket.org/%7B38f2fa30-6387-46fb-aa6e-df27dada4b6f%7D/)*
```
#!python
** Mercurial version (5.0.2). TortoiseHg version (5.0.2)
** Command: --nofork workbench...*Created originally on Bitbucket by [Paul A. Cojan](https://bitbucket.org/%7B38f2fa30-6387-46fb-aa6e-df27dada4b6f%7D/)*
```
#!python
** Mercurial version (5.0.2). TortoiseHg version (5.0.2)
** Command: --nofork workbench
** CWD: \\compugame.dk\filserver\home\PAC\Windows\Desktop
** Encoding: cp1252
** Extensions loaded: strip, mercurial_keyring, 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\repotreemodel.pyo", line 148, in parent
AttributeError: 'NoneType' object has no attribute 'row'
```
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5497New machine, now can't push to remote.2022-07-22T18:41:29ZBitbucket ImporterNew machine, now can't push to remote.*Created originally on Bitbucket by Anonymous*
Hi,
I've moved over to a new machine and cloned my projects and re-installed TortoiseHG.
Now when I push my code it seems to only push locally and not to the remote machine, always claimi...*Created originally on Bitbucket by Anonymous*
Hi,
I've moved over to a new machine and cloned my projects and re-installed TortoiseHG.
Now when I push my code it seems to only push locally and not to the remote machine, always claiming that 'No outgoing changesets to [server path]'.
I'm also always prompted to enter username and password even though I have it set not to in settings.
How do I get it to start pushing to the server again, what's happened.
*Attachments:* [local](/uploads/1a75c1592277dc9c4ae2a86628f28d24/local.jpg)[server](/uploads/58669e142c936858b1d4ff7a649a9573/server.jpg)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5495"ValueError: need more than 1 value to unpack" when starting HG Workbench2020-07-05T15:08:03ZBitbucket Importer"ValueError: need more than 1 value to unpack" when starting HG Workbench*Created originally on Bitbucket by Anonymous*
In Windows 10 I right-click in the repository's folder and choose HG Workbench from the context menu. I immediately see this error:
#!python
** Mercurial version (5.0.2). Torto...*Created originally on Bitbucket by Anonymous*
In Windows 10 I right-click in the repository's folder and choose HG Workbench from the context menu. I immediately see this error:
#!python
** Mercurial version (5.0.2). TortoiseHg version (5.0.2)
** Command: --nofork workbench
** CWD: C:\Users\richa\OneDrive\Documents\Visual Studio 2019\Projects\PhiDbAndPhiCapture2
** Encoding: cp1252
** Extensions loaded: fetch, kilnauth, big-push, kiln, strip, 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\repotreemodel.pyo", line 429, in _updateItem
File "tortoisehg\hgqt\repotreemodel.pyo", line 424, in _updateBaseNode
File "tortoisehg\util\hglib.pyo", line 173, in repoidnode
File "tortoisehg\util\hglib.pyo", line 160, in _firstchangectx
File "tortoisehg\hgqt\thgrepo.pyo", line 772, in __getitem__
File "mercurial\localrepo.pyo", line 1338, in __getitem__
File "mercurial\repoview.pyo", line 228, in changelog
File "mercurial\repoview.pyo", line 167, in filterrevs
File "mercurial\repoview.pyo", line 77, in computehidden
File "mercurial\repoview.pyo", line 32, in hideablerevs
File "mercurial\localrepo.pyo", line 100, in __get__
File "mercurial\scmutil.pyo", line 1451, in __get__
File "mercurial\localrepo.pyo", line 1241, in _phasecache
File "mercurial\phases.pyo", line 225, in __init__
File "mercurial\phases.pyo", line 168, in _readroots
ValueError: need more than 1 value to unpack
This repository was working fine yesterday with Tortoise HG 4.3.1. This morning I saw the above error on version 4.3.1, then installed 5.0.2 to see if it would help, but the error persists with version 5.0.2.
This is on Windows 10 Pro x64, version 1909, build 18363.535.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5494pushing to a longstanding backup on LAN2020-07-05T15:09:09ZBitbucket Importerpushing to a longstanding backup on LAN*Created originally on Bitbucket by Anonymous*
```
#!python
** Mercurial version (3.9.1). TortoiseHg version (3.9.1)
** Command: --nofork workbench
** CWD: C:\PTxD
** Encoding: cp1252
** Extensions loaded:
** P...*Created originally on Bitbucket by Anonymous*
```
#!python
** Mercurial version (3.9.1). TortoiseHg version (3.9.1)
** Command: --nofork workbench
** CWD: C:\PTxD
** Encoding: cp1252
** Extensions loaded:
** Python version: 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-4.8.6 PyQt-4.11.3 QScintilla-2.8.4
Traceback (most recent call last):
File "tortoisehg\hgqt\sync.pyo", line 765, in _onPullFinished
File "tortoisehg\hgqt\thgrepo.pyo", line 1034, in recursiveMergeStatus
File "mercurial\util.pyo", line 768, in __get__
File "mercurial\context.pyo", line 168, in substate
File "mercurial\subrepo.pyo", line 101, in state
File "mercurial\context.pyo", line 1392, in __contains__
File "mercurial\dirstate.pyo", line 313, in __getitem__
File "mercurial\util.pyo", line 768, in __get__
File "mercurial\dirstate.pyo", line 137, in _map
File "mercurial\dirstate.pyo", line 435, in _read
File "mercurial\util.pyo", line 888, in wrapper
ValueError: overflow in dirstate
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5493backoutToRevision gets bytes/str mismatch2020-07-04T21:13:13ZBitbucket ImporterbackoutToRevision gets bytes/str mismatch*Created originally on Bitbucket by Anonymous*
```
#!python
#!python
** Mercurial version (5.2+24-371765e775a2). TortoiseHg version (5.1+200-fb9035853199)
** Command: --nofork
** CWD: /home/jh
** Encoding: U...*Created originally on Bitbucket by Anonymous*
```
#!python
#!python
** Mercurial version (5.2+24-371765e775a2). TortoiseHg version (5.1+200-fb9035853199)
** Command: --nofork
** CWD: /home/jh
** Encoding: UTF-8
** Extensions loaded: tortoisehg.util.configitems
** Python version: 3.7.4 (default, Oct 4 2019, 06:57:26) [GCC 9.2.0]
** System: Linux SSD2 4.19.85-1-MANJARO #1 SMP PREEMPT Thu Nov 21 10:38:39 UTC 2019 x86_64
** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.11.3
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/repowidget.py", line 1887, in backoutToRevision
dlg = backout.BackoutDialog(self._repoagent, self.rev, self)
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/backout.py", line 80, in __init__
self.addPage(ResultPage(repoagent, self))
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/backout.py", line 561, in __init__
bkCsInfo = csinfo.create(self.repo, 'tip', withupdate=True)
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/csinfo.py", line 38, in create
return Factory(repo, custom, style, target, **kargs)()
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/csinfo.py", line 105, in __call__
widget = SummaryPanel(*args)
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/csinfo.py", line 412, in __init__
SummaryBase.__init__(self, target, custom, repo, info)
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/csinfo.py", line 375, in __init__
self.ctx = repo[self.target]
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/thgrepo.py", line 796, in __getitem__
changectx = super(thgrepository, self).__getitem__(changeid)
File "/usr/lib/python3.7/site-packages/mercurial/localrepo.py", line 1571, in __getitem__
% (changeid, pycompat.bytestr(type(changeid)))
TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5492py3: Traceback when attempting to close branch2020-06-21T11:20:58ZBitbucket Importerpy3: Traceback when attempting to close branch*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
To reproduce:
* Click the branch options button above the commit text entry
* Select "close cur...*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
To reproduce:
* Click the branch options button above the commit text entry
* Select "close current branch"
* Click OK
```python
#!python
** Mercurial version (5.2). TortoiseHg version (5.1+242-04db28b10b0b)
** Command:
** CWD: /home/bilbo/labscript_suite/labscript_utils
** Encoding: UTF-8
** Extensions loaded: strip, mq, churn, rebase, tortoisehg.util.configitems
** Python version: 3.8.0 (default, Oct 23 2019, 18:51:26) [GCC 9.2.0]
** System: Linux bilbo-arch 5.4.1-arch1-1 #1 SMP PREEMPT Fri, 29 Nov 2019 13:37:24 +0000 x86_64
** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.11.3
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/commit.py", line 805, in branchOp
engmsg = self.repo.ui.configbool(
File "/usr/lib/python3.8/site-packages/mercurial/ui.py", line 688, in configbool
v = self._config(section, name, default, untrusted=untrusted)
File "/usr/lib/python3.8/site-packages/mercurial/ui.py", line 585, in _config
msg %= (section, name)
TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5491py3: propertyChanged2020-06-27T20:13:18ZBitbucket Importerpy3: propertyChanged*Created originally on Bitbucket by [André Klitzing](https://bitbucket.org/%7Bbe572446-3da4-4dd0-a388-1e28bb341de5%7D/)*
If I click a changeset hash value in a commit message I get this stacktrace.
```
#!python
** Mercuri...*Created originally on Bitbucket by [André Klitzing](https://bitbucket.org/%7Bbe572446-3da4-4dd0-a388-1e28bb341de5%7D/)*
If I click a changeset hash value in a commit message I get this stacktrace.
```
#!python
** Mercurial version (5.2). TortoiseHg version (5.1+222-064bd167810d)
** Command: --nofork
** CWD: /home/andre
** Encoding: UTF-8
** Extensions loaded: show, share, extdiff, rebase, purge, histedit, convert, gpg, strip, schemes, churn, record, patchbomb, releasenotes, absorb, tortoisehg.util.configitems
** Python version: 3.8.0 (default, Oct 23 2019, 18:51:26) [GCC 9.2.0]
** System: Linux t480 5.3.13-arch1-1 #1 SMP PREEMPT Sun, 24 Nov 2019 10:15:50 +0000 x86_64
** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.11.3
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/lexers.py", line 119, in refreshProperties
self.propertyChanged.emit('lexer.cpp.track.preprocessor', '0')
TypeError: propertyChanged(self, str, str).emit(): argument 1 has unexpected type 'str'
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/lexers.py", line 119, in refreshProperties
self.propertyChanged.emit('lexer.cpp.track.preprocessor', '0')
TypeError: propertyChanged(self, str, str).emit(): argument 1 has unexpected type 'str'
```
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5490Mercurial just stop opening repository2020-07-04T21:18:09ZBitbucket ImporterMercurial just stop opening repository*Created originally on Bitbucket by Anonymous*
```
#!python
** Mercurial version (4.9.1). TortoiseHg version (4.9.1)
** Command:
** CWD: C:\Windows\system32
** Encoding: cp1251
** Extensions loaded: eol, tortoisehg...*Created originally on Bitbucket by Anonymous*
```
#!python
** Mercurial version (4.9.1). TortoiseHg version (4.9.1)
** Command:
** CWD: C:\Windows\system32
** Encoding: cp1251
** Extensions loaded: eol, 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\workbench.pyo", line 714, in openRepo
File "tortoisehg\hgqt\repotab.pyo", line 122, in openRepo
File "tortoisehg\hgqt\repotab.pyo", line 396, in _createRepoWidget
File "tortoisehg\hgqt\thgrepo.pyo", line 662, in openRepoAgent
File "tortoisehg\hgqt\thgrepo.pyo", line 62, in repository
File "mercurial\hg.pyo", line 186, in repository
File "mercurial\hg.pyo", line 173, in _peerorrepo
File "hgext\eol.pyo", line 421, in reposetup
File "hgext\eol.pyo", line 339, in _hgcleardirstate
File "hgext\eol.pyo", line 332, in loadeol
File "hgext\eol.pyo", line 242, in parseeol
File "mercurial\context.pyo", line 83, in __getitem__
File "mercurial\context.pyo", line 489, in filectx
File "mercurial\context.pyo", line 267, in filenode
File "mercurial\context.pyo", line 259, in _fileinfo
File "mercurial\manifest.pyo", line 1829, in find
File "mercurial\manifest.pyo", line 1799, in read
File "mercurial\manifest.pyo", line 375, in __init__
ValueError: Manifest did not end in a newline.
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5487win10 x64 installation failed!!!!2020-07-04T21:13:55ZBitbucket Importerwin10 x64 installation failed!!!!*Created originally on Bitbucket by Anonymous*
tortoisehg-5.0.2-x64.msi or any other x64 version installation failed.
HRESULT:0x800736B3*Created originally on Bitbucket by Anonymous*
tortoisehg-5.0.2-x64.msi or any other x64 version installation failed.
HRESULT:0x800736B3https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5486py3: traceback on "merge with local"2020-08-13T11:06:37ZBitbucket Importerpy3: traceback on "merge with local"*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
To reproduce:
* Right click on a different head, click "merge with local"
Result is the foll...*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
To reproduce:
* Right click on a different head, click "merge with local"
Result is the following traceback:
```python
#!python
** Mercurial version (5.2+209-d3c4368099ed). TortoiseHg version (5.1+210-99ffcab6a93a)
** Command: --nofork
** CWD: /home/bilbo
** Encoding: UTF-8
** Extensions loaded: strip, mq, churn, rebase, tortoisehg.util.configitems
** Python version: 3.8.0 (default, Oct 23 2019, 18:51:26) [GCC 9.2.0]
** System: Linux bilbo-arch 4.19.84-1-lts #1 SMP Tue, 12 Nov 2019 22:19:52 +0000 x86_64
** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.11.3
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/repowidget.py", line 1850, in mergeWithRevision
self._dialogs.open(RepoWidget._createMergeDialog, rev)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/qtlib.py", line 1255, in open
dlg = self._preparedlg(self._genkey(self.parent(), *args, **kwargs),
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/qtlib.py", line 1276, in _preparedlg
return self._populatedlg(key, args, kwargs)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/qtlib.py", line 1279, in _populatedlg
dlg = self._createdlg(self.parent(), *args, **kwargs)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/repowidget.py", line 172, in <lambda>
lambda self, dlgmeth, *args: dlgmeth(self, *args), parent=self)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/repowidget.py", line 1853, in _createMergeDialog
return merge.MergeDialog(self._repoagent, rev, self)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/merge.py", line 73, in __init__
self.addPage(ResultPage(repoagent, self))
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/merge.py", line 680, in __init__
mergeCsInfo = csinfo.create(self.repo, 'tip', withupdate=True)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/csinfo.py", line 38, in create
return Factory(repo, custom, style, target, **kargs)()
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/csinfo.py", line 105, in __call__
widget = SummaryPanel(*args)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/csinfo.py", line 412, in __init__
SummaryBase.__init__(self, target, custom, repo, info)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/csinfo.py", line 375, in __init__
self.ctx = repo[self.target]
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/thgrepo.py", line 796, in __getitem__
changectx = super(thgrepository, self).__getitem__(changeid)
File "/usr/lib/python3.8/site-packages/mercurial/localrepo.py", line 1570, in __getitem__
b"unsupported changeid '%s' of type %s"
TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5484py3: Rollback confirmation dialog contains bytestring prefix2020-06-21T11:20:49ZBitbucket Importerpy3: Rollback confirmation dialog contains bytestring prefix*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
To reproduce:
* Make a commitest
* Click repository > rollback/undo
The message in the confirm...*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
To reproduce:
* Make a commitest
* Click repository > rollback/undo
The message in the confirmation dialog that pop up says: "Rollback to revision 6 (undo b'commit')?"https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5483py3: traceback on `thg blame`2020-06-21T11:20:48ZBitbucket Importerpy3: traceback on `thg blame`*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
I get a traceback running `thg blame <some_file>` from the command line.
```python
#!pytho...*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
I get a traceback running `thg blame <some_file>` from the command line.
```python
#!python
** Mercurial version (5.2+209-d3c4368099ed). TortoiseHg version (5.1+198-78dc5479b8fb)
** Command: blame /home/bilbo/labscript_suite/labscript_devices/NI_DAQmx/blacs_workers.py
** CWD: /home/bilbo/labscript_suite/labscript_devices/NI_DAQmx
** Encoding: UTF-8
** Extensions loaded: strip, mq, churn, rebase, tortoisehg.util.configitems
** Python version: 3.8.0 (default, Oct 23 2019, 18:51:26) [GCC 9.2.0]
** System: Linux bilbo-arch 4.19.84-1-lts #1 SMP Tue, 12 Nov 2019 22:19:52 +0000 x86_64
** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.11.3
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/run.py", line 138, in dispatch
return _runcatch(u, args)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/run.py", line 342, in _runcatch
return runcommand(ui, args)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/run.py", line 436, in runcommand
return _runcommand(lui, options, cmd, d)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/run.py", line 488, in _runcommand
return checkargs()
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/run.py", line 441, in checkargs
return cmdfunc()
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/run.py", line 434, in <lambda>
d = lambda: qtrun(checkedfunc, ui, *args,
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/qtapp.py", line 464, in __call__
dlg, reporoot = self._createdialog(dlgfunc, args, opts)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/qtapp.py", line 528, in _createdialog
return dlgfunc(self._ui, *args, **opts), reporoot
File "/usr/lib/python3.8/site-packages/mercurial/util.py", line 1840, in check
return func(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/run.py", line 568, in annotate
dlg = filelog(ui, repoagent, *pats, **opts)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/run.py", line 751, in filelog
filename = hglib.canonpaths(pats)[0]
File "/usr/lib/python3.8/site-packages/tortoisehg/util/hglib.py", line 379, in canonpaths
canonpats.append(pathutil.canonpath(root, cwd, f))
File "/usr/lib/python3.8/site-packages/mercurial/pathutil.py", line 195, in canonpath
if util.endswithsep(root):
File "/usr/lib/python3.8/site-packages/mercurial/util.py", line 2268, in endswithsep
path.endswith(pycompat.ossep)
TypeError: endswith first arg must be str or a tuple of str, not bytes
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5482py3: traceback upon repository > shelve2020-07-04T21:19:33ZBitbucket Importerpy3: traceback upon repository > shelve*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
To reproduce: click repository > shelve
traceback:
```python
#!python
** Mercurial ...*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
To reproduce: click repository > shelve
traceback:
```python
#!python
** Mercurial version (5.2+209-d3c4368099ed). TortoiseHg version (5.1+198-78dc5479b8fb)
** Command:
** CWD: /home/bilbo/labscript_suite/labscript_devices/SoftwareDevice/testing
** Encoding: UTF-8
** Extensions loaded: strip, mq, churn, rebase, tortoisehg.util.configitems
** Python version: 3.8.0 (default, Oct 23 2019, 18:51:26) [GCC 9.2.0]
** System: Linux bilbo-arch 4.19.84-1-lts #1 SMP Tue, 12 Nov 2019 22:19:52 +0000 x86_64
** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.11.3
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/workbench.py", line 871, in forwarder
getattr(w, name)(*params, **namedparams)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/repowidget.py", line 768, in shelve
self._dialogs.open(RepoWidget._createShelveDialog)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/qtlib.py", line 1249, in open
dlg = self._preparedlg(self._genkey(self.parent(), *args, **kwargs),
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/qtlib.py", line 1270, in _preparedlg
return self._populatedlg(key, args, kwargs)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/qtlib.py", line 1273, in _populatedlg
dlg = self._createdlg(self.parent(), *args, **kwargs)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/repowidget.py", line 172, in <lambda>
lambda self, dlgmeth, *args: dlgmeth(self, *args), parent=self)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/repowidget.py", line 771, in _createShelveDialog
dlg = shelve.ShelveDialog(self._repoagent)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/shelve.py", line 218, in __init__
self.refreshCombos()
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/shelve.py", line 472, in refreshCombos
self.comboBChanged(idxb)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/shelve.py", line 503, in comboBChanged
self.browseb.setContext(self.repo[rev])
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/thgrepo.py", line 796, in __getitem__
changectx = super(thgrepository, self).__getitem__(changeid)
File "/usr/lib/python3.8/site-packages/mercurial/localrepo.py", line 1570, in __getitem__
b"unsupported changeid '%s' of type %s"
TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'type'
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/chunks.py", line 479, in displayFile
self.diffbrowse.displayFile(file, status)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/chunks.py", line 755, in displayFile
fd = filedata.createFileData(self._ctx, None, filename, status)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/filedata.py", line 796, in createFileData
return FileData(ctx, ctx2, wfile, status, rpath, mstatus)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/filedata.py", line 216, in __init__
super(FileData, self).__init__(ctx, pctx, path, status, rpath)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/filedata.py", line 85, in __init__
self._textencoding = fileencoding.contentencoding(ctx._repo.ui)
AttributeError: 'NoneType' object has no attribute '_repo'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5480py3: can't add new files to commit2020-06-21T11:20:45ZBitbucket Importerpy3: can't add new files to commit*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
When selecting previously untracked files to add to a commit, upon clicking the commit button, one ...*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
When selecting previously untracked files to add to a commit, upon clicking the commit button, one gets a "nothing changed" popup message and the following error in the console output:
```
% hg add -- b'SoftwareDevice/__init__.py' b'SoftwareDevice/blacs_tabs.py' b'SoftwareDevice/blacs_workers.py' b'SoftwareDevice/labscript_devices.py' b'SoftwareDevice/register_classes.py' b'SoftwareDevice/testing/test.py' b'SoftwareDevice/utils.py'
b'SoftwareDevice/__init__.py': No such file or directory
b'SoftwareDevice/blacs_tabs.py': No such file or directory
b'SoftwareDevice/blacs_workers.py': No such file or directory
b'SoftwareDevice/labscript_devices.py': No such file or directory
b'SoftwareDevice/register_classes.py': No such file or directory
b'SoftwareDevice/testing/test.py': No such file or directory
b'SoftwareDevice/utils.py': No such file or directory
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5478py3: traceback upon clicking to edit config file2020-06-21T11:20:43ZBitbucket Importerpy3: traceback upon clicking to edit config file*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
I get the following upon clicking "edit file" in the repo settings to edit the hgrc file:
```pyt...*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
I get the following upon clicking "edit file" in the repo settings to edit the hgrc file:
```python
#!python
** Mercurial version (5.2+86-a78a65c33b5a). TortoiseHg version (5.1+189-2660c64eacb4)
** Command:
** CWD: /home/bilbo/labscript_suite/userlib/pythonlib/alkali
** Encoding: UTF-8
** Extensions loaded: strip, mq, churn, rebase, tortoisehg.util.configitems
** Python version: 3.7.4 (default, Oct 4 2019, 06:57:26) [GCC 9.2.0]
** System: Linux bilbo-arch 4.19.83-1-lts #1 SMP Sun, 10 Nov 2019 11:29:44 +0000 x86_64
** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.11.3
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/settings.py", line 1550, in editClicked
qscilib.fileEditor(self.fn, foldable=True)
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/qscilib.py", line 864, in fileEditor
if not readFile(editor, filename):
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/qscilib.py", line 751, in readFile
if '\0' in earlybytes:
TypeError: a bytes-like object is required, not 'str'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5477py3: traceback upon open terminal2020-06-21T11:20:42ZBitbucket Importerpy3: traceback upon open terminal*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
I get the following upon pressing ctrl-shift-T to open a terminal in the repo directory:
```pyth...*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
I get the following upon pressing ctrl-shift-T to open a terminal in the repo directory:
```python
#!python
** Mercurial version (5.2+86-a78a65c33b5a). TortoiseHg version (5.1+189-2660c64eacb4)
** Command:
** CWD: /home/bilbo/labscript_suite/userlib/pythonlib/alkali
** Encoding: UTF-8
** Extensions loaded: strip, mq, churn, rebase, tortoisehg.util.configitems
** Python version: 3.7.4 (default, Oct 4 2019, 06:57:26) [GCC 9.2.0]
** System: Linux bilbo-arch 4.19.83-1-lts #1 SMP Sun, 10 Nov 2019 11:29:44 +0000 x86_64
** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.11.3
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/workbench.py", line 1190, in terminal
w.repo.ui)
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/qtlib.py", line 262, in openshell
shell, args = terminal.detectterminal(ui)
File "/usr/lib/python3.7/site-packages/tortoisehg/util/terminal.py", line 106, in detectterminal
name, pathorconfig = _findterminal(ui_)
File "/usr/lib/python3.7/site-packages/tortoisehg/util/terminal.py", line 84, in _findterminal
terminal = ui.config('tortoisehg', 'shell')
File "/usr/lib/python3.7/site-packages/mercurial/ui.py", line 566, in config
section, name, default=default, untrusted=untrusted
File "/usr/lib/python3.7/site-packages/mercurial/ui.py", line 585, in _config
msg %= (section, name)
TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5476py3: traceback upon running vdiff2020-06-21T11:20:41ZBitbucket Importerpy3: traceback upon running vdiff*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
I'm on Arch Linux with a development build of mercurial and a custom package for installing tortois...*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
I'm on Arch Linux with a development build of mercurial and a custom package for installing tortoisehg for python 3. Arch is rapidly dropping Python 2 components, and it's getting harder to keep the required Python 2 components around for thg. So I'm running it on Python 3 - it's hitting many issues but I'm just going to report them all and hopefully things will be in shape at some point!
Here's what I get when I run `thg vdiff <some_file>`
```python
#!python
** Mercurial version (5.2+86-a78a65c33b5a). TortoiseHg version (5.1+189-2660c64eacb4)
** Command: vdiff /home/bilbo/labscript_suite/userlib/pythonlib/alkali/atom.py
** CWD: /home/bilbo/labscript_suite/userlib/pythonlib/alkali
** Encoding: UTF-8
** Extensions loaded: strip, mq, churn, rebase, tortoisehg.util.configitems
** Python version: 3.7.4 (default, Oct 4 2019, 06:57:26) [GCC 9.2.0]
** System: Linux bilbo-arch 4.19.83-1-lts #1 SMP Sun, 10 Nov 2019 11:29:44 +0000 x86_64
** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.11.3
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/run.py", line 138, in dispatch
return _runcatch(u, args)
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/run.py", line 342, in _runcatch
return runcommand(ui, args)
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/run.py", line 435, in runcommand
return _runcommand(lui, options, cmd, d)
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/run.py", line 487, in _runcommand
return checkargs()
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/run.py", line 440, in checkargs
return cmdfunc()
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/run.py", line 434, in <lambda>
**pycompat.strkwargs(cmdoptions))
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/qtapp.py", line 464, in __call__
dlg, reporoot = self._createdialog(dlgfunc, args, opts)
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/qtapp.py", line 528, in _createdialog
return dlgfunc(self._ui, *args, **opts), reporoot
File "/usr/lib/python3.7/site-packages/mercurial/util.py", line 1843, in check
return func(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/run.py", line 1417, in vdiff
pats = hglib.canonpaths(pats)
File "/usr/lib/python3.7/site-packages/tortoisehg/util/hglib.py", line 379, in canonpaths
canonpats.append(pathutil.canonpath(root, cwd, f))
File "/usr/lib/python3.7/site-packages/mercurial/pathutil.py", line 191, in canonpath
if util.endswithsep(root):
File "/usr/lib/python3.7/site-packages/mercurial/util.py", line 2271, in endswithsep
path.endswith(pycompat.ossep)
TypeError: endswith first arg must be str or a tuple of str, not bytes
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5475py3: ui.language2020-06-21T11:20:40ZBitbucket Importerpy3: ui.language*Created originally on Bitbucket by [André Klitzing](https://bitbucket.org/%7Bbe572446-3da4-4dd0-a388-1e28bb341de5%7D/)*
Hi there,
tried current version \(37a8b66f481d\) and I got an exception on startup with python3.
```
#!p...*Created originally on Bitbucket by [André Klitzing](https://bitbucket.org/%7Bbe572446-3da4-4dd0-a388-1e28bb341de5%7D/)*
Hi there,
tried current version \(37a8b66f481d\) and I got an exception on startup with python3.
```
#!python
** Mercurial version (5.2). TortoiseHg version (5.1+185-37a8b66f481d)
** Command:
** Encoding: UTF-8
** Extensions loaded:
** Python version: 3.7.4 (default, Oct 4 2019, 06:57:26) [GCC 9.2.0]
** System: Linux t480 5.3.10-arch1-1 #1 SMP PREEMPT Sun, 10 Nov 2019 11:29:38 +0000 x86_64
** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.11.3
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/run.py", line 138, in dispatch
return _runcatch(u, args)
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/run.py", line 342, in _runcatch
return runcommand(ui, args)
File "/usr/lib/python3.7/site-packages/tortoisehg/hgqt/run.py", line 378, in runcommand
i18n.setlanguage(ui.config(b'tortoisehg', b'ui.language'))
File "/usr/lib/python3.7/site-packages/tortoisehg/util/i18n.py", line 51, in setlanguage
fallback=True, **opts)
File "/usr/lib/python3.7/gettext.py", line 518, in translation
mofiles = find(domain, localedir, languages, all=True)
File "/usr/lib/python3.7/gettext.py", line 490, in find
for nelang in _expand_lang(lang):
File "/usr/lib/python3.7/gettext.py", line 212, in _expand_lang
loc = locale.normalize(loc)
File "/usr/lib/python3.7/locale.py", line 402, in normalize
if ':' in code:
TypeError: a bytes-like object is required, not 'str'
```
Reason in ~/.hgrc:
```
[tortoisehg]
ui.language = en
```
If I remove this it works.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5474Issue happen when try to graft2020-09-26T02:54:06ZBitbucket ImporterIssue happen when try to graft*Created originally on Bitbucket by Anonymous*
```
#!python
** Mercurial version (4.7.1). TortoiseHg version (4.7.1)
** Command:
** CWD: /Users/eutech
** Encoding: utf-8
** Extensions loaded: purge, tortoisehg.util...*Created originally on Bitbucket by Anonymous*
```
#!python
** Mercurial version (4.7.1). TortoiseHg version (4.7.1)
** Command:
** CWD: /Users/eutech
** Encoding: utf-8
** Extensions loaded: purge, 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 Eutechs-MBP.mshome.net 18.6.0 Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/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 1841, in graftRevisions
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/graft.py", line 62, in __init__
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/graft.py", line 58, in cleanrevlist
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/mercurial/scmutil.py", line 545, in revsymbol
RepoLookupError: unknown revision '¢EnodesX(37a094e9018fd6c1f0b9ceb7e834571bca9b041aHnewnodes€'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5466Broken links to "edit on bitbucket" in ReadTheDocs2020-08-19T13:52:02ZBitbucket ImporterBroken links to "edit on bitbucket" in ReadTheDocs*Created originally on Bitbucket by [teo8976 (Teo Tei)](https://bitbucket.org/%7B4d381d15-4c61-4a29-9de3-d1b5a89dbb2a%7D/)*
[https://tortoisehg.readthedocs.io/en/latest/faq.html](https://tortoisehg.readthedocs.io/en/latest/faq.html)
...*Created originally on Bitbucket by [teo8976 (Teo Tei)](https://bitbucket.org/%7B4d381d15-4c61-4a29-9de3-d1b5a89dbb2a%7D/)*
[https://tortoisehg.readthedocs.io/en/latest/faq.html](https://tortoisehg.readthedocs.io/en/latest/faq.html)
or any other page of the docs.
The link “Edit on BitBucket” at the top of the page is broken:
```
https://bitbucket.org/tortoisehg/thg//src/stable/doc/source/faq.txt?mode=view
```
There’s an excess `/` between “thg” and “src”.
I searched the source code of the docs but can’t find anything that seems to be realted to those links. I guess it’s a configuration in the ReadTheDocs project?
@{557058:4b06a480-f21c-438a-ac32-49c7e6bffe0a}