]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-bzr-after-dir-status): Match another renaming indicator.
authorDan Nicolaescu <dann@ics.uci.edu>
Fri, 29 Jan 2010 23:43:31 +0000 (15:43 -0800)
committerDan Nicolaescu <dann@ics.uci.edu>
Fri, 29 Jan 2010 23:43:31 +0000 (15:43 -0800)
lisp/ChangeLog
lisp/vc-bzr.el

index 4a4baf917c051357617ed7501c1da2c6ebdb9483..54f475c1ca62e6b1de267ee3d74897dbe908d378 100644 (file)
@@ -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
index 8861fef03889b1c6c3460cafe45f1d4e05fa67ff..5f01d29797146a17219e3824ccf4d608f6506687 100644 (file)
@@ -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