[Top][All Lists]

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

Re: cvs new-dir Need-Update

From: Sam Steingold
Subject: Re: cvs new-dir Need-Update
Date: 20 Sep 2002 15:28:57 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> * In message <address@hidden>
> * On the subject of "Re: cvs new-dir Need-Update "
> * Sent on Fri, 13 Sep 2002 13:56:59 -0400
> * Honorable "Stefan Monnier" <monnier+gnu/address@hidden> writes:
> > Hi.  Not a bug report, just a question:  When running cvs-examine or
> > cvs-mode-revert-buffer, I get always these "new-dirs" which are marked
> > "Need-Update", but apparently are obsolete.  I can't update them.  Any
> > idea what is going on?
> Yes, `cvs -n update' will list these as "new directory" as if `cvs
> update' would bring them in.  Problem is, `cvs update' would not bring
> them in if you use the `-P' option (which is generally recommended).
> In other words, the problem is that `cvs -n update' ignores the `-P'
> option.  It's difficult for PCL-CVS to fix it, and I couldn't find a
> trivial fix in CVS itself either (although that doesn't say much
> because I'm very non-familiar with the code).
> One solution is to not use the `-P' option, of course.
> PS: In earlier versions of PCL-CVS those messages were not turned into
>     `Need-Update' but into mere informational messages.  Such messages
>     are less annoying in your case, but `Need-Update' is the right
>     thing to do in the case of a true new directory.
>     The only solution I can think of is to make it a user-option,
>     which is rather a cop-out.

CVS/Entries.Log contains the list of deleted directories.
Maybe you could use it to filter out this junk altogether?

Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html>
The paperless office will become a reality soon after the paperless toilet.

reply via email to

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