Mercurial > emacs
diff lisp/vc-svn.el @ 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 | 0dd7b7766a85 |
children | 04e540897dd1 |
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)