]> git.eshelyaron.com Git - emacs.git/commitdiff
(log-view-message-re): The rev might be locked.
authorAndré Spiegel <spiegel@gnu.org>
Sun, 19 Jan 2003 07:03:18 +0000 (07:03 +0000)
committerAndré Spiegel <spiegel@gnu.org>
Sun, 19 Jan 2003 07:03:18 +0000 (07:03 +0000)
lisp/log-view.el

index e50347daa6023a51a98aa519eea82242f7c701e0..c827a19df50a85c979fa1a5cd9dbc852d05417b7 100644 (file)
@@ -4,7 +4,7 @@
 
 ;; Author: Stefan Monnier <monnier@cs.yale.edu>
 ;; Keywords: rcs sccs cvs log version-control
-;; Revision: $Id: log-view.el,v 1.5 2000/12/06 19:49:40 fx Exp $
+;; Revision: $Id$
 
 ;; This file is part of GNU Emacs.
 
@@ -79,7 +79,8 @@
          "Working file: \\(.+\\)"
          "\\|SCCS/s\\.\\(.+\\):"
          "\\)\n"))
-(defconst log-view-message-re "^\\(revision \\([.0-9]+\\)\\|D \\([.0-9]+\\) .*\\)$")
+;; In RCS, a locked revision will look like "revision N.M\tlocked by: FOO".
+(defconst log-view-message-re "^\\(revision \\([.0-9]+\\)\\(?:\t.*\\)?\\|rev \\([0-9]+\\):  .*\\|D \\([.0-9]+\\) .*\\)$")
 
 (defconst log-view-font-lock-keywords
   `((,log-view-file-re
 (provide 'log-view)
 
 ;;; Change Log:
-;; $Log: log-view.el,v $
+;; $Log$
+;; Revision 1.6  2000/12/18 03:17:31  monnier
+;; Remove useless Version.
+;;
 ;; Revision 1.5  2000/12/06 19:49:40  fx
 ;; Fix copyright years.
 ;;