public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Larry McVoy <lm@bitmover.com>
To: Troy Benjegerdes <hozer@drgw.net>
Cc: Linus Torvalds <torvalds@transmeta.com>,
	Larry McVoy <lm@bitmover.com>,
	linux-kernel@vger.kernel.org
Subject: Re: The direction linux is taking
Date: Thu, 27 Dec 2001 13:53:16 -0800	[thread overview]
Message-ID: <20011227135316.N25698@work.bitmover.com> (raw)
In-Reply-To: <20011227123344.H25698@work.bitmover.com> <Pine.LNX.4.33.0112271236120.1167-100000@penguin.transmeta.com> <20011227125028.J25698@work.bitmover.com> <20011227154318.F25200@altus.drgw.net>
In-Reply-To: <20011227154318.F25200@altus.drgw.net>; from hozer@drgw.net on Thu, Dec 27, 2001 at 03:43:18PM -0600

On Thu, Dec 27, 2001 at 03:43:18PM -0600, Troy Benjegerdes wrote:
> > Yes, and it works great for easy merges.  It sucks for complicated merges.
> > BK can help you a great deal with those merges.  
> 
> There is a point to be made though that if *Linus* has to do a complicated 
> merge, the 'patch' that caused the merge should probably be suspect in the 
> first place.

That doesn't work for a stream of N patches, which is exactly what a 
maintainer deals with.  In order for your way to work, Linus has to do 
a release each time he applies a patch (or more accurately, before he
tries to apply a patch which touches the same files).

> The person sending the patch should be the one responsible for resolving a
> complicated merge. 

Actually, no.  If you are making a simple change and a set of complicated
changes have been made, I don't want you, the naive developer in this
example, doing the merge.  I, the maintainer in this example, am much
more able to make the right call on the merge.

It's pretty pointless to argue which way is better because the answer is
"it depends".  So you want a system that lets you do it the right way
no matter what that right way is.

Regardless, BK doesn't enforce either model, it can do either way, and it
could send the patch and the merge as another patch, allowing Linus to
redo the merge or accept the merge.  

> If BK makes that easier, great. HOWEVER, I don't really
> want Linus to be using some tool that does automerging.. No SCM system and
> automerge tool is going to understand what the code *means*, unless it's 
> got a compiler integrated into it.

You can turn the automerging off in BK, it's a command line option to 
pull and resolve.   I tend to agree with you that automerging gets you
in trouble, I look at each diff myself.

> I've had some strange things happen on a BK automerge in the past, and I
> don't trust any automated system that doesn't understand the code to not
> make some subtle semantic mistake. (Mind you, when strange things
> happened, the code usually worked, and I didn't notice until I tried to
> *manually* prepare a 'patch' to send upstream)

I think you may be comparing against the older automerge code.  We rewrote
all of that and it's only in the bk-2.1.x series under the Dev directory
in the download area.

We've actually looked at each and every one of the merges in the PPC/Linux
tree and made sure the new code did the right thing.  I'm not advocating 
that you use it or not, you can choose, but if you see a "strange thing"
using bk-2.1.x then tell us, if it's wrong, we'll fix it.  We've run about
40,000 merges through the new code so we're reasonably sure we have covered
the bases but if you can show us where we haven't, we'll thank you and then
fix it.
-- 
---
Larry McVoy            	 lm at bitmover.com           http://www.bitmover.com/lm 

  reply	other threads:[~2001-12-27 21:53 UTC|newest]

