From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 18 May 2002 13:28:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 18 May 2002 13:28:53 -0400 Received: from h24-67-14-151.cg.shawcable.net ([24.67.14.151]:43506 "EHLO webber.adilger.int") by vger.kernel.org with ESMTP id ; Sat, 18 May 2002 13:28:52 -0400 Date: Sat, 18 May 2002 11:26:34 -0600 From: Andreas Dilger To: Daniel Phillips Cc: "Albert D. Cahalan" , linux-kernel@vger.kernel.org Subject: Re: Htree directory index for Ext2, updated Message-ID: <20020518172634.GK21295@turbolinux.com> Mail-Followup-To: Daniel Phillips , "Albert D. Cahalan" , linux-kernel@vger.kernel.org In-Reply-To: <200205170736.g4H7aNj281162@saturn.cs.uml.edu> <20020518055808.GH21295@turbolinux.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-GPG-Key: 1024D/0D35BED6 X-GPG-Fingerprint: 7A37 5D79 BF1B CECA D44F 8A29 A488 39F5 0D35 BED6 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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? If you try to apply that patch from 'somedir' you expect patch/BK to have ESP to know it should apply under 'linux'. If 'patch' will apply such a diff, then it is just a sign of the problems you were complaining about - that it uses heuristics to guess which file to modify, and they are not 100% right. Of course, if you are really talking about a patch, and not a BK changeset, then the problem lies solely with 'patch' and 'diff' and has nothing to do with BK at all. Cheers, Andreas -- Andreas Dilger http://www-mddsp.enel.ucalgary.ca/People/adilger/ http://sourceforge.net/projects/ext2resize/