Unshelving crashes TortoiseHg
Created originally on Bitbucket by GrahamHelliwell (Graham Helliwell)
When trying to unshelve I get:
#!python
** Mercurial version (2.4+6-35ba170c0f82). TortoiseHg version (2.6)
** Command:
** CWD: C:\Windows\system32
** Encoding: cp1252
** Extensions loaded: rebase, mq, sync, mercurial_keyring, guestrepo, convert, reviewboard, win32lfn
** Python version: 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-4.8.0 PyQt-4.9.1
Traceback (most recent call last):
File "tortoisehg\hgqt\shelve.pyo", line 215, in moveFileLeft
File "tortoisehg\hgqt\chunks.pyo", line 358, in mergeChunks
File "tortoisehg\hgqt\chunks.pyo", line 183, in runPatcher
File "mercurial\patch.pyo", line 1447, in internalpatch
File "mercurial\patch.pyo", line 1427, in patchbackend
File "C:\Users\graham.helliwell\hgext\win32lfn\src\win32lfn.py", line 119, in fn
File "C:\Users\graham.helliwell\hgext\win32lfn\src\win32lfn.py", line 103, in uncabspath
AttributeError: 'cStringIO.StringO' object has no attribute 'startswith'
As far as I can tell this always happens - even on an empty repository with no special characters and a reasonably short file name.