Error in Visual Diff Tool settings
TortoiseHg throws the following error when I click on the dropdown for the Visual Diff Tool in the TortoiseHg Settings window. The dropdown displays the word "Meld". The error is thrown immediately upon clicking the dropdown. The results are identical for both the global settings and the repository settings.
See possibly related report #5586 (closed) Crash on Visual Diff
#!python
** Mercurial version (5.4.2). TortoiseHg version (5.4.2)
** Command: --nofork userconf
** CWD: C:\Users\wkiger\Desktop\RadOncSoftware\src
** Encoding: cp1252
** Extensions loaded: TimestampMod, tortoisehg.util.configitems
** Python version: 2.7.17 (v2.7.17:c2f86d86e6, Oct 19 2019, 21:01:17) [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.9 PyQt-5.13.2 QScintilla-2.10.8
Traceback (most recent call last):
File "tortoisehg\hgqt\settings.pyo", line 158, in showPopup
File "tortoisehg\hgqt\settings.pyo", line 584, in findDiffTools
File "tortoisehg\util\hglib.pyo", line 521, in difftools
File "shlex.pyo", line 279, in split
File "shlex.pyo", line 269, in next
File "shlex.pyo", line 96, in get_token
File "shlex.pyo", line 124, in read_token
AttributeError: 'NoneType' object has no attribute 'read'