git import failure with bzrlib.plugins.git.errors.UnknownCommitExtra

Asked by Dongjin Kim

Hello,

I encountered git import failure with below log on my branch (https://code.launchpad.net/~tobetter/+junk/linux) to import the repository of github (git://github.com/tobetter/linux.git). Do you have any solution to fix the issue? or how about Ubuntu linux kernel team maintain the source code? They would have same problem if they also use the same git tree.

Please help me to import the source properly.
Thank you in advance.

2013-02-20 16:00:42 INFO finding revisions to fetch:generating index 2626340/2835737
2013-02-20 16:02:04 INFO finding revisions to fetch 1/669350
2013-02-20 16:02:04 INFO
Traceback (most recent call last):
  File "/srv/importd.launchpad.net/production/launchpad-rev-16491/scripts/code-import-worker.py", line 95, in <module>
    sys.exit(script.main())
  File "/srv/importd.launchpad.net/production/launchpad-rev-16491/scripts/code-import-worker.py", line 90, in main
    return import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad-rev-16491/lib/lp/codehosting/codeimport/worker.py", line 586, in run
    return self._doImport()
  File "/srv/importd.launchpad.net/production/launchpad-rev-16491/lib/lp/codehosting/codeimport/worker.py", line 740, in _doImport
    inter_branch.fetch(limit=revision_limit)
  File "/srv/importd.launchpad.net/production/launchpad-rev-16491/bzrplugins/git/branch.py", line 722, in fetch
    self.fetch_objects(stop_revision, fetch_tags=fetch_tags, limit=limit)
  File "/srv/importd.launchpad.net/production/launchpad-rev-16491/bzrplugins/git/branch.py", line 745, in fetch_objects
    determine_wants, self.source.mapping, limit=limit)
  File "/srv/importd.launchpad.net/production/launchpad-rev-16491/bzrplugins/git/fetch.py", line 718, in fetch_objects
    limit)
  File "/srv/importd.launchpad.net/production/launchpad-rev-16491/bzrplugins/git/fetch.py", line 484, in import_git_objects
    mapping.revision_id_foreign_to_bzr)
  File "/srv/importd.launchpad.net/production/launchpad-rev-16491/bzrplugins/git/mapping.py", line 334, in import_commit
    raise UnknownCommitExtra(commit, [item[0] for item in commit.extra])
bzrlib.plugins.git.errors.UnknownCommitExtra: Unknown extra fields in <Commit 1afa471706963643ceeda7cbbe9c605a1e883d53>: ['mergetag', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''].
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.

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Laura Czajkowski (czajkowski) said :
#1

Bug linked to the answer, please follow the bug for any and all updates.