unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Abrahams <dave@boost-consulting.com>
Subject: Re: vc-next-action not behaving
Date: Thu, 26 May 2005 08:28:35 -0400	[thread overview]
Message-ID: <uwtpmyxvw.fsf@boost-consulting.com> (raw)
In-Reply-To: 1117094897.3816.206.camel@localhost

Andre Spiegel <spiegel@gnu.org> 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	other threads:[~2005-05-26 12:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-26  1:10 vc-next-action not behaving David Abrahams
2005-05-26  8:08 ` Andre Spiegel
2005-05-26 12:28   ` David Abrahams [this message]
2005-05-26 13:38     ` Andre Spiegel
2005-05-26 18:17       ` David Abrahams
2005-05-26 18:41         ` Andreas Schwab
2005-05-26 19:07           ` David Abrahams
2005-05-26 19:55             ` Andreas Schwab
2005-05-26 14:16     ` Stefan Monnier
2005-05-26 18:18       ` David Abrahams
2005-05-26 19:04         ` David Abrahams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uwtpmyxvw.fsf@boost-consulting.com \
    --to=dave@boost-consulting.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).