diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-06-26 20:51:15 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-06-26 20:51:15 +0000 |
commit | bedbce828ef04b5b1fb03863d4844b2fb74a96f3 (patch) | |
tree | d3473681e02d49f8d096bfb89f186ab3816e9bc7 /lisp/vc-hooks.el | |
parent | 624049ec4deb4b8c6b4d523661396ac438aede22 (diff) | |
download | emacs-bedbce828ef04b5b1fb03863d4844b2fb74a96f3.tar.gz |
(vc-consult-rcs-headers): Handle the new time
string formats of RCS 5.7.
Diffstat (limited to 'lisp/vc-hooks.el')
-rw-r--r-- | lisp/vc-hooks.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el index 86c3711f37f..1b31024ac8d 100644 --- a/lisp/vc-hooks.el +++ b/lisp/vc-hooks.el @@ -347,9 +347,9 @@ value of this flag.") (match-end 1)))) ;; ... and check for the locking state (if (re-search-forward - (concat "\\=[0-9]+/[0-9]+/[0-9]+ " ; date - "[0-9]+:[0-9]+:[0-9]+ " ; time - "[^ ]+ [^ ]+ ") ; author & state + (concat "\\=[0-9]+[/-][0-9]+[/-][0-9]+ " ; date + "[0-9]+:[0-9]+:[0-9]+\\([+-][0-9:]+\\)? " ; time + "[^ ]+ [^ ]+ ") ; author & state nil t) (cond ;; unlocked revision |