Bzr merge problem

Eli Zaretskii eliz at gnu.org
Fri Dec 17 15:36:26 GMT 2010


> From: Trent Johnson <Trent.Johnson at jasco.com>
> Date: Thu, 16 Dec 2010 14:24:12 -0800
> Accept-Language: en-US
> acceptlanguage: en-US
> 
> About a week ago a developer decided to merge his (incomplete) work into trunk, first he merged trunk with his branch (bug678) to get it up-to-date (trunk revision 273). Then the developer merged his feature branch with trunk (to create trunk revision 274).
> 
> As the product manager, after a review of the work, I decided to revert the trunk back to the previous revision (revision 273) to get revision 275.
> 
> I used:
> bzr revert -r273
> 
> The developer continued working on his feature branch, trunk received commits from other developers (now up to revision 279).
> 
> The developer is now truly ready to merge and commit his feature branch with trunk.
> He performed a merge with trunk from within his feature branch:
> bzr merge ../trunk
> 
> And received tuns of changes and conflicts. Many more than the simply changes that occurred between his previous merge of trunk and the HEAD of trunk.
> 
> How should he merge trunk back into his feature branch before merging his changes with trunk?

I think he should first revert to the version before the second merge
from the trunk, and then merge his branch into the trunk.  After that
(and after fixing conflicts, if any), he could merge from the trunk
into his branch, to get the extra revisions.



More information about the bazaar mailing list