From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: cvs new-dir Need-Update Date: Fri, 13 Sep 2002 13:56:59 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200209131757.g8DHv0q13875@rum.cs.yale.edu> References: <200209131650.g8DGoBI25650@arc.math.ohio-state.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031939963 24197 127.0.0.1 (13 Sep 2002 17:59:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 13 Sep 2002 17:59:23 +0000 (UTC) Cc: monnier+gnu/emacs@rum.cs.yale.edu Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17puiv-0006I6-00 for ; Fri, 13 Sep 2002 19:59:21 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17pvKu-0003y1-00 for ; Fri, 13 Sep 2002 20:38:36 +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 17puj6-0006CZ-00; Fri, 13 Sep 2002 13:59:32 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17puh4-0006AH-00 for emacs-devel@gnu.org; Fri, 13 Sep 2002 13:57:26 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17puh2-00069t-00 for emacs-devel@gnu.org; Fri, 13 Sep 2002 13:57:25 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17puh2-00069k-00 for emacs-devel@gnu.org; Fri, 13 Sep 2002 13:57:24 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g8DHvNx13906; Fri, 13 Sep 2002 13:57:23 -0400 Resent-Message-Id: <200209131757.g8DHvNx13906@rum.cs.yale.edu> Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g8DHv0q13875; Fri, 13 Sep 2002 13:57:00 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Markus Rost Resent-To: emacs-devel@gnu.org Resent-Date: Fri, 13 Sep 2002 13:57:23 -0400 Resent-From: Stefan Monnier 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: Resent-Date: Fri, 13 Sep 2002 13:59:32 -0400 Xref: main.gmane.org gmane.emacs.devel:7886 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7886 > 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. Stefan 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.