changeset 101925:4eaca528c43f

(vc-svn-after-dir-status): Use shy group for revision number as it isn't present for unregistered files.
author Nick Roberts <nickrob@snap.net.nz>
date Tue, 10 Feb 2009 05:59:14 +0000
parents c1950714465b
children 8c2ab4af1a9d
files lisp/vc-svn.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc-svn.el	Tue Feb 10 05:51:47 2009 +0000
+++ b/lisp/vc-svn.el	Tue Feb 10 05:59:14 2009 +0000
@@ -164,7 +164,7 @@
                      (?? . unregistered)
                      ;; This is what vc-svn-parse-status does.
                      (?~ . edited)))
-	(re (if remote "^\\(.\\)..... \\([ *]\\) +[-0-9]+ +\\(.*\\)$"
+	(re (if remote "^\\(.\\)..... \\([ *]\\) +\\(?:[-0-9]+\\)? +\\(.*\\)$"
 	      ;; Subexp 2 is a dummy in this case, so the numbers match.
 	      "^\\(.\\)....\\(.\\) \\(.*\\)$"))
        result)