From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13597 invoked by alias); 18 Aug 2003 14:54:33 -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 13590 invoked from network); 18 Aug 2003 14:54:32 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 18 Aug 2003 14:54:32 -0000 Received: from drow by nevyn.them.org with local (Exim 4.20 #1 (Debian)) id 19olOy-0005xx-Fs; Mon, 18 Aug 2003 10:54:32 -0400 Date: Mon, 18 Aug 2003 14:54:00 -0000 From: Daniel Jacobowitz To: Stephen Biggs Cc: GDB list Subject: Re: binutils+gdb CVS module Message-ID: <20030818145432.GA22884@nevyn.them.org> Mail-Followup-To: Stephen Biggs , GDB list References: <200308180904.h7I94i9W029387@duracef.shout.net> <20030818125651.GA20363@nevyn.them.org> <1061218286.18235.102.camel@steve.softier.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1061218286.18235.102.camel@steve.softier.local> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-08/txt/msg00191.txt.bz2 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. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer