emacs-devel
[Top][All Lists]
Advanced

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

vc-cvs-parse-entry


From: martin rudalics
Subject: vc-cvs-parse-entry
Date: Tue, 29 Aug 2006 18:20:29 +0200

When I open array.el whose entry in my ~/lisp/CVS/Entries shows as

/array.el/1.29/Wed Feb  1 09:17:44 2006//

`vc-cvs-parse-entry' compares

(nth 5 (file-attributes "~/lisp/array.el")))

which gives (17376 28328) on my system, with

(apply 'encode-time
       (parse-time-string
        (concat "Wed Feb  1 09:17:44 2006" " +0000")))

which gives (17376 31928).

The test for equality fails and array.el is classified as "edited"
although I never edited that file.  Apparently the code messes with
daylight savings time in some inappropriate fashion.  Files modified
_after_ the last change in DST are classified correctly.


Note that

(decode-time (nth 5 (file-attributes "~/lisp/array.el")))

gives (44 17 9 1 2 2006 3 nil 3600) while

       (parse-time-string
        (concat "Wed Feb  1 09:17:44 2006" " +0000"))

gives (44 17 9 1 2 2006 3 nil 0) on my system.




reply via email to

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