mercurial crash when doing pull

Ralf Gommers r.gommers at ucl.ac.uk
Tue Apr 3 11:39:42 CDT 2007


Hello,

I would like to report a crash of mercurial that occurred when I did a "hg 
pull". I was pulling from a repository on my hard drive to a repo on a usb 
stick. The hard drive repo is unaffected, but the one on the usb stick is 
corrupted. I attached the traceback and the output "hg status" gives now.

I am using version 0.9.1 on linux (kubuntu edgy). If you need more information 
please let me know. Hope this helps.

Best regards,
Ralf Gommers
-------------- next part --------------
** 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.1)
Traceback (most recent call last):
  File "/usr/bin/hg", line 12, in ?
    commands.run()
  File "/var/lib/python-support/python2.4/mercurial/commands.py", line 3266, in
run
    sys.exit(dispatch(sys.argv[1:]))
  File "/var/lib/python-support/python2.4/mercurial/commands.py", line 3465, in
dispatch
    return d()
  File "/var/lib/python-support/python2.4/mercurial/commands.py", line 3424, in
<lambda>
    d = lambda: func(u, repo, *args, **cmdoptions)
  File "/var/lib/python-support/python2.4/mercurial/commands.py", line 2636, in                                                 status
    show_ignored=show_ignored)]
  File "/var/lib/python-support/python2.4/mercurial/localrepo.py", line 697, in                                                 changes
    wlock = self.wlock(wait=0)
  File "/var/lib/python-support/python2.4/mercurial/localrepo.py", line 439, in                                                 wlock
    desc=_('working directory of %s') % self.origroot)
  File "/var/lib/python-support/python2.4/mercurial/localrepo.py", line 429, in                                                 do_lock
    acquirefn()
  File "/var/lib/python-support/python2.4/mercurial/localrepo.py", line 407, in                                                 wreload
    self.dirstate.read()
  File "/var/lib/python-support/python2.4/mercurial/dirstate.py", line 188, in r                                                ead
    self.parse(st)
  File "/var/lib/python-support/python2.4/mercurial/dirstate.py", line 177, in p                                                arse
    f, c = f.split('\0')
ValueError: too many values to unpack
-------------- next part --------------
pulling from /home/rgommers/documents/latex/thesis/hgrepo
searching for changes
adding changesets
adding manifests
adding file changes
** 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.1)
Traceback (most recent call last):
  File "/usr/bin/hg", line 12, in ?
    commands.run()
  File "/var/lib/python-support/python2.4/mercurial/commands.py", line 3266, in
run
    sys.exit(dispatch(sys.argv[1:]))
  File "/var/lib/python-support/python2.4/mercurial/commands.py", line 3465, in
dispatch
    return d()
  File "/var/lib/python-support/python2.4/mercurial/commands.py", line 3424, in
<lambda>
    d = lambda: func(u, repo, *args, **cmdoptions)
  File "/var/lib/python-support/python2.4/mercurial/commands.py", line 2198, in
pull
    modheads = repo.pull(other, heads=revs, force=opts['force'])
  File "/var/lib/python-support/python2.4/mercurial/localrepo.py", line 1177, in
 pull
    return self.addchangegroup(cg, 'pull')
  File "/var/lib/python-support/python2.4/mercurial/localrepo.py", line 1639, in
 addchangegroup
    fl = self.file(f)
  File "/var/lib/python-support/python2.4/mercurial/localrepo.py", line 312, in
file
    return filelog.filelog(self.opener, f, self.revlogversion)
  File "/var/lib/python-support/python2.4/mercurial/filelog.py", line 17, in __i
nit__
    defversion)
  File "/var/lib/python-support/python2.4/mercurial/revlog.py", line 323, in __i
nit__
    self.load()
  File "/var/lib/python-support/python2.4/mercurial/revlog.py", line 379, in loa
d
    self.parseindex(f, st)
  File "/var/lib/python-support/python2.4/mercurial/revlog.py", line 419, in par
seindex
    e = struct.unpack(self.indexformat, cur)
struct.error: unpack str size does not match format
transaction abort!
rollback completed


More information about the Mercurial mailing list