changeset 12391:5d719d15c5c1

(vc-consult-rcs-headers): Handle the new time string formats of RCS 5.7.
author Richard M. Stallman <rms@gnu.org>
date Mon, 26 Jun 1995 20:51:15 +0000
parents 598490dfbed5
children 76541e773672
files lisp/vc-hooks.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc-hooks.el	Mon Jun 26 20:45:48 1995 +0000
+++ b/lisp/vc-hooks.el	Mon Jun 26 20:51:15 1995 +0000
@@ -347,9 +347,9 @@
 				     (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