diff options
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 |