tortoisehg command line "unshelve" crashes with mercurial.patch.PatchError in tortoisehg\util\hgshelve.pyo, line 623
Created originally on Bitbucket by valters (Valters Vingolds)
I shelved some changes using the command line "hg shelve" command (enabled by extension "tortoisehg.util.hgshelve="). However running "hg unshelve" crashes. Issue exists in the new 2.4 version also.
Following stacktrace is produced. {{{ I:\platform>hg unshelve restoring backup files ** unknown exception encountered, please report by visiting ** http://mercurial.selenic.com/wiki/BugTracker ** Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)] ** Mercurial Distributed SCM (version 2.2.1) ** Extensions loaded: mercurial_keyring, rebase, convert, graphlog, transplant, extdiff, mq, progress, reviewboard, tortoisehg.util.hgshelve, contains Traceback (most recent call last): File "hg", line 42, in File "mercurial\dispatch.pyo", line 27, in run File "mercurial\dispatch.pyo", line 64, in dispatch File "mercurial\dispatch.pyo", line 87, in _runcatch File "mercurial\dispatch.pyo", line 685, in _dispatch File "mercurial\dispatch.pyo", line 467, in runcommand File "mercurial\dispatch.pyo", line 775, in _runcommand File "mercurial\dispatch.pyo", line 746, in checkargs File "mercurial\dispatch.pyo", line 682, in File "mercurial\util.pyo", line 463, in check File "mercurial\extensions.pyo", line 139, in wrap File "mercurial\util.pyo", line 463, in check File "hgext\mq.pyo", line 3350, in mqcommand File "mercurial\util.pyo", line 463, in check File "tortoisehg\util\hgshelve.pyo", line 623, in unshelve mercurial.patch.PatchError }}}