Bad default branch after a git-to-git import to launchpad

Bug #1659292 reported by Valentin Hamon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad code imports
New
Undecided
Unassigned

Bug Description

An error occurs in case of multiple HEAD branches in remote. Import error log is the following :

2017-01-25 13:08:39 INFO error: Multiple remote HEAD branches. Please choose one explicitly with:
2017-01-25 13:08:39 INFO git remote set-head source DEV
2017-01-25 13:08:39 INFO git remote set-head source master
2017-01-25 13:08:39 INFO Unable to fetch default branch: Command '['git', 'remote', 'set-head', 'source', '--auto']' returned non-zero exit status 1

After that, user can't modify project's code default branch.

Valentin Hamon (vhamon)
description: updated
tags: added: git
tags: added: code-import
description: updated
description: updated
summary: - Unable to set good remote HEAD during a git import
+ Bad default branch after a git-to-git import to launchpad
Colin Watson (cjwatson)
affects: launchpad → lp-codeimport
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.