Can't import source code from git repository.

Asked by Roman

I can't import source code from git. Here log:
2014-09-21 12:57:19 INFO Starting job.
2014-09-21 12:57:19 INFO Getting exising bzr branch from central store.
2014-09-21 12:57:20 INFO [chan bzr SocketAsChannelAdapter] Opened sftp connection (server version 3)
2014-09-21 12:57:20 INFO 35 bytes transferred
2014-09-21 12:57:29 INFO [chan bzr SocketAsChannelAdapter] Opened sftp connection (server version 3)
2014-09-21 12:57:30 INFO Importing branch.
2014-09-21 12:57:32 INFO Counting objects: 2724, done. 0
2014-09-21 12:57:34 INFO finding revisions to fetch:generating index 0/2724
2014-09-21 12:57:36 INFO finding revisions to fetch:generating index 0/2724
2014-09-21 12:57:36 INFO finding revisions to fetch 1/608
2014-09-21 12:57:36 INFO
Traceback (most recent call last):
  File "/srv/importd.launchpad.net/production/launchpad-rev-17196/scripts/code-import-worker.py", line 95, in <module>
    sys.exit(script.main())
  File "/srv/importd.launchpad.net/production/launchpad-rev-17196/scripts/code-import-worker.py", line 90, in main
    return import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad-rev-17196/lib/lp/codehosting/codeimport/worker.py", line 576, in run
    return self._doImport()
  File "/srv/importd.launchpad.net/production/launchpad-rev-17196/lib/lp/codehosting/codeimport/worker.py", line 730, in _doImport
    inter_branch.fetch(limit=revision_limit)
  File "/srv/importd.launchpad.net/production/launchpad-rev-17196/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-17196/bzrplugins/git/branch.py", line 745, in fetch_objects
    determine_wants, self.source.mapping, limit=limit)
  File "/srv/importd.launchpad.net/production/launchpad-rev-17196/bzrplugins/git/fetch.py", line 718, in fetch_objects
    limit)
  File "/srv/importd.launchpad.net/production/launchpad-rev-17196/bzrplugins/git/fetch.py", line 484, in import_git_objects
    mapping.revision_id_foreign_to_bzr)
  File "/srv/importd.launchpad.net/production/launchpad-rev-17196/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 56ead206c93f1ed9d6f1d46cbfa2a8e79cdad63c>: ['HG:rename', 'HG:rename', 'HG:rename', 'HG:rename', 'HG:rename', 'HG:rename', 'HG:rename', 'HG:rename', 'HG:rename', 'HG:rename', 'HG:rename', 'HG:rename', 'HG:rename', 'HG:rename', 'HG:rename', 'HG:rename'].
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.

Can anyone help me? Can't understand what's wrong.
This git repository (https://github.com/dismine/Valentina.git) only a mirror and i used hg-git for pushing changes.

Question information

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

I have found a way to fix the recipe.
1. Delete code on launchpad.
2. Delete repository on github.
3. Downgrade to hg-git 0.6.1.
4. Upload code to github with hg-git 0.6.1.
5. Export to launchpad again.