Comment 6 for bug 248894

Revision history for this message
Artur Rona (ari-tczew) wrote :

I can't import git repo.
2009-07-24 15:51:45 INFO updating git map 0/650
2009-07-24 15:51:46 INFO
Traceback (most recent call last):
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/scripts/code-import-worker.py", line 61, in ?
    script.main()
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/scripts/code-import-worker.py", line 56, in main
    import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/lib/lp/codehosting/codeimport/worker.py", line 396, in run
    self._doImport()
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/lib/lp/codehosting/codeimport/worker.py", line 494, in _doImport
    overwrite=True)
  File "<string>", line 4, in pull_write_locked
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/eggs/bzr-1.17-py2.4-linux-x86_64.egg/bzrlib/branch.py", line 891, in pull
    possible_transports=possible_transports, *args, **kwargs)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/optionalbzrplugins/git/branch.py", line 392, in pull
    graph=graph)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/optionalbzrplugins/git/branch.py", line 355, in update_revisions
    interrepo.fetch_objects(determine_wants, self.source.mapping)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/optionalbzrplugins/git/fetch.py", line 437, in fetch_objects
    graph_walker = store.get_graph_walker(
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/optionalbzrplugins/git/object_store.py", line 200, in _lookup_revision_sha1
    self._update_sha_map(revid)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/optionalbzrplugins/git/object_store.py", line 89, in _update_sha_map
    self._update_sha_map_revision(revid)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/optionalbzrplugins/git/object_store.py", line 112, in _update_sha_map_revision
    raise AssertionError("recreated git commit had different sha1: expected %s, got %s" % (foreign_revid, commit_obj.id))
AssertionError: recreated git commit had different sha1: expected e4bc013299b49b69417ade4339dd5a84fd9491ab, got 75165e0da0edd87568c8763d99468e29049f9c59
Import failed:
Traceback (most recent call last):
Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 1.

What's wrong?