Thread overview: 127+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-27 15:46 The direction linux is taking Dana Lacoste
2001-12-27 16:01 ` Rik van Riel
2001-12-27 16:33   ` Alan Cox
2001-12-27 16:30     ` Rik van Riel
2001-12-27 16:53       ` Alan Cox
2001-12-27 17:03         ` Thomas Capricelli
2001-12-27 17:54           ` Alan Cox
2001-12-27 16:57     ` Russell King
2001-12-27 17:11       ` Rik van Riel
2001-12-27 17:25         ` Erik Mouw
2001-12-27 18:05         ` Linus Torvalds
2001-12-27 18:24           ` Rik van Riel
2001-12-27 18:58             ` Linus Torvalds
2001-12-27 19:16               ` Rik van Riel
2001-12-27 19:29                 ` Linus Torvalds
2001-12-27 19:46                   ` Rik van Riel
2001-12-27 19:57                     ` Richard Gooch
2001-12-27 20:07                       ` Rik van Riel
2001-12-27 20:12                         ` Linus Torvalds
2001-12-27 21:13                           ` Troy Benjegerdes
2001-12-27 21:18                             ` Rik van Riel
2001-12-27 21:28                         ` Richard Gooch
2001-12-27 18:37           ` Dave Jones
2001-12-27 19:25             ` Linus Torvalds
2001-12-27 20:16               ` Dave Jones
2001-12-27 19:33             ` Arnaldo Carvalho de Melo
2001-12-27 21:20             ` Legacy Fishtank
2001-12-27 20:10           ` Larry McVoy
2001-12-27 20:21             ` Linus Torvalds
2001-12-27 20:33               ` Larry McVoy
2001-12-27 20:41                 ` Linus Torvalds
2001-12-27 20:50                   ` Larry McVoy
2001-12-27 21:43                     ` Troy Benjegerdes
2001-12-27 21:53                       ` Larry McVoy [this message]
2001-12-29 17:14                   ` Oliver Xymoron
2001-12-29 17:27                     ` Larry McVoy
2001-12-28  2:27                 ` Alexander Viro
2001-12-27 20:43             ` Alan Cox
2001-12-27 17:38       ` Richard Gooch
2001-12-27 17:55         ` Dave Jones
2001-12-27 18:04           ` Richard Gooch
2001-12-27 18:06             ` Dave Jones
2001-12-27 18:17               ` Richard Gooch
2001-12-27 18:02         ` Alan Cox
2001-12-27 17:59           ` Richard Gooch
2001-12-27 18:38             ` Russell King
2001-12-28  4:03             ` Daniel Phillips
2001-12-29 18:02               ` Oliver Xymoron
2001-12-29 19:06               ` Christer Weinigel
2001-12-29 19:18                 ` Oliver Xymoron
2001-12-29 19:37                   ` Larry McVoy
2001-12-29 19:58                     ` Oliver Xymoron
2001-12-29 20:04                       ` Larry McVoy
2001-12-29 20:30                         ` Oliver Xymoron
2001-12-29 22:09                           ` Larry McVoy
2001-12-29 22:24                             ` Oliver Xymoron
2001-12-29 23:01                               ` Alan Cox
2001-12-29 22:59                                 ` Oliver Xymoron
2001-12-29 23:09                                   ` Alexander Viro
2001-12-29 23:07                                 ` Dave Jones
2001-12-29 23:19                                   ` Alan Cox
2001-12-29 23:24                                     ` Dave Jones
2001-12-29 23:33                                       ` Oliver Xymoron
2001-12-29 23:41                                         ` Arnaldo Carvalho de Melo
2001-12-31  8:51                                 ` Daniel Phillips
2001-12-29 23:04                               ` Larry McVoy
2001-12-29 23:29                                 ` Oliver Xymoron
2001-12-29 23:35                                   ` Larry McVoy
2001-12-29 23:59                                     ` Oliver Xymoron
2001-12-30  0:04                                       ` Larry McVoy
2001-12-30  0:25                                         ` Oliver Xymoron
2001-12-29 22:26                             ` Dave Jones
2001-12-29 23:02                               ` Alan Cox
2001-12-29 20:01                     ` Olivier Galibert
2001-12-29 20:04                     ` Dave Jones
2002-01-02 15:06                       ` Geert Uytterhoeven
2001-12-29 21:03                     ` Benjamin LaHaise
2001-12-29 22:04                       ` Larry McVoy
2001-12-29 22:58                         ` Alan Cox
2001-12-29 23:14                           ` Larry McVoy
2001-12-29 23:33                             ` Dave Jones
2001-12-29 23:38                               ` Larry McVoy
2001-12-29 23:47                                 ` Dave Jones
2001-12-29 23:50                                 ` Atomic Killer Attack Fish
2001-12-30  2:36                             ` Alan Cox
2001-12-30  2:49                               ` Larry McVoy
2001-12-30  3:54                                 ` Dave Jones
2001-12-30 10:07                                 ` Alan Cox
2002-01-01  1:32                             ` Horst von Brand
2001-12-31 21:24                               ` Rob Landley
2002-01-01  1:46                               ` Dave Jones
2002-01-02 14:59                           ` Geert Uytterhoeven
2001-12-31  8:45                         ` Daniel Phillips
2001-12-31 21:33                           ` Rob Landley
2002-01-02 10:14                             ` Daniel Phillips
2002-01-02 10:50                               ` Neil Brown
2002-01-02 11:07                                 ` Daniel Phillips
2001-12-27 18:41         ` John Alvord
2001-12-27 18:49         ` Russell King
2001-12-27 17:52       ` Alan Cox
2001-12-27 17:59       ` Andre Hedrick
  -- strict thread matches above, loose matches on Subject: below --
2002-01-07  5:26 Eyal Sohya
2001-12-27 21:24 Dana Lacoste
2001-12-27 20:45 Dana Lacoste
2001-12-27 20:55 ` Larry McVoy
2001-12-23 14:18 Eyal Sohya
2001-12-23 14:13 Eyal Sohya
2001-12-23 14:11 Eyal Sohya
2001-12-18 15:18 Dana Lacoste
2001-12-18 18:08 ` John Alvord
2001-12-18 18:42   ` rsweet
2001-12-18 19:50 ` Alan Cox
2001-12-18 14:32 Dana Lacoste
2001-12-18 15:04 ` Alan Cox
2001-12-18 15:09   ` Dead2
2001-12-18 18:37     ` Ken Brownfield
     [not found]       ` <01121909274103.01840@manta>
2001-12-19  9:56         ` Dead2
2001-12-19 18:06           ` Ken Brownfield
2001-12-19 18:11         ` Ken Brownfield
2001-12-18  5:20 Eyal Sohya
2001-12-18  6:11 ` Craig Christophel
2001-12-18 12:19 ` Rik van Riel
2001-12-18 14:38 ` M. Edward (Ed) Borasky
2001-12-18 15:18   ` David Weinehall
2001-12-18 15:27     ` Momchil Velikov
2001-12-20  6:49       ` Kai Henningsen
2001-12-20  9:30         ` Momchil Velikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011227135316.N25698@work.bitmover.com \
    --to=lm@bitmover.com \
    --cc=hozer@drgw.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox