[issue2773] hg fetch: "IndexError: list index out of range" after fetch

Sedat Kapanoglu bugs at mercurial.selenic.com
Wed Apr 20 17:17:15 UTC 2011


New submission from Sedat Kapanoglu <ssg at sourtimes.org>:

Received following crash after a long running "hg fetch" operation without 
any additional parameters. 

d:\otherbranch>hg fetch
pulling from d:\mainbranch
searching for changes
adding changesets
adding manifests
adding file changes
added 240 changesets with 492 changes to 224 files (+1 heads)
** 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
** Mercurial Distributed SCM (version 1.8)
** Extensions loaded: fixfrozenexts, fetch, purge, color, progress, chu
Traceback (most recent call last):
  File "hg", line 36, in <module>
  File "mercurial\dispatch.pyo", line 16, in run
  File "mercurial\dispatch.pyo", line 36, in dispatch
  File "mercurial\dispatch.pyo", line 58, in _runcatch
  File "mercurial\dispatch.pyo", line 601, in _dispatch
  File "mercurial\dispatch.pyo", line 406, in runcommand
  File "mercurial\extensions.pyo", line 178, in wrap
  File "hgext\color.pyo", line 224, in colorcmd
  File "mercurial\dispatch.pyo", line 655, in _runcommand
  File "mercurial\dispatch.pyo", line 609, in checkargs
  File "mercurial\dispatch.pyo", line 598, in <lambda>
  File "mercurial\util.pyo", line 433, in check
  File "mercurial\extensions.pyo", line 133, in wrap
  File "mercurial\util.pyo", line 433, in check
  File "hgext\mq.pyo", line 3047, in mqcommand
  File "mercurial\util.pyo", line 433, in check
  File "hgext\fetch.pyo", line 88, in fetch
IndexError: list index out of range

After the crash the working dir seems up to date. (hg fetch doesn't do 
anything anymore so I don't think I'll be able to reproduce or test the 
issue). 

"hg verify" found no problems.

----------
messages: 16088
nosy: ssg
priority: bug
status: unread
title: hg fetch: "IndexError: list index out of range" after fetch

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2773>
____________________________________________________


More information about the Mercurial-devel mailing list