# HG changeset patch # User Richard M. Stallman # Date 804199875 0 # Node ID 5d719d15c5c1da736ff603942d0b55cf12e229f4 # Parent 598490dfbed5031a4720b9d78751eb6be830ed5a (vc-consult-rcs-headers): Handle the new time string formats of RCS 5.7. diff -r 598490dfbed5 -r 5d719d15c5c1 lisp/vc-hooks.el --- 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