Fix short log parsing and fontification.
authorDan Nicolaescu <dann@ics.uci.edu>
Wed, 9 Dec 2009 06:04:09 +0000 (06:04 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Wed, 9 Dec 2009 06:04:09 +0000 (06:04 +0000)
* vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
Fix fontification for the [merge] label.

lisp/ChangeLog
lisp/vc-bzr.el

index 6aefbd1..bb86c82 100644 (file)
@@ -1,3 +1,9 @@
+2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       Fix short log parsing and fontification.
+       * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
+       Fix fontification for the [merge] label.
+
 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
 
        Drop some properties to avoid surprises.
index 13a3eb1..ae6117d 100644 (file)
@@ -462,7 +462,7 @@ REV non-nil gets an error."
   (set (make-local-variable 'log-view-file-re) "\\`a\\`")
   (set (make-local-variable 'log-view-message-re)
        (if vc-short-log
-          "^ +\\([0-9]+\\) \\(.*?\\)[ \t]+\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}\\)\\( \\[merge\\]\\)?"
+          "^ +\\([0-9.]+\\) \\(.*?\\)[ \t]+\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}\\)\\( \\[merge\\]\\)?"
         "^ *\\(?:revno: \\([0-9.]+\\)\\|merged: .+\\)"))
   (set (make-local-variable 'log-view-font-lock-keywords)
        ;; log-view-font-lock-keywords is careful to use the buffer-local
@@ -472,7 +472,7 @@ REV non-nil gets an error."
                    (1 'log-view-message-face)
                    (2 'change-log-name)
                    (3 'change-log-date)
-                   (4 'change-log-list))))
+                   (4 'change-log-list nil lax))))
         (append `((,log-view-message-re . 'log-view-message-face))
                 ;; log-view-font-lock-keywords
                 '(("^ *committer: \