Crash on Strip comment

Issue #5225 duplicate
Pavel Tarashchyk
created an issue

Steps to reproduce: 1. Enable Strip extenstion 2. Right click on commit - Modify History - Strip ... 3. TortoiseHg crashed

** Mercurial version (4.7).  TortoiseHg version (4.7)
** Command: --nofork workbench
** CWD: C:\dns
** Encoding: cp1251
** Extensions loaded: rebase, strip, 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\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 '41722' of type <type 'str'>