git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Q] merging from one (kernel) stable to another?
@ 2009-03-30  8:24 Brian Foster
  2009-03-30  9:33 ` Andreas Ericsson
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Brian Foster @ 2009-03-30  8:24 UTC (permalink / raw)
  To: git mailing list

  Whilst this question involves linux(-mips) kernel tree,
 it's a git(-related?) question, not a kernel question ....

  We are currently in the process of upgrading our embedded
 system from kernel 2.6.21(-ish) to at least 2.6.26.8;  and
 later, at some time in the future on to 2.6.3x or something.
 Going from 2.6.21 to .22 to .23 and so on to .26, then to
 .26.1 and so on to .26.8 is “easy” in the sense there are
 very few conflicts with our existing baseline (e.g., just
 2 or 3 in 2 or 3 files).

  .21 --> me --> .22 --> .23 ... --> .26 --> .27 --> master
     \              \       \           \      \
     .21-stable  .22-stable .23-stable   \     .27-stable
                                        .26.8
                                           \
                                           .26-stable

  But (using 2.6.21-stable and 2.6.22-stable as proxies),
 tests indicate that going from .26.8 to .27 or anything
 later will have numerous conflicts (100s? in more than
 30 files).  Thinking about it, this isn't too surprising
 since the -stable branches cherry-pick important/benign
 fixes from later revisions.

  What's frustrating is that in essentially all “conflict”
 cases, the resolution is simple:  Use the later version.
 Very few conflicts are caused by our local changes.  But
 the merge tool I used (‘tkdiff’ via ‘git mergetool’) for
 my tests doesn't seem to make that resolution an easy
 thing to do — I (seem to) have to manually check each
 and every conflict, which very quickly becomes tedious
 (read: error-prone).

  Is there a (relatively) easy way to manage this situation?
 Trying some internet searches didn't find much of anything,
 albeit just what to search for isn't too clear.

 Thanks for any suggestions (including “RFT<a named>M”).
cheers!
	-blf-

-- 
“How many surrealists does it take to   | Brian Foster
 change a lightbulb? Three. One calms   | somewhere in south of France
 the warthog, and two fill the bathtub  |   Stop E$$o (ExxonMobil)!
 with brightly-coloured machine tools.” |      http://www.stopesso.com

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-03-31  7:32 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-30  8:24 [Q] merging from one (kernel) stable to another? Brian Foster
2009-03-30  9:33 ` Andreas Ericsson
2009-03-30 10:38   ` Johannes Sixt
2009-03-30 11:58     ` Brian Foster
2009-03-30 12:19       ` Johannes Sixt
2009-03-30 12:40         ` Brian Foster
2009-03-30 12:19       ` Andreas Ericsson
2009-03-30 12:51         ` Brian Foster
2009-03-30 13:52           ` Andreas Ericsson
2009-03-30 15:20   ` Ping Yin
2009-03-31  4:20   ` Kris Shannon
2009-03-30 17:31 ` Daniel Barkalow
2009-03-31  7:30   ` Brian Foster
2009-03-30 18:23 ` Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).