jquery 저장소를 복제할 때 KeyError가 나타납니다.

4915 단어 hg-git

묘사

Ubuntu의 64비트 Lucid 및 표준 패키지를 사용하고 있습니다.
mercurial,python dulwich,mercurial git.
jquery 저장소를 복제하려고 시도할 때 (http://github.com/jquery/jquery), 알겠습니다.
hwiechers@ubuntu:~$ hg clone git://github.com/jquery/jquery.git
destination directory: jquery.git
importing Hg objects into Git
Counting objects: 13547, done.
Compressing objects: 100% (4120/4120), done.
Total 13547 (delta 9332), reused 13049 (delta 8912)
importing Git objects into Hg
at:    0/2543
at:  100/2543
at:  200/2543
at:  300/2543
at:  400/2543
at:  500/2543
at:  600/2543
at:  700/2543
at:  800/2543
at:  900/2543
at: 1000/2543
at: 1100/2543
at: 1200/2543
at: 1300/2543
at: 1400/2543
at: 1500/2543
at: 1600/2543
at: 1700/2543
at: 1800/2543
transaction abort!
rollback completed
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or [email protected]
** Mercurial Distributed SCM (version 1.4.3)
** Extensions loaded: bookmarks, git
Traceback (most recent call last):
  File "/usr/bin/hg", line 27, in <module>
    mercurial.dispatch.run()
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 16, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 30, in dispatch
    return _runcatch(u, args)
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 46, in _runcatch
    return _dispatch(ui, args)
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 454, in _dispatch
    return runcommand(lui, repo, cmd, fullargs, ui, options, d)
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 324, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 505, in _runcommand
    return checkargs()
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 459, in checkargs
    return cmdfunc()
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 453, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 386, in check
    return func(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/mercurial/commands.py", line 649, in clone
    update=opts.get('updaterev') or not opts.get('noupdate'))
  File "/usr/lib/pymodules/python2.6/mercurial/hg.py", line 292, in clone
    dest_repo.clone(src_repo, heads=revs, stream=stream)
  File "/usr/lib/pymodules/python2.6/mercurial/localrepo.py", line 2140, in clone
    return self.pull(remote, heads)
  File "/usr/lib/pymodules/python2.6/hgext/git/hgrepo.py", line 12, in pull
    git.fetch(remote.path, heads)
  File "/usr/lib/pymodules/python2.6/hgext/git/git_handler.py", line 98, in fetch
    self.import_git_objects(remote_name, refs)
  File "/usr/lib/pymodules/python2.6/hgext/git/git_handler.py", line 398, in import_git_objects
    self.import_git_commit(commit)
  File "/usr/lib/pymodules/python2.6/hgext/git/git_handler.py", line 505, in import_git_commit
    node = self.repo.commitctx(ctx)
  File "/usr/lib/pymodules/python2.6/hgext/bookmarks.py", line 260, in commitctx
    node  = super(bookmark_repo, self).commitctx(ctx, error)
  File "/usr/lib/pymodules/python2.6/mercurial/localrepo.py", line 875, in commitctx
    fctx = ctx[f]
  File "/usr/lib/pymodules/python2.6/mercurial/context.py", line 789, in __getitem__
    return self.filectx(key)
  File "/usr/lib/pymodules/python2.6/mercurial/context.py", line 814, in filectx
    return self._filectxfn(self._repo, self, path)
  File "/usr/lib/pymodules/python2.6/hgext/git/git_handler.py", line 450, in getfilectx
    data = self.git[sha].data
  File "/usr/lib/python2.6/dist-packages/dulwich/repo.py", line 394, in __getitem__
    return self.object_store[name]
  File "/usr/lib/python2.6/dist-packages/dulwich/object_store.py", line 82, in __getitem__
    type, uncomp = self.get_raw(sha)
  File "/usr/lib/python2.6/dist-packages/dulwich/object_store.py", line 327, in get_raw
    raise KeyError(hexsha)
KeyError: '57d1a28a9f6c44204d46ad651711beb4f8642117'

토론 #1

는 방금 Hardy와 최신 환매 협의 버전을 사용하려고 시도했지만 복사할 수 없습니다.나중에 패키지 버전을 사용해 보겠습니다.
문제는 이 버그가 특히 live jQuery 저장소와 관련이 있기 때문에 시도 사이에 변화가 발생할 수 있습니다. 이것은 영향을 미칠 수 있습니다. 다시 시도해 보시겠습니까?

토론 #2

다시 한 번 해 봤는데 결과는 똑같았어요.특정한 수정이 이 문제를 야기한 것 같다.hg clone -r 1.3 git://github.com/jquery/jquery.git 일했지만 hg clone -r 1.4 git://github.com/jquery/jquery.git에 실패했다.나는 그것을 단일 수정판으로 축소하려고 했지만, 내가 -r값에 표시를 제외한 모든 것을 사용했을 때, 나는 그것을 얻었다. abort: ref %s not found on remote server

좋은 웹페이지 즐겨찾기