aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2010-01-29 15:43:31 -0800
committerDan Nicolaescu2010-01-29 15:43:31 -0800
commitb923687464ad194a932a6977d62020779b64bfe6 (patch)
tree640654f68cfb7c3873ba5ada9a7003bb9f874e21
parentc14902e0a0984e4dddef6307c4423e489bb54e41 (diff)
downloademacs-b923687464ad194a932a6977d62020779b64bfe6.tar.gz
emacs-b923687464ad194a932a6977d62020779b64bfe6.zip
(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 @@
12010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
4
12010-01-29 Chong Yidong <cyd@stupidchicken.com> 52010-01-29 Chong Yidong <cyd@stupidchicken.com>
2 6
3 * dirtrack.el (dirtrack): Warn instead of signalling error if the 7 * 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."
679 ("? " . unregistered) 679 ("? " . unregistered)
680 ;; No such state, but we need to distinguish this case. 680 ;; No such state, but we need to distinguish this case.
681 ("R " . renamed) 681 ("R " . renamed)
682 ("RM " . renamed)
682 ;; For a non existent file FOO, the output is: 683 ;; For a non existent file FOO, the output is:
683 ;; bzr: ERROR: Path(s) do not exist: FOO 684 ;; bzr: ERROR: Path(s) do not exist: FOO
684 ("bzr" . not-found) 685 ("bzr" . not-found)
@@ -713,7 +714,7 @@ stream. Standard error output is discarded."
713 (when entry 714 (when entry
714 (setf (nth 1 entry) 'conflict)))) 715 (setf (nth 1 entry) 'conflict))))
715 ((eq translated 'renamed) 716 ((eq translated 'renamed)
716 (re-search-forward "R \\(.*\\) => \\(.*\\)$" (line-end-position) t) 717 (re-search-forward "R[ M] \\(.*\\) => \\(.*\\)$" (line-end-position) t)
717 (let ((new-name (file-relative-name (match-string 2) relative-dir)) 718 (let ((new-name (file-relative-name (match-string 2) relative-dir))
718 (old-name (file-relative-name (match-string 1) relative-dir))) 719 (old-name (file-relative-name (match-string 1) relative-dir)))
719 (push (list new-name 'edited 720 (push (list new-name 'edited