summaryrefslogtreecommitdiff
path: root/lisp/vc-svn.el
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2009-02-10 06:03:07 +0000
committerNick Roberts <nickrob@snap.net.nz>2009-02-10 06:03:07 +0000
commitaf02d73901bd7ffd1c50e31125de290593ccd468 (patch)
tree4c93d4e225f9466d53b67599ecd31394e3ae7a9f /lisp/vc-svn.el
parentf8d5a47f5c86637154a70d9ad5883887d1322e7b (diff)
downloademacs-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.el2
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)