Why does git merge have so much trouble with Fedora package branches?

Martin Langhoff martin.langhoff at gmail.com
Thu Nov 10 21:09:26 UTC 2011


On Thu, Nov 10, 2011 at 2:59 PM, Adam Williamson <awilliam at redhat.com> wrote:
> My problem came in the case where someone has already *not* done this -
> they've updated f16 separately from, and more than, master, and I wanted
> to get them back in sync.

If you want to keep merging as long as possible, and you are in a
position where F16 and master are starting to diverge, the trick is to
apply your changes to f16 _first_, then merge those changes into
master.

This assumes that f16 is a subset of master.

This naturally works well only in some cases, and given a compact spec
file, you might get pointless conflicts.

As f16 and master start diverging more significantly, cherry-pick is
probably the most practical recourse.



m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the devel mailing list