[issue681] Backtrace when pulling from bundle

Giorgos Keramidas mercurial-bugs at selenic.com
Mon Aug 13 07:36:17 CDT 2007

New submission from Giorgos Keramidas <keramida at freebsd.org>:

While trying to pull from a bundle posted by a friend, which includes
changes on top of the FreeBSD doc mirror at:


a backtrace is printed by "revlog.py".  This is with version 4ed58fe4fe13 of
Mercurial from the Crew repository:

keramida at kobe:/home/keramida/hg/doc/el$ hg in /tmp/keramida.bundle
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version b1a758e36757)
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 11, in ?
  File "/usr/local/lib/python2.4/site-packages/mercurial/commands.py", line
3147, in run
  File "/usr/local/lib/python2.4/site-packages/mercurial/commands.py", line
3144, in dispatch
    return cmdutil.runcatch(u, args)
  File "/usr/local/lib/python2.4/site-packages/mercurial/cmdutil.py", line 38,
in runcatch
    return dispatch(ui, args)
  File "/usr/local/lib/python2.4/site-packages/mercurial/cmdutil.py", line 376,
in dispatch
    ret = runcommand(ui, options, cmd, d)
  File "/usr/local/lib/python2.4/site-packages/mercurial/cmdutil.py", line 429,
in runcommand
    return checkargs()
  File "/usr/local/lib/python2.4/site-packages/mercurial/cmdutil.py", line 385,
in checkargs
    return cmdfunc()
  File "/usr/local/lib/python2.4/site-packages/mercurial/cmdutil.py", line 368,
in <lambda>
    d = lambda: func(ui, repo, *args, **cmdoptions)
  File "/usr/local/lib/python2.4/site-packages/mercurial/commands.py", line
1644, in incoming
    other = hg.repository(ui, source)
  File "/usr/local/lib/python2.4/site-packages/mercurial/hg.py", line 53, in
    repo = _lookup(path).instance(ui, path, create)
  File "/usr/local/lib/python2.4/site-packages/mercurial/bundlerepo.py", line
250, in instance
    return bundlerepository(ui, repopath, bundlename)
  File "/usr/local/lib/python2.4/site-packages/mercurial/bundlerepo.py", line
196, in __init__
    self.changelog = bundlechangelog(self.sopener, self.bundlefile)
  File "/usr/local/lib/python2.4/site-packages/mercurial/bundlerepo.py", line
139, in __init__
    bundlerevlog.__init__(self, opener, self.indexfile, bundlefile)
  File "/usr/local/lib/python2.4/site-packages/mercurial/bundlerepo.py", line
63, in __init__
    self.index.insert(-1, e)
  File "/usr/local/lib/python2.4/site-packages/mercurial/revlog.py", line 249,
in insert
    self.p.index.insert(pos, _pack(indexformatng, *e))
struct.error: required argument is not an integer
keramida at kobe:/home/keramida/hg/doc/el$

The repository at hg.hellug.gr is clonable, and I have attached the bundle
file if it helps in debugging.

messages: 3795
nosy: keramida
priority: bug
status: unread
title: Backtrace when pulling from bundle
topic: surprise

Mercurial issue tracker <mercurial-bugs at selenic.com>

More information about the Mercurial-devel mailing list