aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/vc-bzr.el20
2 files changed, 15 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 634b1ab6b22..165e92246d3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12008-07-07 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * vc-bzr.el (vc-bzr-after-dir-status): Deal with execute bit changes.
4
12008-07-06 John Paul Wallington <jpw@pobox.com> 52008-07-06 John Paul Wallington <jpw@pobox.com>
2 6
3 * kermit.el (kermit-esc-char, kermit-clean-off): Doc fixes. 7 * kermit.el (kermit-esc-char, kermit-clean-off): Doc fixes.
diff --git a/lisp/vc-bzr.el b/lisp/vc-bzr.el
index 64cc8ade8aa..12351e606a0 100644
--- a/lisp/vc-bzr.el
+++ b/lisp/vc-bzr.el
@@ -576,17 +576,19 @@ stream. Standard error output is discarded."
576 ;; else fall back to default vc.el representation 576 ;; else fall back to default vc.el representation
577 (vc-default-prettify-state-info 'Bzr file))) 577 (vc-default-prettify-state-info 'Bzr file)))
578 578
579;; XXX: this needs testing, it's probably incomplete. 579;; FIXME: this needs testing, it's probably incomplete.
580(defun vc-bzr-after-dir-status (update-function) 580(defun vc-bzr-after-dir-status (update-function)
581 (let ((status-str nil) 581 (let ((status-str nil)
582 (translation '(("+N" . added) 582 (translation '(("+N " . added)
583 ("-D" . removed) 583 ("-D " . removed)
584 (" M" . edited) 584 (" M " . edited) ;; file text modified
585 ;; XXX: what about ignored files? 585 (" *" . edited) ;; execute bit changed
586 (" D" . missing) 586 (" M*" . edited) ;; text modified + execute bit changed
587 ;; FIXME: what about ignored files?
588 (" D " . missing)
587 ;; For conflicts, should we list the .THIS/.BASE/.OTHER? 589 ;; For conflicts, should we list the .THIS/.BASE/.OTHER?
588 ("C " . conflict) 590 ("C " . conflict)
589 ("? " . unregistered) 591 ("? " . unregistered)
590 ;; Ignore "P " and "P." for pending patches. 592 ;; Ignore "P " and "P." for pending patches.
591 )) 593 ))
592 (translated nil) 594 (translated nil)
@@ -594,7 +596,7 @@ stream. Standard error output is discarded."
594 (goto-char (point-min)) 596 (goto-char (point-min))
595 (while (not (eobp)) 597 (while (not (eobp))
596 (setq status-str 598 (setq status-str
597 (buffer-substring-no-properties (point) (+ (point) 2))) 599 (buffer-substring-no-properties (point) (+ (point) 3)))
598 (setq translated (cdr (assoc status-str translation))) 600 (setq translated (cdr (assoc status-str translation)))
599 ;; For conflicts the file appears twice in the listing: once 601 ;; For conflicts the file appears twice in the listing: once
600 ;; with the M flag and once with the C flag, so take care not 602 ;; with the M flag and once with the C flag, so take care not