← Back to team overview

dulwich-users team mailing list archive

Re: Mercurial crashed in dulwich

 

CCing Augie Fackler, hggit maintainer, who is not on this mailing list but
may be able to help.

On Mon, Mar 1, 2010 at 08:59, Darrin Thompson <darrinth@xxxxxxxxx> wrote:

> I think the offending bits are in here:
>
> http://github.com/urso/qc.js
>
> $ hg pull -u ../qc.js.git
> pulling from ../qc.js.git
> importing Hg objects into Git
> Counting objects: 177, done.
> Compressing objects: 100% (80/80), done.
> Total 166 (delta 64), reused 164 (delta 62)
> ** unknown exception encountered, details follow
> ** report bug details to http://mercurial.selenic.com/bts/
> ** or mercurial@xxxxxxxxxxx
> ** Mercurial Distributed SCM (version 1.4.3)
> ** Extensions loaded: bookmarks, hggit, graphlog, mq
> Traceback (most recent call last):
>   File "/home/darrint/hggit/bin/hg", line 5, in <module>
>     pkg_resources.run_script('mercurial==1.4.3', 'hg')
>   File
> "/home/darrint/hggit/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py",
> line 489, in run_script
>   File
> "/home/darrint/hggit/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py",
> line 1207, in run_script
>   File
> "/home/darrint/hggit/lib/python2.6/site-packages/mercurial-1.4.3-py2.6-linux-x86_64.egg/EGG-INFO/scripts/hg",
> line 27, in <module>
>     mercurial.dispatch.run()
>   File
> "/home/darrint/hggit/lib/python2.6/site-packages/mercurial-1.4.3-py2.6-linux-x86_64.egg/mercurial/dispatch.py",
> line 16, in run
>     sys.exit(dispatch(sys.argv[1:]))
>   File
> "/home/darrint/hggit/lib/python2.6/site-packages/mercurial-1.4.3-py2.6-linux-x86_64.egg/mercurial/dispatch.py",
> line 30, in dispatch
>     return _runcatch(u, args)
>   File
> "/home/darrint/hggit/lib/python2.6/site-packages/mercurial-1.4.3-py2.6-linux-x86_64.egg/mercurial/dispatch.py",
> line 46, in _runcatch
>     return _dispatch(ui, args)
>   File
> "/home/darrint/hggit/lib/python2.6/site-packages/mercurial-1.4.3-py2.6-linux-x86_64.egg/mercurial/dispatch.py",
> line 454, in _dispatch
>     return runcommand(lui, repo, cmd, fullargs, ui, options, d)
>   File
> "/home/darrint/hggit/lib/python2.6/site-packages/mercurial-1.4.3-py2.6-linux-x86_64.egg/mercurial/dispatch.py",
> line 324, in runcommand
>     ret = _runcommand(ui, options, cmd, d)
>   File
> "/home/darrint/hggit/lib/python2.6/site-packages/mercurial-1.4.3-py2.6-linux-x86_64.egg/mercurial/dispatch.py",
> line 505, in _runcommand
>     return checkargs()
>   File
> "/home/darrint/hggit/lib/python2.6/site-packages/mercurial-1.4.3-py2.6-linux-x86_64.egg/mercurial/dispatch.py",
> line 459, in checkargs
>     return cmdfunc()
>   File
> "/home/darrint/hggit/lib/python2.6/site-packages/mercurial-1.4.3-py2.6-linux-x86_64.egg/mercurial/dispatch.py",
> line 453, in <lambda>
>     d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
>   File
> "/home/darrint/hggit/lib/python2.6/site-packages/mercurial-1.4.3-py2.6-linux-x86_64.egg/mercurial/util.py",
> line 386, in check
>     return func(*args, **kwargs)
>   File
> "/home/darrint/hggit/lib/python2.6/site-packages/mercurial-1.4.3-py2.6-linux-x86_64.egg/mercurial/commands.py",
> line 2318, in pull
>     modheads = repo.pull(other, heads=revs, force=opts.get('force'))
>   File "build/bdist.linux-x86_64/egg/hggit/hgrepo.py", line 12, in pull
>   File "build/bdist.linux-x86_64/egg/hggit/git_handler.py", line 94, in
> fetch
>   File "build/bdist.linux-x86_64/egg/hggit/git_handler.py", line 597, in
> fetch_pack
>   File
> "/home/darrint/hggit/lib/python2.6/site-packages/dulwich-0.4.1-py2.6-linux-x86_64.egg/dulwich/object_store.py",
> line 400, in commit
>     self.move_in_pack(path)
>   File
> "/home/darrint/hggit/lib/python2.6/site-packages/dulwich-0.4.1-py2.6-linux-x86_64.egg/dulwich/object_store.py",
> line 365, in move_in_pack
>     entries = p.sorted_entries()
>   File
> "/home/darrint/hggit/lib/python2.6/site-packages/dulwich-0.4.1-py2.6-linux-x86_64.egg/dulwich/pack.py",
> line 646, in sorted_entries
>     ret = list(self.iterentries(resolve_ext_ref, progress=progress))
>   File
> "/home/darrint/hggit/lib/python2.6/site-packages/dulwich-0.4.1-py2.6-linux-x86_64.egg/dulwich/pack.py",
> line 635, in iterentries
>     raise KeyError([sha_to_hex(h) for h in postponed.keys()])
> KeyError: ['444723d432107591f79a136e2c53a3e09ac9e46d',
> 'f7c2eeaae16fa61805af4daca8ab4dd772f3c392',
> '25d399375be69681067cd954bd99c5368b06cb2f',
> '43060f0e1f5c4374071f6fff7338ea29d59cb73c',
> 'b055a1d187559b70de80cd1615e5cf4b901f7ecb',
> '648476d264cc86beb46f535e4705009c34b6294d',
> '4bd97f17d6a9d1d7118c6e4ee8754a560be60a3a',
> '4cf85d3058a8d4b5bb8cff47d0bbae394f6778c9']
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dulwich-users
> Post to     : dulwich-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dulwich-users
> More help   : https://help.launchpad.net/ListHelp
>
>

References