2016-10-03 17:20:38 |
Darragh Bailey |
description |
I'm trying to import 2015.1.4 tag from Nova project.
This tag also matches an existing tag: kilo-eol.
To import a specific tag, I created a temporary branch:
git branch temp-import/2015.1.4 2015.1.4
I can import (without merge) just fine:
git-upstream import --no-merge temp-import/2015.1.4
When finalizing the import:
git-upstream import --finish --into local/kilo --import-branch import/2015.1.4 temp-import/2015.1.4
I get this error:
Searching for previous import
Merging import to requested branch 'local/kilo'
ERROR : Failed to finish import by merging branch:
'import/2015.1.4'
into and replacing the contents of:
'local/kilo'
ERROR : 'git merge --no-commit -s ours import/2015.1.4' returned with exit code 128
stderr: 'fatal: import/2015.1.4 - not something we can merge'
I end up with those branches being created:
import/kilo-eol
import/kilo-eol-base
Instead of the "expected" branches with import/2015.1.4 prefix. |
I'm trying to import 2015.1.4 tag from Nova project.
This tag also matches an existing tag: kilo-eol.
To import a specific tag, I created a temporary branch:
git branch temp-import/2015.1.4 2015.1.4
I can import (without merge) just fine:
git-upstream import --no-merge temp-import/2015.1.4
However git-upstream is using the tag kilo-eol to construct the import branch resulting in using import/kilo-eol instead of the expected import/2015.1.4.
Thus when finalizing the import:
git-upstream import --finish --into local/kilo --import-branch import/2015.1.4 temp-import/2015.1.4
I get this error:
Searching for previous import
Merging import to requested branch 'local/kilo'
ERROR : Failed to finish import by merging branch:
'import/2015.1.4'
into and replacing the contents of:
'local/kilo'
ERROR : 'git merge --no-commit -s ours import/2015.1.4' returned with exit code 128
stderr: 'fatal: import/2015.1.4 - not something we can merge'
I end up with those branches being created:
import/kilo-eol
import/kilo-eol-base
Instead of the "expected" branches with import/2015.1.4 prefix. |
|