Re: Htree directory index for Ext2, updated

Larry McVoy (lm@bitmover.com)
Wed, 22 May 2002 07:40:41 -0700


On Wed, May 22, 2002 at 04:23:54AM -0600, Andreas Dilger wrote:
> On May 22, 2002 11:43 +0200, Daniel Phillips wrote:
> > On Saturday 18 May 2002 19:26, Andreas Dilger wrote:
> > > On May 18, 2002 08:13 +0200, Daniel Phillips wrote:
> > > > I cloned a repository that is arranged like:
> > > >
> > > > somedir
> > > > |
> > > > |--linux
> > > > | |
> > > > | The usual stuff
> > > > |
> > > > `---other things
> > > >
> > > > Bitkeeper wants the destination for the import to be 'somedir', and
> > > > cannot figure out how to apply a patch that looks like:
> > > > +++ src/include/linux/someheader.h, for instance.
> > >
> > > And that is bad in what way?
> >
> > It is bad in that there is no way to import the patch into BitKeeper.
> >
> > It looks like a hole in BitKeeper. How do you suggest I apply my
> > perfectly normal patch?
>
> cd somedir/linux; patch -p1 < foo.diff; bk citool

bk import -tpatch foo.diff somedir/linux

also works, does the same thing, but handles renames. Not needed for
simple patches but you might get in the habit of using it anyway so
the odd rename is caught.

Cheers,

-- 
---
Larry McVoy            	 lm at bitmover.com           http://www.bitmover.com/lm 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/