traceback - index out of error

Peer Sommerlund peer.sommerlund at gmail.com
Fri Nov 19 08:08:11 CST 2010


I'm on Windows XP

C:>hg sum
parent: 315:c5a7d8b9cfa8 tip
 xxxx (summary text deleted) xxxx
branch: default
commit: 2 modified, 1 deleted, 117 unknown
update: (current)

C:>hg up 314
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial at selenic.com
** Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit
(Intel)]
** Mercurial Distributed SCM (version 1.6.3)
** Extensions loaded: fixfrozenexts
Traceback (most recent call last):
  File "hg", line 36, in <module>
  File "mercurial\dispatch.pyo", line 16, in run
  File "mercurial\dispatch.pyo", line 34, in dispatch
  File "mercurial\dispatch.pyo", line 54, in _runcatch
  File "mercurial\dispatch.pyo", line 494, in _dispatch
  File "mercurial\dispatch.pyo", line 355, in runcommand
  File "mercurial\dispatch.pyo", line 545, in _runcommand
  File "mercurial\dispatch.pyo", line 499, in checkargs
  File "mercurial\dispatch.pyo", line 492, in <lambda>
  File "mercurial\util.pyo", line 420, in check
  File "mercurial\commands.pyo", line 3845, in update
  File "mercurial\hg.pyo", line 381, in update
  File "mercurial\merge.pyo", line 521, in update
  File "mercurial\merge.pyo", line 274, in applyupdates
IndexError: list index out of range

C:>hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
1184 files, 316 changesets, 1318 total revisions


Revision 315 contains a move of file "A" to file "B" and a deletion of file
"C"

The working directory contains file "A" and "C", but hg status reports them
as unknown "?"
I would have expected only "B" to be there.

The problem was solved by
del "A"
del "C"
hg revert "A" "C"
hg up 314
hg up 315


Regards,
Peer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20101119/60f84bdc/attachment.htm>


More information about the Mercurial mailing list