TypeError: unsupported operand type(s) for -: 'str' and 'str', when re-ordering/renaming mq patches
Created originally on Bitbucket by edmorley (Ed Morley)
{{{ #!python ** Mercurial version (1.9.2). TortoiseHg version (2.1.3) ** Command: ** CWD: C:\Windows\system32 ** Encoding: cp1252 ** Extensions loaded: extdiff, mq ** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)] ** Windows version: (6, 1, 7601, 2, 'Service Pack 1') ** Processor architecture: x64 ** Qt-4.7.1 PyQt-4.8.3 Traceback (most recent call last): File "tortoisehg\hgqt\repowidget.pyo", line 739, in modelFilled File "tortoisehg\hgqt\repoview.pyo", line 280, in goto File "tortoisehg\hgqt\repomodel.pyo", line 543, in indexFromRev File "tortoisehg\hgqt\repomodel.pyo", line 534, in rowFromRev File "tortoisehg\hgqt\graph.pyo", line 348, in index TypeError: unsupported operand type(s) for -: 'str' and 'str'
}}}
Rough steps leading up to it...
- Repository with ~75K revisions, ~85 mq'd patches, one patch qpushed
- With that one patch still qpushed (since I was compiling at the time), renamed a bunch of the unapplied mq patches, using the "Patch Queue" window & hitting F2, entering new name, hitting return.
- Mid-way through, noticed a patch was out of order, so dragged and dropped an unapplied mq patch to be at the end of the queue nearest the applied patch
- Returned to Patch Queue window, selected the moved, unapplied patch, hit F2, pressed enter, received the stacktrace above shortly after
Sorry to not be more specific, I was in the middle of doing a few things. Let me know if there is any more information I can provide that will be of use. Thanks!