From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.devel Subject: C-x v u via *.~REV.~ reset file date to 1970-01-01 Date: Tue, 26 Aug 2003 04:26:39 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1061868594 22282 80.91.224.253 (26 Aug 2003 03:29:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Aug 2003 03:29:54 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Aug 26 05:29:53 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19rUWn-000473-00 for ; Tue, 26 Aug 2003 05:29:53 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19rUcb-0007gK-00 for ; Tue, 26 Aug 2003 05:35:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19rUVg-0000X3-Iw for emacs-devel@quimby.gnus.org; Mon, 25 Aug 2003 23:28:44 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19rTZE-0000Sp-25 for emacs-devel@gnu.org; Mon, 25 Aug 2003 22:28:20 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19rTYD-0008Ca-K3 for emacs-devel@gnu.org; Mon, 25 Aug 2003 22:27:48 -0400 Original-Received: from [217.13.230.178] (helo=yxa.extundo.com) by monty-python.gnu.org with esmtp (Exim 4.20) id 19rTXd-0007p3-Ko for emacs-devel@gnu.org; Mon, 25 Aug 2003 22:26:41 -0400 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.9/8.12.9) with ESMTP id h7Q2Qddk013965 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Tue, 26 Aug 2003 04:26:40 +0200 Original-To: emacs-devel@gnu.org X-Payment: hashcash 1.2 0:030826:emacs-devel@gnu.org:2e48f736f1355408 X-Hashcash: 0:030826:emacs-devel@gnu.org:2e48f736f1355408 User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16156 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16156 Visit a file in CVS and type a SPC and then remove it and save the file. VC generate a backup file dated 1970-01-01: jas@latte:~/src/libidn$ ls -la Makefile.am* -rw-r--r-- 1 jas staff 1959 2003-08-26 04:22 Makefile.am -rw-r--r-- 1 jas staff 1959 1970-01-01 01:00 Makefile.am.~1.91.~ jas@latte:~/src/libidn$ If you then do C-x v u, Emacs move the backup file back to the original, but keeps the file date. BSD make seem to use time=0 to mean that the file doesn't exist, so you get an error that the file doesn't exist, which is rather confusing. For CVS, why not use the file date stored in CVS/Entries? It would be even better than using current time, which otherwise would be one solution.