From 58c59fd7af20f44c2aea1e56a716d1df8f669a56 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 26 Jun 1995 20:51:15 +0000 Subject: [PATCH] (vc-consult-rcs-headers): Handle the new time string formats of RCS 5.7. --- lisp/vc-hooks.el | 6 +++--- 1 file 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 -- 2.39.2