Paste Filenames in the Commit Message pane fails
Selecting Paste Filenames causes an error to occur. This has been around a while, and I think it would actually cause the workbench to no longer work. Now, it seems like one can continue to work. The error report is:
#!python
** Mercurial version (6.1.1). TortoiseHg version (6.1.1)
** Command: --nofork
** CWD: /home/erik
** Encoding: UTF-8
** Extensions loaded: extdiff, strip, tortoisehg.util.configitems
** Python version: 3.10.4 (main, Apr 2 2022, 09:04:19) [GCC 11.2.0]
** System: Linux erik-Precision-7740 5.15.0-27-generic #28-Ubuntu SMP Thu Apr 14 04:55:28 UTC 2022 x86_64
** Qt-5.15.3 PyQt-5.15.6 QScintilla-2.11.6
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/tortoisehg/hgqt/messageentry.py", line 109, in paste
self.insert('\n'.join(sorted(files)))
TypeError: sequence item 0: expected str instance, bytes found