emacs-devel
[Top][All Lists]
Advanced

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

Re: vc-next-action not behaving


From: David Abrahams
Subject: Re: vc-next-action not behaving
Date: Thu, 26 May 2005 08:28:35 -0400
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (windows-nt)

Andre Spiegel <address@hidden> 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





reply via email to

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