From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: cvs new-dir Need-Update Date: 20 Sep 2002 15:28:57 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200209131650.g8DGoBI25650@arc.math.ohio-state.edu> <200209131757.g8DHv0q13875@rum.cs.yale.edu> Reply-To: sds@gnu.org NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032558013 19822 127.0.0.1 (20 Sep 2002 21:40:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 20 Sep 2002 21:40:13 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17sVVR-00059Z-00 for ; Fri, 20 Sep 2002 23:40:09 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17sWAt-0000G3-00 for ; Sat, 21 Sep 2002 00:22:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17sVVq-0005Lw-00; Fri, 20 Sep 2002 17:40:34 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17sTZI-0007vo-00 for emacs-devel@gnu.org; Fri, 20 Sep 2002 15:36:00 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17sTZG-0007vb-00 for emacs-devel@gnu.org; Fri, 20 Sep 2002 15:35:59 -0400 Original-Received: from h020.c001.snv.cp.net ([209.228.32.134] helo=c001.snv.cp.net) by monty-python.gnu.org with smtp (Exim 4.10) id 17sTZF-0007vU-00 for emacs-devel@gnu.org; Fri, 20 Sep 2002 15:35:57 -0400 Original-Received: (cpmta 8493 invoked from network); 20 Sep 2002 12:35:56 -0700 Original-Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.134) with SMTP; 20 Sep 2002 12:35:56 -0700 X-Sent: 20 Sep 2002 19:35:56 GMT Original-Received: (from sds@localhost) by glip.premonitia.com (8.11.6/8.11.6) id g8KJSvK09980; Fri, 20 Sep 2002 15:28:57 -0400 X-Authentication-Warning: glip.premonitia.com: sds set sender to sds@gnu.org using -f Original-To: "Stefan Monnier" X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never In-Reply-To: <200209131757.g8DHv0q13875@rum.cs.yale.edu> Original-Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8063 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8063 > * In message <200209131757.g8DHv0q13875@rum.cs.yale.edu> > * On the subject of "Re: cvs new-dir Need-Update " > * Sent on Fri, 13 Sep 2002 13:56:59 -0400 > * Honorable "Stefan Monnier" 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 The paperless office will become a reality soon after the paperless toilet.