IndexError or abort no node on unbundle (possibly related to phase)
Created originally on Bitbucket by dkaden (Douglas Kaden)
I got an unknown exception when trying to unbundle a bundle created with hg strip. I'm using TortoiseHg 3.1.2 on Windows 7.
Here's what I did:
- (Entered in output log pane) hg strip --rev 183:184 --rev 173:181 (Approximately--numbers might not be exact. I was trying to delete 173 to 184 except 182.)
- Clicked GUI "unbundle" button, selected newest bundle in .hg/strip-backup.
- Got a long error message, which started with this:
** Unknown exception encountered with possibly-broken third-party extension mercurial_keyring
The message said I should disable mercurial_keyring and try again. - I disabled mercurial_keyring and restarted TortoiseHg.
- Repeated step 2.
- Got another long error message, this time saying it was in tortoisehg.util.partialcommit. I don't know how to disable tortoisehg.util.partialcommit, so I'm now reporting it as a bug.
Here's the command and error message I got the first time:
% hg incoming --quiet --bundle "c:\users\douglas\appdata\local\temp\thg.7g3w9k\C_Projects--SL_SL-SW-TOP_SL-SW-PC_.hg_strip-backup_ca885a6d7a58-backup.hg_hlorew.hg" --force C:/Projects--SL/SL-SW-TOP/SL-SW-PC/.hg/strip-backup/ca885a6d7a58-backup.hg
** Unknown exception encountered with possibly-broken third-party extension mercurial_keyring
** which supports versions unknown of Mercurial.
** Please disable mercurial_keyring and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.6 (default, Nov 10 2013, 19:24:24) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 3.1.2)
** Extensions loaded: notify, convert, purge, hgk, rebase, extdiff, share, transplant, strip, mq, histedit, record, mercurial_keyring, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, tortoisehg.util.hgdispatch
Traceback (most recent call last):
File "hg", line 42, in <module>
File "mercurial\dispatch.pyo", line 28, in run
File "mercurial\dispatch.pyo", line 69, in dispatch
File "mercurial\dispatch.pyo", line 138, in _runcatch
File "mercurial\dispatch.pyo", line 839, in _dispatch
File "mercurial\dispatch.pyo", line 600, in runcommand
File "mercurial\dispatch.pyo", line 930, in _runcommand
File "mercurial\dispatch.pyo", line 901, in checkargs
File "mercurial\dispatch.pyo", line 836, in <lambda>
File "mercurial\util.pyo", line 550, in check
File "mercurial\extensions.pyo", line 151, in wrap
File "mercurial\util.pyo", line 550, in check
File "hgext\mq.pyo", line 3391, in mqcommand
File "mercurial\util.pyo", line 550, in check
File "mercurial\commands.pyo", line 5283, in serve
File "mercurial\commandserver.pyo", line 244, in serve
File "mercurial\commandserver.pyo", line 224, in serveone
File "mercurial\commandserver.pyo", line 207, in runcommand
File "mercurial\dispatch.pyo", line 69, in dispatch
File "mercurial\dispatch.pyo", line 138, in _runcatch
File "mercurial\extensions.pyo", line 196, in wrap
File "tortoisehg\util\hgdispatch.pyo", line 101, in _dispatch
File "mercurial\dispatch.pyo", line 839, in _dispatch
File "mercurial\dispatch.pyo", line 600, in runcommand
File "mercurial\dispatch.pyo", line 930, in _runcommand
File "mercurial\dispatch.pyo", line 901, in checkargs
File "mercurial\dispatch.pyo", line 836, in <lambda>
File "mercurial\util.pyo", line 550, in check
File "mercurial\extensions.pyo", line 151, in wrap
File "mercurial\util.pyo", line 550, in check
File "hgext\mq.pyo", line 3391, in mqcommand
File "mercurial\util.pyo", line 550, in check
File "mercurial\commands.pyo", line 3997, in incoming
File "mercurial\hg.pyo", line 575, in incoming
File "mercurial\hg.pyo", line 538, in _incoming
File "mercurial\bundlerepo.pyo", line 378, in getremotechanges
File "mercurial\changegroup.pyo", line 94, in writebundle
File "mercurial\changegroup.pyo", line 206, in getchunks
File "mercurial\changegroup.pyo", line 28, in getchunk
File "mercurial\changegroup.pyo", line 19, in readexactly
File "mercurial\changegroup.pyo", line 136, in read
File "mercurial\util.pyo", line 1036, in read
File "mercurial\util.pyo", line 1012, in splitbig
File "mercurial\changegroup.pyo", line 348, in generate
File "mercurial\changegroup.pyo", line 297, in group
File "mercurial\changegroup.pyo", line 327, in lookupcl
File "mercurial\changelog.pyo", line 284, in read
File "mercurial\bundlerepo.pyo", line 123, in revision
File "mercurial\bundlerepo.pyo", line 159, in baserevision
File "mercurial\revlog.pyo", line 970, in revision
File "mercurial\changelog.pyo", line 194, in node
IndexError: 151
** Unknown exception encountered with possibly-broken third-party extension mercurial_keyring
** which supports versions unknown of Mercurial.
** Please disable mercurial_keyring and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.6 (default, Nov 10 2013, 19:24:24) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 3.1.2)
** Extensions loaded: notify, convert, purge, hgk, rebase, extdiff, share, transplant, strip, mq, histedit, record, mercurial_keyring, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, tortoisehg.util.hgdispatch
cmdserver: process exited unexpectedly with code 255