summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2010-01-29 15:43:31 -0800
committerDan Nicolaescu <dann@ics.uci.edu>2010-01-29 15:43:31 -0800
commitb923687464ad194a932a6977d62020779b64bfe6 (patch)
tree640654f68cfb7c3873ba5ada9a7003bb9f874e21
parentc14902e0a0984e4dddef6307c4423e489bb54e41 (diff)
downloademacs-b923687464ad194a932a6977d62020779b64bfe6.tar.gz
(vc-bzr-after-dir-status): Match another renaming indicator.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/vc-bzr.el3
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4a4baf917c0..54f475c1ca6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
+
2010-01-29 Chong Yidong <cyd@stupidchicken.com>
* dirtrack.el (dirtrack): Warn instead of signalling error if the
diff --git a/lisp/vc-bzr.el b/lisp/vc-bzr.el
index 8861fef0388..5f01d297971 100644
--- a/lisp/vc-bzr.el
+++ b/lisp/vc-bzr.el
@@ -679,6 +679,7 @@ stream. Standard error output is discarded."
("? " . unregistered)
;; No such state, but we need to distinguish this case.
("R " . renamed)
+ ("RM " . renamed)
;; For a non existent file FOO, the output is:
;; bzr: ERROR: Path(s) do not exist: FOO
("bzr" . not-found)
@@ -713,7 +714,7 @@ stream. Standard error output is discarded."
(when entry
(setf (nth 1 entry) 'conflict))))
((eq translated 'renamed)
- (re-search-forward "R \\(.*\\) => \\(.*\\)$" (line-end-position) t)
+ (re-search-forward "R[ M] \\(.*\\) => \\(.*\\)$" (line-end-position) t)
(let ((new-name (file-relative-name (match-string 2) relative-dir))
(old-name (file-relative-name (match-string 1) relative-dir)))
(push (list new-name 'edited