thg 5.4.2 py3 : fail graft with discard
use thg5.4.2 (tagged for changeset 20f9aee27152) run on win8 py3.8:
invoke grafting, and select discard changes. got this crash:
#!python
** Mercurial version (5.4.1). TortoiseHg version (5.4.1)
** Command: --nofork
** CWD: D:\projects\hg\thg\thg.work
** Encoding: cp1251
** Extensions loaded: convert, strip, mq, rebase, record, transplant, highlight, show, split, commitextras, fix, uncommit, share, hggit, censor, histedit, narrow, closehead, remotenames, schemes, eol, 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=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.9.9 PyQt-5.13.2 QScintilla-2.10.8
Traceback (most recent call last):
File "tortoisehg\hgqt\graft.pyo", line 295, in linkActivated
File "tortoisehg\hgqt\wctxcleaner.pyo", line 124, in runCleaner
ValueError: unknown command: \"discard\"