diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2009-02-10 06:03:07 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2009-02-10 06:03:07 +0000 |
commit | af02d73901bd7ffd1c50e31125de290593ccd468 (patch) | |
tree | 4c93d4e225f9466d53b67599ecd31394e3ae7a9f /lisp/vc-svn.el | |
parent | f8d5a47f5c86637154a70d9ad5883887d1322e7b (diff) | |
download | emacs-af02d73901bd7ffd1c50e31125de290593ccd468.tar.gz |
(vc-svn-after-dir-status): Use shy group for revision
number as it isn't present for unregistered files.
Diffstat (limited to 'lisp/vc-svn.el')
-rw-r--r-- | lisp/vc-svn.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc-svn.el b/lisp/vc-svn.el index e79ef9a0fa6..a2e455a8702 100644 --- a/lisp/vc-svn.el +++ b/lisp/vc-svn.el @@ -164,7 +164,7 @@ want to force an empty list of arguments, use t." (?? . 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) |