Crash with "hg incoming"

Lorenz Minder lminder at gmx.net
Fri Apr 20 06:56:06 CDT 2007


Hi,

I get the following crash when doing "hg incoming" on a mirror of the
Linux kernel repo. It might be related to issue 528, but I don't think I
use the keyword extension. (That is, I have no idea what the "keyword
extension is.)

As witnessed in the transcript, the repo passes "hg verify", and the
crash appears to be reproduceable.

Let me know if I should provide more info, or if this is fixed in a
newer version.

Best,
--Lorenz

linux-2.6$ hg incoming
searching for changes
changeset:   51650:1bc6cc23b011
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 0.9.3)
Traceback (most recent call last):
  File "/usr/pkg/bin/hg", line 12, in ?
    commands.run()
  File "/usr/pkg/lib/python2.4/site-packages/mercurial/commands.py", line 3000, 
in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/pkg/lib/python2.4/site-packages/mercurial/commands.py", line 3223, 
in dispatch
    return d()
  File "/usr/pkg/lib/python2.4/site-packages/mercurial/commands.py", line 3182, 
in <lambda>
    d = lambda: func(u, repo, *args, **cmdoptions)
  File "/usr/pkg/lib/python2.4/site-packages/mercurial/commands.py", line 1564, 
in incoming
    displayer.show(changenode=n)
  File "/usr/pkg/lib/python2.4/site-packages/mercurial/cmdutil.py", line 231, in
 show
    self._show(rev, changenode, copies, props)
  File "/usr/pkg/lib/python2.4/site-packages/mercurial/cmdutil.py", line 266, in
 _show
    for tag in self.repo.nodetags(changenode):
  File "/usr/pkg/lib/python2.4/site-packages/mercurial/localrepo.py", line 346, 
in nodetags
    for t, n in self.tags().items():
  File "/usr/pkg/lib/python2.4/site-packages/mercurial/localrepo.py", line 288, 
in tags
    for rev, node, fnode in self._hgtagsnodes():
  File "/usr/pkg/lib/python2.4/site-packages/mercurial/localrepo.py", line 321, 
in _hgtagsnodes
    fnode = c.filenode('.hgtags')
  File "/usr/pkg/lib/python2.4/site-packages/mercurial/context.py", line 89, in 
filenode
    if path in self._manifestdelta:
  File "/usr/pkg/lib/python2.4/site-packages/mercurial/context.py", line 55, in 
__getattr__
    md = self._repo.manifest.readdelta(self._changeset[0])
  File "/usr/pkg/lib/python2.4/site-packages/mercurial/manifest.py", line 51, in
 readdelta
    delta = mdiff.patchtext(self.delta(node))
  File "/usr/pkg/lib/python2.4/site-packages/mercurial/revlog.py", line 880, in 
delta
    return self.revdiff(r - 1, r)
  File "/usr/pkg/lib/python2.4/site-packages/mercurial/bundlerepo.py", line 96, 
in revdiff
    return revlog.revlog.chunk(self, rev1, rev2)
  File "/usr/pkg/lib/python2.4/site-packages/mercurial/revlog.py", line 859, in 
chunk
    loadcache(df)
  File "/usr/pkg/lib/python2.4/site-packages/mercurial/revlog.py", line 855, in 
loadcache
    df.seek(start)
AttributeError: 'int' object has no attribute 'seek'
linux-2.6$ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
24323 files, 51650 changesets, 440380 total revisions
linux-2.6$ hg incoming
searching for changes
changeset:   51650:1bc6cc23b011
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 0.9.3)
Traceback (most recent call last):
[...]


More information about the Mercurial mailing list