Would be nice to have an easier way to upgrade a customized branch to a newer branch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
http://
"""
Let's say that you have a customized Bugzilla 3.4 in a local bzr
branch, and you want to upgrade to Bugzilla 3.6. Here's how to do it:
cd custom-bugzilla-3.4
bzr bundle bzr://bzr.
cd ..
bzr co bzr://bzr.
cd new-custom-3.6
bzr merge ../customizatio
And then resolve any conflicts, and then commit.
You can't just merge 3.6 into 3.4. Unfortunately that doesn't work,
because we frequently added patches to both 3.4 and 3.6 that are
slightly different, and thus there are conflicts. (This would work
better if we had a slightly different development methodology, but
that's something I'm still thinking about, and for now, the above
instructions work very well and are really easy to do.)
"""
It would be nice if this were easier.
summary: |
- Merging the trunk into a branch causes spurious conflicts (CVS merges - better than bzr) + Would be nice to have an easier way to upgrade a customized branch to a + newer branch |
Changed in bzr: | |
importance: | Undecided → Medium |
status: | Incomplete → Confirmed |
description: | updated |
Changed in bzr: | |
importance: | Medium → Low |
tags: | added: upgrade |
tags: | removed: upgrade |
tags: | added: check-for-breezy |
It's not clear to me that these are spurious. "bzr missing" says that 3.4 has 227 revisions not in 3.6, and 3.6 has 548 not in 3.4. With that amount of divergence I'm not surprised to see some conflicts. FWIW, with --lca I only get 58 conflicts.
Looking at the conflicts, some conflicts are due to one branch adding files to extensions/ example/ code/, while the other branch wants to delete that directory. That seems like a legitimate conflict to me. My CVS expertise is very rusty, but are you sure that "cvs up -dP -rXXX" really does a comparable merge? I would have thought that it would be more like "bzr pull --overwrite".
I tested with 3.4 r6758 and 3.6 r7079.