From alsa-user-owner@alsa.jcu.cz  Sun Nov 29 05:32:15 1998
Received: from nurock.kek.jp (root@nurock.kek.jp [130.87.218.140])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id FAA16982
	for <alsa-user@jcu.cz>; Sun, 29 Nov 1998 05:23:18 +0100
Received: from nurock.kek.jp (really [127.0.0.1]) by nurock.kek.jp
	via in.smtpd with esmtp (ident sharkey using rfc1413)
	id <m0zjyM9-000TJYC@nurock.kek.jp> (Debian Smail3.2.0.101)
	for <alsa-user@jcu.cz>; Sun, 29 Nov 1998 13:21:09 +0900 (JST) 
Message-Id: <m0zjyM9-000TJYC@nurock.kek.jp>
To: alsa-user@jcu.cz
From: sharkey@ale.physics.sunysb.edu
Subject: Re: CVS doesn't download alasa-util/alsactl content. 
In-reply-to: Your message of "Sat, 28 Nov 1998 11:21:09 +0100."
             <Pine.LNX.3.96.981128111819.960B-100000@entry.jcu.cz> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sun, 29 Nov 1998 13:21:05 +0900
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

> On Sat, 28 Nov 1998, Stefan Linnemann wrote:
> 
> > Hiya,
> > 
> > read a lot about alsactl on both lists, update with CVS, but somehow
> > alsa-utils/alsactl doens't get across.  First it was a zero length file,
> > which I removed and made as a directory.  CVS still doesn't download
> > anything anything within it.  According to the Makefile, and going on the
> > things people write here, I think there must be an alsactl utility, to
> > be made in the alsa-utils/alsactl directory.
> > 
> > Where am I being blonde?
> 
> Use rather checkout command rather than update if you have trouble with
> some package (seems if some directory is added to CVS, then update doesn't
> work). For example:
> 
> cd alsa
> rm -rf alsa-utils
> cvs -z3 co alsa-utils

That's a little clunky.

The problem is that cvs stores a listing of subdirectories in a file called
CVS/Entries.  It only recurses through those directories.  If a new directory
is added by someone else, CVS won't automatically recurse through the new
subdirectories.

There is a "-d" option to the cvs update command which allows you to scan
for new subdirectories in the repository.

cvs update -d <directory name>  adds a specific subdirectory
cvs update -d                   adds all available subdirectories

This is considered a feature, not a bug, since users may choose not to
include certain directories in their working copy, and cvs update assumes
if a user doesn't have a subdirectory, it's by that user's own choosing.

cvs update -d  is a little more elegant than wiping out the directory and
getting a new copy of the whole thing.

Eric


