Modify History->Strip failed

Issue #5227 duplicate
Anonymous created an issue

!python

** Mercurial version (4.7).  TortoiseHg version (4.7)
** Command: --nofork workbench
** Encoding: cp1251
** Extensions loaded: rebase, shelve, mercurial_keyring, strip, mq, 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=1, build=7601, platform=2, service_pack='Service Pack 1')
** Processor architecture: x64
** Qt-5.9.2 PyQt-5.9.1 QScintilla-2.10.2.dev1711012104
Traceback (most recent call last):
  File "tortoisehg\hgqt\repowidget.pyo", line 1862, in stripRevision
  File "tortoisehg\hgqt\thgstrip.pyo", line 195, in createStripDialog
  File "tortoisehg\hgqt\thgstrip.pyo", line 103, in __init__
  File "tortoisehg\hgqt\thgstrip.pyo", line 136, in preview
  File "tortoisehg\hgqt\thgstrip.pyo", line 124, in updatecslist
  File "tortoisehg\hgqt\thgstrip.pyo", line 117, in get_rev
  File "tortoisehg\hgqt\thgrepo.pyo", line 772, in __getitem__
  File "mercurial\localrepo.pyo", line 856, in __getitem__
  File "mercurial\context.pyo", line 439, in __init__
ProgrammingError: unsupported changeid '14876' of type <type 'str'>