From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Marshall, Simon" Newsgroups: gmane.emacs.devel Subject: RE: vc-revert-hook? Date: Thu, 8 May 2008 20:16:57 +0100 Message-ID: <6EE216E1AA959543A555C60FF34FB76704140371@maileube01.misys.global.ad> References: <6EE216E1AA959543A555C60FF34FB767040B1D39@maileube01.misys.global.ad><200805071829.m47ITlkV020399@sallyv1.ics.uci.edu><6EE216E1AA959543A555C60FF34FB767040F7D64@maileube01.misys.global.ad> <200805081551.m48FpDlm012001@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1210274286 15372 80.91.229.12 (8 May 2008 19:18:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 May 2008 19:18:06 +0000 (UTC) Cc: Andre Spiegel , emacs-devel@gnu.org To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 08 21:18:40 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JuBdV-0001RY-Ai for ged-emacs-devel@m.gmane.org; Thu, 08 May 2008 21:18:37 +0200 Original-Received: from localhost ([127.0.0.1]:34093 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JuBcn-0004Hn-0R for ged-emacs-devel@m.gmane.org; Thu, 08 May 2008 15:17:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JuBci-0004HY-P7 for emacs-devel@gnu.org; Thu, 08 May 2008 15:17:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JuBcf-0004HL-Tx for emacs-devel@gnu.org; Thu, 08 May 2008 15:17:48 -0400 Original-Received: from [199.232.76.173] (port=46231 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JuBcf-0004HI-Q0 for emacs-devel@gnu.org; Thu, 08 May 2008 15:17:45 -0400 Original-Received: from cluster-b.mailcontrol.com ([217.68.146.190]:60823) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JuBcZ-0005Va-KJ; Thu, 08 May 2008 15:17:40 -0400 Original-Received: from rly23b.srv.mailcontrol.com (localhost.localdomain [127.0.0.1]) by rly23b.srv.mailcontrol.com (MailControl) with ESMTP id m48JHWdE013292; Thu, 8 May 2008 20:17:33 +0100 Original-Received: from submission.mailcontrol.com (submission.mailcontrol.com [86.111.216.190]) by rly23b.srv.mailcontrol.com (MailControl) id m48JH2Ku010788; Thu, 8 May 2008 20:17:02 +0100 Original-Received: from mailwhp01.misys.global.ad ([63.117.120.167]) by rly23b-eth0.srv.mailcontrol.com (envelope-sender Simon.Marshall@misys.com) (MIMEDefang) with ESMTP id m48JGQob008804; Thu, 08 May 2008 20:17:02 +0100 (BST) Original-Received: from maileube01.misys.global.ad ([10.80.49.221]) by mailwhp01.misys.global.ad with Microsoft SMTPSVC(6.0.3790.1830); Thu, 8 May 2008 15:17:01 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: vc-revert-hook? Thread-Index: AcixI4OHQnJEVtW5ScyAGw1jyLsZLwAGmFHg X-OriginalArrivalTime: 08 May 2008 19:17:01.0157 (UTC) FILETIME=[1792A950:01C8B140] X-Scanned-By: MailControl A-08-50-00 (www.mailcontrol.com) on 10.66.1.133 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:96811 Archived-At: > 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 >=20 > Concurrent Versions System (CVS) 1.11.22 (client/server) >=20 > Copyright (C) 2006 Free Software Foundation, Inc. >=20 > 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 O= ak, Salford Priors, Evesham WR11 8SP. For a list of Misys group operating c= ompanies please go to http://www.misys.com/html/about_us/group_operating_co= mpanies/. This email and any attachments have been scanned for known viruse= s using multiple scanners.=20 =20 We believe that this email and any attachments are virus free, however the = recipient must take full responsibility for virus checking. This email mess= age is intended for the named recipient only. It may be privileged and/or c= onfidential. 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 commen= cement of legal relations between you and Misys plc. Please refer to the ex= ecuted contract between you and the relevant member of the Misys group for = the identity of the contracting party with which you are dealing.=20