Rebase crash asked me to report this

Issue #5254 duplicate
Former user created an issue


** Mercurial version (4.7.1).  TortoiseHg version (4.7.1)
** Command: 
** CWD: C:\WINDOWS\System32
** Encoding: cp1252
** Extensions loaded: convert, strip, mq, churn, rebase, evolve, histedit, shelve, 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\graft.pyo", line 305, in linkActivated
  File "tortoisehg\hgqt\graft.pyo", line 291, in checkResolve
  File "tortoisehg\hgqt\graft.pyo", line 285, in findrev
  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 '1' of type <type 'str'>

I was grafting a change from a branch to default. The graft was of changes to 2 files, one of which required me to resolve conflicts, but the error happened before the resolve and then also came after the resolve.