info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


From: root
Subject: (no subject)
Date: Mon, 13 Aug 2001 05:02:53 -0400

>From address@hidden  Wed Jan 31 07:11:49 2001
>Return-Path: <address@hidden>
Received: from fencepost.gnu.org (address@hidden [199.232.76.164])
        by gateway.camelot.jp (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id 
HAA02911
        for <address@hidden>; Wed, 31 Jan 2001 07:11:47 +0900
Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org)
        by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
        id 14Nixg-000604-00; Tue, 30 Jan 2001 17:09:16 -0500
Received: from venus.sun.com ([192.9.25.5])
        by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
        id 14Nivf-0005yo-00
        for <address@hidden>; Tue, 30 Jan 2001 17:07:11 -0500
Received: from forte.forte.com (forte [192.104.236.1])
        by venus.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id OAA15943;
        Tue, 30 Jan 2001 14:07:05 -0800 (PST)
Received: from [129.149.75.34] (russt95 [129.149.75.34])
        by forte.forte.com (8.9.1b+Sun/8.9.1) with ESMTP id OAA21520;
        Tue, 30 Jan 2001 14:07:02 -0800 (PST)
X-Sender: address@hidden
Message-Id: <address@hidden>
In-Reply-To: <address@hidden>
References: <address@hidden> from "Peter Schuller" at Jan
 30, 1 03:34:16 pm
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: address@hidden (Peter Schuller)
From: Russ Tremain <address@hidden>
Subject: Re: 'cvs update' skipping directories
Cc: address@hidden (Larry Jones), address@hidden
Sender: address@hidden
Errors-To: address@hidden
X-BeenThere: address@hidden
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/info-cvs>,
        <mailto:address@hidden>
List-Id: Announcements and discussions for the CVS version control system 
<info-cvs.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/info-cvs>,
        <mailto:address@hidden>
List-Archive: <http://mail.gnu.org/pipermail/info-cvs/>
Date: Tue, 30 Jan 2001 14:07:08 -0800
Status: O
Content-Length: 1522
Lines: 42

At 1:11 PM -0800 1/30/01, Larry Jones wrote:
>Peter Schuller writes:
>> 
>> Basically, if I do a check-out I get everything. But if someome else then
>> adds a directory I sometimes (but not always) won't get a copy of that
>> directory when doing "cvs update".
>
>Update doesn't get new directories by default, you need to use the -d
>option.  (The reason is that CVS doesn't have any way to tell the
>difference between a newly added directory and an old one that you
>explicitly didn't checkout.)  If you want that behavior all the time,
>you can add it to your ~/.cvsrc file.
>
>-Larry Jones

I would add that if you have defined a module that organizes
your working directory structure differently than in your
repository, then update -d won't work either.  If a directory is
added to the module definition later, update -d won't always
find it.

update only knows about directory and file names, not module names.

however, you can always say "cvs co <module>" to get new directories.
A checkout will update existing files in your working dir the second time,
and will add any new directories.

If you provide a module alias for each top-level directory
in your repository, then you can always "cvs checkout" to
create OR update your top-level directories, and get consistent
semantics that intermix cleanly with more esoteric module definitions.

This seems easier to me.

-Russ



_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]