unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Marshall, Simon" <Simon.Marshall@misys.com>
To: <dann@ics.uci.edu>
Cc: Andre Spiegel <spiegel@gnu.org>, emacs-devel@gnu.org
Subject: RE: vc-revert-hook?
Date: Thu, 8 May 2008 20:16:57 +0100	[thread overview]
Message-ID: <6EE216E1AA959543A555C60FF34FB76704140371@maileube01.misys.global.ad> (raw)
In-Reply-To: 200805081551.m48FpDlm012001@sallyv1.ics.uci.edu

> I followed the same steps and for me the time stamp got set to the
> current time after revert.  The only difference is the cvs version:
>  cvs -v
> 
> Concurrent Versions System (CVS) 1.11.22 (client/server)
> 
> Copyright (C) 2006 Free Software Foundation, Inc.
> 
> This is what comes by default with Fedora 8.

I get the timestamp of the original on Solaris-8/cvs-1.12.9,
RHEL-5/cvs-1.12.12 and Ubuntu-8.04/cvs-1.12.13.  I can reproduce it
without emacs, just by doing "cvs edit Makefile; touch Makefile; cvs
unedit Makefile".

I notice that the timestamp is stored in CVS/Entries.  It looks like the
timestamp my working copy was last updated or checked in.  I guess that
is where cvs is getting it from, because the timestamp is not of the
revision in the repository itself.  I don't recall doing anything
unusual when I set up the repository.

Can anyone else reproduce this?

Even if not, wouldn't a vc-revert-hook be a good idea?

Simon.


 "Misys" is the trade name for Misys plc (registered in England and Wales). Registration Number: 01360027. Registered office: Burleigh House, Chapel Oak, Salford Priors, Evesham WR11 8SP. For a list of Misys group operating companies please go to http://www.misys.com/html/about_us/group_operating_companies/. This email and any attachments have been scanned for known viruses using multiple scanners. 
 
We believe that this email and any attachments are virus free, however the recipient must take full responsibility for virus checking. This email message is intended for the named recipient only. It may be privileged and/or confidential. If you are not the named recipient of this email please notify us immediately and do not copy it or use it for any purpose, nor disclose its contents to any other person. This email does not constitute the commencement of legal relations between you and Misys plc. Please refer to the executed contract between you and the relevant member of the Misys group for the identity of the contracting party with which you are dealing. 




  reply	other threads:[~2008-05-08 19:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07  9:12 vc-revert-hook? Marshall, Simon
2008-05-07 18:29 ` vc-revert-hook? Dan Nicolaescu
2008-05-08  8:09   ` vc-revert-hook? Marshall, Simon
2008-05-08 15:51     ` vc-revert-hook? Dan Nicolaescu
2008-05-08 19:16       ` Marshall, Simon [this message]
2008-05-09  1:09         ` vc-revert-hook? Stefan Monnier
2008-05-12 10:14           ` vc-revert-hook? Marshall, Simon
2008-05-12 14:33             ` vc-revert-hook? Stefan Monnier
2008-05-12 16:18               ` vc-revert-hook? Marshall, Simon
2008-05-12 17:03                 ` vc-revert-hook? Stefan Monnier
2008-05-13  9:06                   ` vc-revert-hook? Marshall, Simon
2008-05-13 14:19                     ` vc-revert-hook? Stefan Monnier

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=6EE216E1AA959543A555C60FF34FB76704140371@maileube01.misys.global.ad \
    --to=simon.marshall@misys.com \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=spiegel@gnu.org \
    /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).