hg git error

Augie Fackler durin42 at gmail.com
Sun Apr 18 15:25:48 CDT 2010


(bcc: mercurial list, cc: hg-git group)

What repository is this on?

On Apr 18, 2010, at 1:25 AM, 罗勇刚(Yonggang Luo) wrote:

> importing Hg objects into Git
> Counting objects: 85851, done.
> Compressing objects: 100% (19008/19008), done.
> Total 85851 (delta 66501), reused 85851 (delta 66501)
> importing Git objects into Hg
> ** unknown exception encountered, details follow
> ** report bug details to http://mercurial.selenic.com/bts/
> ** or mercurial at selenic.com
> ** Mercurial Distributed SCM (version 1.5.1+8-9606edb8777e)
> ** Extensions loaded: win32text, hgk, convert, highlight, bugzilla,
> rebase, graphlog, mq, svn, bookmarks, hggit
> Traceback (most recent call last):
>  File "E:\CI\tools\Python\Scripts\hg", line 27, in <module>
>    mercurial.dispatch.run()
>  File "E:\CI\tools\Python\lib\site-packages\mercurial\dispatch.py",
> line 16, in run
>    sys.exit(dispatch(sys.argv[1:]))
>  File "E:\CI\tools\Python\lib\site-packages\mercurial\dispatch.py",
> line 30, in dispatch
>    return _runcatch(u, args)
>  File "E:\CI\tools\Python\lib\site-packages\mercurial\dispatch.py",
> line 47, in _runcatch
>    return _dispatch(ui, args)
>  File "E:\CI\tools\Python\lib\site-packages\mercurial\dispatch.py",
> line 467, in _dispatch
>    return runcommand(lui, repo, cmd, fullargs, ui, options, d)
>  File "E:\CI\tools\Python\lib\site-packages\mercurial\dispatch.py",
> line 337, in runcommand
>    ret = _runcommand(ui, options, cmd, d)
>  File "E:\CI\tools\Python\lib\site-packages\mercurial\dispatch.py",
> line 518, in _runcommand
>    return checkargs()
>  File "E:\CI\tools\Python\lib\site-packages\mercurial\dispatch.py",
> line 472, in checkargs
>    return cmdfunc()
>  File "E:\CI\tools\Python\lib\site-packages\mercurial\dispatch.py",
> line 466, in <lambda>
>    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
>  File "E:\CI\tools\Python\lib\site-packages\mercurial\util.py", line
> 401, in check
>    return func(*args, **kwargs)
>  File "E:\CI\tools\Python\lib\site-packages\mercurial\extensions.py",
> line 116, in wrap
>    util.checksignature(origfn), *args, **kwargs)
>  File "E:\CI\tools\Python\lib\site-packages\mercurial\util.py", line
> 401, in check
>    return func(*args, **kwargs)
>  File "e:\ci\repos\hg\hgsubversion\hgsubversion\wrappers.py", line
> 394, in clone
>    update=not opts.get('noupdate'))
>  File "E:\CI\tools\Python\lib\site-packages\mercurial\hg.py", line
> 315, in clone
>    dest_repo.clone(src_repo, heads=revs, stream=stream)
>  File "E:\CI\tools\Python\lib\site-packages\mercurial\localrepo.py",
> line 2201, in clone
>    return self.pull(remote, heads)
>  File "e:\ci\repos\hg\hg-git\hggit\hgrepo.py", line 12, in pull
>    git.fetch(remote.path, heads)
>  File "e:\ci\repos\hg\hg-git\hggit\git_handler.py", line 99, in fetch
>    self.import_git_objects(remote_name, refs)
>  File "e:\ci\repos\hg\hg-git\hggit\git_handler.py", line 363, in
> import_git_objects
>    if sha in self.git.object_store:
>  File "E:\CI\tools\Python\lib\site-packages\dulwich-0.5.0-py2.6- 
> win32.egg\dulwich\object_store.py",
> line 83, in __contains__
>    return self.contains_packed(sha) or self.contains_loose(sha)
>  File "E:\CI\tools\Python\lib\site-packages\dulwich-0.5.0-py2.6- 
> win32.egg\dulwich\object_store.py",
> line 249, in contains_packed
>    if sha in pack:
>  File "E:\CI\tools\Python\lib\site-packages\dulwich-0.5.0-py2.6- 
> win32.egg\dulwich\pack.py",
> line 1142, in __contains__
>    self.index.object_index(sha1)
>  File "E:\CI\tools\Python\lib\site-packages\dulwich-0.5.0-py2.6- 
> win32.egg\dulwich\pack.py",
> line 329, in object_index
>    return self._object_index(sha)
>  File "E:\CI\tools\Python\lib\site-packages\dulwich-0.5.0-py2.6- 
> win32.egg\dulwich\pack.py",
> line 343, in _object_index
>    i = bisect_find_sha(start, end, sha, self._unpack_name)
> OverflowError: long int too large to convert to int
> PS E:\CI\bld>
>
> -- 
>         此致
>> 罗勇刚
> Yours
>    sincerely,
> Yonggang Luo
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial



More information about the Mercurial mailing list