]> code.delx.au - gnu-emacs/commitdiff
(vc-consult-rcs-headers): Handle the new time
authorRichard M. Stallman <rms@gnu.org>
Mon, 26 Jun 1995 20:51:15 +0000 (20:51 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 26 Jun 1995 20:51:15 +0000 (20:51 +0000)
string formats of RCS 5.7.

lisp/vc-hooks.el

index 86c3711f37ff29f661f856cfc5c94812301fa3e6..1b31024ac8d83642b910f3a7f31c48f0a51a26c0 100644 (file)
@@ -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