commit invalidated repository

Bastian Doetsch bastian.doetsch at gmx.de
Sat Sep 13 07:45:46 CDT 2008


Hi,

current crew invalidated one of my testrepos (I could provide it, it's
rather small). Here's some information:

hg verify
checking changesets
 6: unpacking changeset c0af40fccbbc: list index out of range
checking manifests
 manifest@?: rev 6 point to unexpected changeset 6
crosschecking files in changesets and manifests
checking files
 lulu@?: rev 4 point to unexpected changeset 6
 (expected 2 3 4 5)
4 files, 7 changesets, 8 total revisions
1 warnings encountered!
3 integrity errors encountered!
(first damaged changeset appears to be 6)


$ hg log
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 20a5dd5d6dd9)
** Extensions loaded: children, churn, color, convert, fetch, forest,
gpg, graphlog, hgk, imerge, mq, patchbomb, purge, rebase, record,
transplant
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 20, in <module>
    mercurial.dispatch.run()
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py",
line 20, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py",
line 29, in dispatch
    return _runcatch(u, args)
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py",
line 45, in _runcatch
    return _dispatch(ui, args)
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py",
line 366, in _dispatch
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py",
line 419, in _runcommand
    return checkargs()
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py",
line 375, in checkargs
    return cmdfunc()
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py",
line 358, in <lambda>
    d = lambda: func(ui, repo, *args, **cmdoptions)
  File "/usr/local/lib/python2.5/site-packages/mercurial/commands.py",
line 1856, in log
    displayer.show(rev, changenode, copies=copies)
  File "/usr/local/lib/python2.5/site-packages/mercurial/cmdutil.py",
line 599, in show
    self._show(rev, changenode, copies, props)
  File "/usr/local/lib/python2.5/site-packages/mercurial/cmdutil.py",
line 632, in _show
    for tag in self.repo.nodetags(changenode):
  File "/usr/local/lib/python2.5/site-packages/mercurial/localrepo.py",
line 356, in nodetags
    for t, n in self.tags().items():
  File "/usr/local/lib/python2.5/site-packages/hgext/mq.py", line 2272,
in tags
    tagscache = super(mqrepo, self).tags()
  File "/usr/local/lib/python2.5/site-packages/mercurial/localrepo.py",
line 287, in tags
    for rev, node, fnode in self._hgtagsnodes():
  File "/usr/local/lib/python2.5/site-packages/mercurial/localrepo.py",
line 332, in _hgtagsnodes
    fnode = c.filenode('.hgtags')
  File "/usr/local/lib/python2.5/site-packages/mercurial/context.py",
line 129, in filenode
    return self._fileinfo(path)[0]
  File "/usr/local/lib/python2.5/site-packages/mercurial/context.py",
line 118, in _fileinfo
    if '_manifestdelta' in self.__dict__ or path in self.files():
  File "/usr/local/lib/python2.5/site-packages/mercurial/context.py",
line 88, in files
    def files(self): return self._changeset[3]
  File "/usr/local/lib/python2.5/site-packages/mercurial/context.py",
line 52, in __getattr__
    self._changeset = self._repo.changelog.read(self.node())
  File "/usr/local/lib/python2.5/site-packages/mercurial/changelog.py",
line 158, in read
    extra_data = l[2].split(' ', 2)
IndexError: list index out of range

Best regards,
Bastian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial-devel/attachments/20080913/6c64ee10/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20080913/6c64ee10/attachment.pgp 


More information about the Mercurial-devel mailing list