py3:
Created originally on Bitbucket by André Klitzing
If I try to get the “file history” of specified file I get this.
#!python
** Mercurial version (5.3.2). TortoiseHg version (5.3.2)
** Command: --nofork
** CWD: /home/andre
** Encoding: UTF-8
** Extensions loaded: commitsigs, show, share, extdiff, rebase, purge, histedit, convert, gpg, strip, schemes, churn, record, patchbomb, releasenotes, absorb, tortoisehg.util.configitems
** Python version: 3.8.2 (default, Apr 8 2020, 14:31:25) [GCC 9.3.0]
** System: Linux t480 5.6.5-arch3-1 #1 SMP PREEMPT Sun, 19 Apr 2020 13:14:25 +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/filectxactions.py", line 115, in wrapped
func(self, fds)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/filectxactions.py", line 245, in navigateFileLog
dlg = self._navigate(filedialogs.FileLogDialog, fd)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/filectxactions.py", line 264, in _navigate
dlg.goto(fd.rev())
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/filedialogs.py", line 411, in goto
index = self.filerevmodel.indexLinkedFromRev(rev)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/repomodel.py", line 942, in indexLinkedFromRev
fctx = self.repo[rev][self._filename]
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/thgrepo.py", line 812, in __getitem__
changectx = super(thgrepository, self).__getitem__(changeid)
File "/usr/lib/python3.8/site-packages/mercurial/localrepo.py", line 1642, in __getitem__
b"unsupported changeid '%s' of type %s"
TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str'