TypeError After Searching For A Word In Working Copy
TortoiseHg showed a dialog that said I should report this bug that occurred while I was searching for a word in a local repository.
The dialog said:
** Mercurial version (6.3.2). TortoiseHg version (6.3.2)
** Command:
** CWD: C:\WINDOWS\system32
** Encoding: cp1252
** Extensions loaded: convert, mq, strip, tortoisehg.util.configitems
** Python version: 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.15.2 PyQt-5.15.7 QScintilla-2.13.3
Traceback (most recent call last):
File "tortoisehg\hgqt\grep.pyc", line 822, in sort
TypeError: '<' not supported between instances of 'NoneType' and 'NoneType'
I'm not sure which step triggered the bug.
Approximate Steps to Reproduce the Problem
- Open TortoiseHg Workbench.
- Select a repository.
- Click on the Search button in the toolbar.
- Type "Inc_DT_Intth" or "Inc_DT_Int" into the top text box next to the "Ignore case" checkbox.
- Select the "Working Copy" radio button.
- Click Search or press Enter in the first text box.
- Wait for the search to finish.
- Click on at least 1 result in the grid (File | Line | Match Text).
Expected Result:
Nothing
Actual Result: