py3: tags break tortoisehg
Created originally on Bitbucket by Gottfried Necker
Repositories with tags produce the following traceback:
#!python
** Mercurial version (5.3.1). TortoiseHg version (5.3.2)
** Command:
** CWD: /home/xxxxxx/software/hg
** Encoding: UTF-8
** Extensions loaded: convert, extdiff, transplant, rebase, tortoisehg.util.configitems
** Python version: 3.6.10 (default, Jan 16 2020, 09:12:04) [GCC]
** System: Linux xxxxxxxxxxxxxx.xxxx.xxx.xxx 4.12.14-lp151.28.44-default #1 SMP Fri Mar 20 18:20:20 UTC 2020 (dbf1aea) x86_64
** Qt-5.9.7 PyQt-5.11.3 QScintilla-2.10.4
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/tortoisehg/hgqt/repomodel.py", line 535, in data
return self._safedata(index, role)
File "/usr/lib/python3.6/site-packages/tortoisehg/hgqt/repomodel.py", line 555, in _safedata
result = self._rawdata(index, role)
File "/usr/lib/python3.6/site-packages/tortoisehg/hgqt/repomodel.py", line 575, in _rawdata
text = textfunc(self, ctx)
File "/usr/lib/python3.6/site-packages/tortoisehg/hgqt/repomodel.py", line 729, in _getlatesttags
self._latesttags[rev] = ctx.date()[0], 0, b':'.join(sorted(tags))
TypeError: sequence item 0: expected a bytes-like object, str found
This traceback is repeated several times.