From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.devel Subject: Re: vc-next-action not behaving Date: Thu, 26 May 2005 08:28:35 -0400 Message-ID: References: <1117094897.3816.206.camel@localhost> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117110678 28358 80.91.229.2 (26 May 2005 12:31:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 May 2005 12:31:18 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 26 14:31:13 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DbHV5-00066z-7Q for ged-emacs-devel@m.gmane.org; Thu, 26 May 2005 14:30:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DbHZ9-0006Cv-7c for ged-emacs-devel@m.gmane.org; Thu, 26 May 2005 08:34:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DbHYq-0006AC-Bp for emacs-devel@gnu.org; Thu, 26 May 2005 08:34:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DbHYn-00069B-Lh for emacs-devel@gnu.org; Thu, 26 May 2005 08:34:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DbHYn-00068H-Er for emacs-devel@gnu.org; Thu, 26 May 2005 08:34:01 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DbHVY-0007ZT-D4 for emacs-devel@gnu.org; Thu, 26 May 2005 08:30:40 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DbHSt-0005nq-Mu for emacs-devel@gnu.org; Thu, 26 May 2005 14:27:55 +0200 Original-Received: from 146-115-127-135.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com ([146.115.127.135]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 May 2005 14:27:55 +0200 Original-Received: from dave by 146-115-127-135.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 May 2005 14:27:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 51 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 146-115-127-135.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:HCSePMV3g+ABiKqU1s44qOwyOpU= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:37692 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37692 Andre Spiegel writes: > On Wed, 2005-05-25 at 21:10 -0400, David Abrahams wrote: > >> In recent CVS builds of emacs (on NT), when I do `C-x v v' on an >> *unmodified* file under version control, and I get: >> >> File is edited but read-only; making it writable >> File is under version-control; use C-x v v to check in/out > > When you visit the file initially, what version state does it show on > the mode line? Does it show something like "CVS-1.1", or "CVS:1.1". It's the latter. > The latter would mean that Emacs already considers the file edited when > you first visit it. > > Emacs considers the file edited if the time stamp in CVS/Entries and the > mtime of the working file do not agree. You could check these time > stamps for an unmodified file, Emacs diredit: -r--r--r-- 1 dave root 25944 05-25 20:28 index.htm DIR /TW: 05/25/2005 08:28 PM 25,944 index.htm CVS/Entries /index.htm/1.216/Wed May 25 23:28:50 2005// Hum. Nobody seems to agree about the hour! I'm on EST, which is GMT-05:00. Even if one of these is supposed to be a GMT time it doesn't agree with either of the others. I'm using CVS from Cygwin, which I have installed with its bin directories in my regular Windows PATH all the time. > you could also try and step through vc-cvs-parse-entry, to see if > the time stamps are properly analyzed. > > Maybe it's a timezone issue? Apparently it is, but I haven't a clue how I'd correct it! Any ideas? -- Dave Abrahams Boost Consulting www.boost-consulting.com