merging error: No final name for trans_id
Joke de Buhr
joke.de.buhr at seiken.de
Mon Dec 14 18:07:28 GMT 2009
Hi,
I run into an nasty bzr merging error which I don't know how to handle
correctly. I discovered some old posts on the mailing list but they did
not give a final solution what to do.
I created a branch which cherry picked three other unrelated branches
starting with their first revision. They belong to the openerp project on
launchpad and form different parts of the openerp server program which
should be bundled together but are maintained within individual branches.
I combined the external branches within my branch by merging the external
main branch then splitting the subfolder bin/addons using bzr split and
merging the other two branches there. Finally rejoining the split subtree.
If I merge my branch with the external branches to get new upstream
changes a merge with two of the branches is successful merging the third
branch bzr emits this error:
$ bzr merge --rep --we lp:openobject-addons/extra-5.0
M bin/addons/base_external_referentials/external_osv.py
M bin/addons/base_sale_multichannels/sale.py
M bin/addons/crm_timesheet/i18n/fr.po
M bin/addons/hr_expenses_supplier/i18n/fr.po
M bin/addons/profile_business_game/profile_game_data.xml
M bin/addons/profile_business_game/profile_game_phase1.py
/home/joke/.local/lib/python2.6/site-packages/bzrlib/ui/__init__.py:148:
UserWarning: ProgressTask(0/2, msg='Apply phase') is not the active task
ProgressTask(None/None, msg='')
% (task, self._task_stack[-1]))
/home/joke/.local/lib/python2.6/site-packages/bzrlib/ui/__init__.py:148:
UserWarning: ProgressTask(2/3, msg='Merge phase') is not the active task
ProgressTask(None/None, msg='')
% (task, self._task_stack[-1]))
bzr: ERROR: No final name for trans_id 'new-7'
file-id: None
root trans-id: 'new-0'
I tracked the merge error down to be caused by a conflicting directory I
removed from my branch which now causes the trouble. The directory was a
merge conflict of two identically named directories I solved by deleting
one version retaining the other one.
Now it's completely impossible to merge with the upstream branch which
contained the locally removed directory. The external branch does not
touch the removed directory in new revisions. There should be no conflicts
or a missing root directory.
I can't even ignore the merge error because bzr stat doesn't show the
merge. Any suggestions how I can fix the error to continue working.
My branch can be obtained at http://bazaar.seiken.de/server (120MB). The
branch which isn't mergeable is lp:openobject-addons/extra-5.0 currently
at revision 4121. Revisions prior to 4118 got merged initially.
Thanks for any hints.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20091214/4a3171c7/attachment.pgp
More information about the bazaar
mailing list