Rebase to dirty working copy: unknown command: "discard"
Created originally on Bitbucket by Mingun
After trying to rebase changeset to the last revision while working copy is dirty, rebase dialog appear with discard link. After click to that link appear error below.
#!python
** Mercurial version (4.5.2). TortoiseHg version (4.5.2)
** Command:
** CWD: D:\Programs\TortoiseHg
** Encoding: cp1251
** Extensions loaded: strip, mq, extdiff, hgsubversion, convert, svnbindings, rebase, hgk, histedit, tortoisehg.util.configitems
** Python version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [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.2 PyQt-5.9.1 QScintilla-2.10.2.dev1711012104
Traceback (most recent call last):
File "tortoisehg\hgqt\rebase.pyo", line 289, in linkActivated
File "tortoisehg\hgqt\wctxcleaner.pyo", line 124, in runCleaner
ValueError: unknown command: \"discard\"
PS. Very strange… TortoiseHg tell me that it was latest version (for actual version 4.0.0), but these have new version (4.5.2)… Anyway, bug reproduced in new version too.