From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20707 invoked by alias); 18 Aug 2003 15:10:11 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 20700 invoked from network); 18 Aug 2003 15:10:09 -0000 Received: from unknown (HELO steve.softier.local) (62.90.245.250) by sources.redhat.com with SMTP; 18 Aug 2003 15:10:09 -0000 Received: from steve.softier.local (localhost.localdomain [127.0.0.1]) by steve.softier.local (8.12.8/8.12.8) with ESMTP id h7IFA3kW021667; Mon, 18 Aug 2003 18:10:03 +0300 Received: (from steve@localhost) by steve.softier.local (8.12.8/8.12.8/Submit) id h7IFA2Sx021665; Mon, 18 Aug 2003 18:10:02 +0300 X-Authentication-Warning: steve.softier.local: steve set sender to xyzzy@hotpop.com using -f Subject: Re: binutils+gdb CVS module From: Stephen Biggs To: Daniel Jacobowitz Cc: GDB list In-Reply-To: <20030818145432.GA22884@nevyn.them.org> References: <200308180904.h7I94i9W029387@duracef.shout.net> <20030818125651.GA20363@nevyn.them.org> <1061218286.18235.102.camel@steve.softier.local> <20030818145432.GA22884@nevyn.them.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 18 Aug 2003 15:10:00 -0000 Message-Id: <1061219402.10548.107.camel@steve.softier.local> Mime-Version: 1.0 X-SW-Source: 2003-08/txt/msg00194.txt.bz2 On Mon, 2003-08-18 at 17:54, Daniel Jacobowitz wrote: > On Mon, Aug 18, 2003 at 05:51:26PM +0300, Stephen Biggs wrote: > > On Mon, 2003-08-18 at 15:56, Daniel Jacobowitz wrote: > > > On Mon, Aug 18, 2003 at 05:04:44AM -0400, Michael Elizabeth Chastain wrote: > > > > The normal workaround is to do "cvs update" almost all of the time, with > > > > no "-d", and to handle new top-level files and directories specially. > > > > Fortunately they don't appear very often (a few times a year). > > > > > > The trick is to update directories the same way you checked them out > > > initially: say "cvs -d co gdb+binutils" from the level above > > > src, just like the first time. That gets the right set of new files. > > > > > > > I did a checkout like so: > > $ cd ~/cvs > > $ cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/src login > > $ cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/src checkout > > binutils+gdb > > > > ... so, if I have ~/cvs/src being the top of my binutils+gdb tree (with > > NO mention anywhere of binutils+gdb in the tree, fitting what Michael > > said), from the level above, if I understand you correctly? > > > > This doesn't work. > > $ cd ~/cvs > > $ cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/src update -R -d -P > > binutils+gdb > > cvs server: Updating binutils+gdb > > cvs server: cannot open directory /cvs/src/binutils+gdb: No such file or > > directory > > cvs server: skipping directory binutils+gdb > > $ > > > > What did I do wrong? > > Try using "checkout" the second time too. That's the key - update > doesn't check the modules file, only checkout does. Don't need to give > it any other options than you did the first time. Yes. That did the trick. Thanks for the CVS tip! As Bob Rossi said: VERY cool! > > -- > Daniel Jacobowitz > MontaVista Software Debian GNU/Linux Developer >