Full_Name: Neil L. Roeth
OS: Solaris/SunOS 5.5
Version: 20.4
severity: Serious
Submission from: (NULL) (205.228.12.71)
Y2K problem in vc-hooks.el
I use Tools/Compare/File With Revision... with my currently checked out
revision in the current buffer. I choose the defaults, use latest revision
and current buffer, and the revision that get checked out is not the
latest, it is the last revision in 1999. I isolated the problem to
vc-fetch-properties, when it calls vc-parse-buffer. It does not parse the
RCS dates correctly; the dates for 1999 have a two digit year (99) and the
dates for 2000 have the full four digits. A local elisp expert said the
vc code is taking the two date/time strings and doing a lexical compare on
them.
This bug makes comparing files very confusing, when you think you've
changed a few lines, but many show up in the ediff. I have not checked,
but I would guess there are other effects, since vc-hooks.el provides
general vc functionality, not ediff specific.
Thanks.
--=-=-=--
Show replies by date