public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Larry McVoy <lm@bitmover.com>
To: Christoph Hellwig <hch@lst.de>,
	Andreas Schuldei <andreas@schuldei.org>,
	linux-kernel@vger.kernel.org
Subject: Re: using bitkeeper to backport subsystems?
Date: Mon, 22 Jul 2002 08:25:52 -0700	[thread overview]
Message-ID: <20020722082552.A15391@work.bitmover.com> (raw)
In-Reply-To: <20020722122905.A16423@lst.de>; from hch@lst.de on Mon, Jul 22, 2002 at 12:29:05PM +0200

On Mon, Jul 22, 2002 at 12:29:05PM +0200, Christoph Hellwig wrote:
> On Mon, Jul 22, 2002 at 12:27:05PM +0200, Andreas Schuldei wrote:
> > * Christoph Hellwig (hch@lst.de) [020722 10:29]:
> > > On Mon, Jul 22, 2002 at 01:15:10AM -0600, Val Henson wrote:
> > > > Sigh.  I hate this question: "How will BitKeeper make it easier to
> > > > port something between 2.4 and 2.5?"  Answer: "Bk won't help - at
> > > > least not as much as it would help if 2.5 had been cloned from 2.4."
> > > 
> > > 2.5 _is_ cloned from 2.4..
> > 
> > can one make use of that somehow?
> 
> /me ain't no bk guru.
> 
> but I'd be interested in that, too.

I'll try and write up how to do the backport thing later today (after
I have some coffee) but I wanted to answer this one.

In theory, the fact that the 2.4 and 2.5 trees are clones of each other
means that you could just do a bk pull of the 2.5 tree into the 2.4 tree
and you'd be all set.  In practice, it's not going to work very well;
the problem is that that a lot of files, the same files, were added to
both the 2.4 and the 2.5 tree.  As far as BK is concerned, these are
different files, they have different "inode numbers".  Today, when you
do the pull, you'll be forced to move one of the files out of the way,
typically deleting it and using the other one.  That's not what you want,
you really want the two "inodes" to be merged into one in such a way that
synchronizing with either a 2.4 or a 2.5 tree would take any updates to
either inode and apply them to the merged inode.

Unless BK is taught to handle that case, I think a 2.4 / 2.5 merge 
using BK is hopeless, I tried it about a month after the trees 
split and there were piles of file conflicts.
-- 
---
Larry McVoy            	 lm at bitmover.com           http://www.bitmover.com/lm 

  reply	other threads:[~2002-07-22 15:22 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-21 23:34 using bitkeeper to backport subsystems? Andreas Schuldei
2002-07-22  7:15 ` Val Henson
2002-07-22  8:29   ` Christoph Hellwig
2002-07-22 10:27     ` Andreas Schuldei
2002-07-22 10:29       ` Christoph Hellwig
2002-07-22 15:25         ` Larry McVoy [this message]
2002-07-25 21:48           ` Andreas Schuldei
2002-07-22 15:20       ` Tom Rini
2002-07-22 22:29         ` Roger Gammans
2002-07-22 22:44           ` Larry McVoy
2002-07-23  8:16             ` Lars Marowsky-Bree
2002-07-23 18:38             ` Eric W. Biederman
2002-07-23 22:46               ` Larry McVoy
2002-07-22 10:43     ` Thunder from the hill
2002-07-22 10:46       ` Christoph Hellwig
2002-07-22 11:02         ` Thunder from the hill
2002-07-22 11:03           ` Christoph Hellwig
2002-07-22 13:45         ` Mark Mielke
2002-07-22 13:48           ` Christoph Hellwig
2002-07-22 17:52     ` Val Henson
  -- strict thread matches above, loose matches on Subject: below --
2002-07-23 14:31 Matthias Urlichs

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=20020722082552.A15391@work.bitmover.com \
    --to=lm@bitmover.com \
    --cc=andreas@schuldei.org \
    --cc=hch@lst.de \
    --cc=linux-kernel@vger.kernel.org \
    /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