unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* vc-cvs-parse-entry
@ 2006-08-29 16:20 martin rudalics
  2006-08-29 19:07 ` vc-cvs-parse-entry Stefan Monnier
  0 siblings, 1 reply; 26+ messages in thread
From: martin rudalics @ 2006-08-29 16:20 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2006-09-15 17:51 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-29 16:20 vc-cvs-parse-entry martin rudalics
2006-08-29 19:07 ` vc-cvs-parse-entry Stefan Monnier
2006-08-29 20:51   ` vc-cvs-parse-entry martin rudalics
2006-08-29 21:06     ` vc-cvs-parse-entry Stefan Monnier
2006-08-30 12:24       ` vc-cvs-parse-entry Eli Zaretskii
2006-08-30 17:51         ` vc-cvs-parse-entry martin rudalics
2006-09-02 13:10           ` vc-cvs-parse-entry Eli Zaretskii
2006-09-02 13:45             ` vc-cvs-parse-entry martin rudalics
2006-09-02 14:48               ` vc-cvs-parse-entry Eli Zaretskii
2006-09-03 10:40                 ` vc-cvs-parse-entry martin rudalics
2006-09-03 21:00                   ` vc-cvs-parse-entry Eli Zaretskii
2006-09-04  3:17                     ` vc-cvs-parse-entry Eli Zaretskii
2006-09-04  9:17                       ` vc-cvs-parse-entry martin rudalics
2006-09-04 17:55                         ` vc-cvs-parse-entry Eli Zaretskii
2006-09-05  9:10                           ` vc-cvs-parse-entry martin rudalics
2006-09-05 18:31                             ` vc-cvs-parse-entry Eli Zaretskii
2006-09-10  9:55                               ` vc-cvs-parse-entry martin rudalics
2006-09-10 21:17                                 ` vc-cvs-parse-entry Eli Zaretskii
2006-09-11  9:41                                   ` vc-cvs-parse-entry martin rudalics
2006-09-11 14:14                                     ` vc-cvs-parse-entry Stefan Monnier
2006-09-12  3:50                                     ` vc-cvs-parse-entry Eli Zaretskii
2006-09-14  8:40                                       ` vc-cvs-parse-entry martin rudalics
2006-09-15 17:43                                         ` vc-cvs-parse-entry Eli Zaretskii
2006-09-15 17:51                                         ` vc-cvs-parse-entry Eli Zaretskii
2006-08-30 21:01         ` vc-cvs-parse-entry Stefan Monnier
2006-09-02 12:32           ` vc-cvs-parse-entry Eli Zaretskii

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).