From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andre Spiegel Newsgroups: gmane.emacs.devel Subject: Re: vc-mode permissions problems on NT Date: Wed, 10 Sep 2003 16:04:36 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <1063202676.543.79.camel@localhost> References: <1063134029.541.18.camel@localhost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1063203325 10652 80.91.224.253 (10 Sep 2003 14:15:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Sep 2003 14:15:25 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Sep 10 16:15:24 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19x5ki-0002YC-00 for ; Wed, 10 Sep 2003 16:15:24 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19x5l6-0001uO-00 for ; Wed, 10 Sep 2003 16:15:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19x5jW-00035U-Rf for emacs-devel@quimby.gnus.org; Wed, 10 Sep 2003 10:14:10 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19x5jH-00030V-0s for emacs-devel@gnu.org; Wed, 10 Sep 2003 10:13:55 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19x5jC-0002xU-EZ for emacs-devel@gnu.org; Wed, 10 Sep 2003 10:13:51 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.22) id 19x5jA-0002wR-Rh for emacs-devel@gnu.org; Wed, 10 Sep 2003 10:13:48 -0400 Original-Received: from [193.113.160.16] (helo=mail.o2.co.uk) by mx20.gnu.org with esmtp (Exim 4.22) id 19x5aP-0002Bo-Fz for emacs-devel@gnu.org; Wed, 10 Sep 2003 10:04:45 -0400 Original-Received: from [217.235.26.237] (217.235.26.237) by mail.o2.co.uk (7.0.020) (authenticated as 01792247376@o2online.de) id 3F4D528700355082; Wed, 10 Sep 2003 15:04:38 +0100 Original-To: David Abrahams In-Reply-To: X-Mailer: Ximian Evolution 1.4.4 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16269 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16269 On Wed, 2003-09-10 at 15:25, David Abrahams wrote: > In vc-cvs-state-heuristic, (file-attributes file) yields: > > (nil 1 5 5 (16223 9039) (15707 62723) (15938 41615) 199 "-r--r--r--" nil 17944 (48170 . 6007)) > > > (equal checkout-time lastmod) yields: > > nil Hmm, I need some other information as well. In addition to the above, what is checkout-time for this particular file? What time does CVS/Entries contain, in plain text? What modification time does the shell report, and does it agree with CVS/Entries, file-attributes, and checkout-time? If CVS/Entries and the modification time as reported by the shell agree, then somewhere an error must be introduced, so that the above comparison fails. We need to find out where that happens. > vc-cvs-state doesn't seem to be getting invoked. That's ok when you find the file. It should be invoked when you do C-x v v, and if you set vc-[cvs-]stay-local to nil, then it should do an actual "cvs status", and thus get the right state of the file, even if it guessed wrong in vc-cvs-state-heuristic before.