[issue1776] error while executing hg heads command

akhil mercurial-bugs at selenic.com
Fri Jul 31 03:21:54 CDT 2009


New submission from akhil <akhil.gaur at gmail.com>:

Hi,

I am getting "ValueError: corrupt index file" while executing hg heads and
verify commands.
following in the complete error:

C:\mercurial_test\testing1>hg version
Mercurial Distributed SCM (version 1.2.1)

Copyright (C) 2005-2009 Matt Mackall <mpm at selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

C:\mercurial_test\testing1>hg verify
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.2.1)
** Extensions loaded: mq
Traceback (most recent call last):
  File "hg", line 38, in <module>
  File "mercurial\dispatch.pyc", line 16, in run
  File "mercurial\dispatch.pyc", line 25, in dispatch
  File "mercurial\dispatch.pyc", line 41, in _runcatch
  File "mercurial\dispatch.pyc", line 372, in _dispatch
  File "mercurial\dispatch.pyc", line 247, in runcommand
  File "mercurial\dispatch.pyc", line 417, in _runcommand
  File "mercurial\dispatch.pyc", line 377, in checkargs
  File "mercurial\dispatch.pyc", line 371, in <lambda>
  File "mercurial\util.pyc", line 718, in check
  File "mercurial\commands.pyc", line 2944, in verify
  File "mercurial\hg.pyc", line 289, in verify
  File "mercurial\verify.pyc", line 15, in verify
  File "mercurial\verify.pyc", line 29, in _verify
  File "mercurial\localrepo.pyc", line 99, in __getattr__
  File "mercurial\manifest.pyc", line 28, in __init__
  File "mercurial\revlog.pyc", line 453, in __init__
  File "mercurial\revlog.pyc", line 369, in parseindex
ValueError: corrupt index file

C:\mercurial_test\testing1>hg heads
changeset:   43:55ffe214de863660c1c9db3adb8a75823bb31dcf
branch:      testing
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.2.1)
** Extensions loaded: mq
Traceback (most recent call last):
  File "hg", line 38, in <module>
  File "mercurial\dispatch.pyc", line 16, in run
  File "mercurial\dispatch.pyc", line 25, in dispatch
  File "mercurial\dispatch.pyc", line 41, in _runcatch
  File "mercurial\dispatch.pyc", line 372, in _dispatch
  File "mercurial\dispatch.pyc", line 247, in runcommand
  File "mercurial\dispatch.pyc", line 417, in _runcommand
  File "mercurial\dispatch.pyc", line 377, in checkargs
  File "mercurial\dispatch.pyc", line 371, in <lambda>
  File "mercurial\util.pyc", line 718, in check
  File "mercurial\commands.pyc", line 1300, in heads
  File "mercurial\cmdutil.pyc", line 601, in show
  File "mercurial\cmdutil.pyc", line 629, in _show
  File "mercurial\localrepo.pyc", line 363, in nodetags
  File "hgext\mq.pyc", line 2393, in tags
  File "mercurial\localrepo.pyc", line 294, in tags
  File "mercurial\localrepo.pyc", line 339, in _hgtagsnodes
  File "mercurial\context.pyc", line 141, in filenode
  File "mercurial\context.pyc", line 133, in _fileinfo
  File "mercurial\localrepo.pyc", line 99, in __getattr__
  File "mercurial\manifest.pyc", line 28, in __init__
  File "mercurial\revlog.pyc", line 453, in __init__
  File "mercurial\revlog.pyc", line 369, in parseindex
ValueError: corrupt index file


Please suggest.

----------
messages: 10257
nosy: akhil
priority: urgent
status: unread
title: error while executing hg heads command

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



More information about the Mercurial-devel mailing list