Mercurial > emacs
comparison lisp/vc-bzr.el @ 94522:a69dcc2c42ae
Remove some XXX comments no longer needed.
author | Eric S. Raymond <esr@snark.thyrsus.com> |
---|---|
date | Thu, 01 May 2008 19:28:56 +0000 |
parents | 2a61c5f918a5 |
children | fee32a11924d |
comparison
equal
deleted
inserted
replaced
94521:2a61c5f918a5 | 94522:a69dcc2c42ae |
---|---|
591 (line-beginning-position) (line-end-position)) | 591 (line-beginning-position) (line-end-position)) |
592 bzr-root-directory))) | 592 bzr-root-directory))) |
593 ;; files are up-to-date unless they appear in the `bzr | 593 ;; files are up-to-date unless they appear in the `bzr |
594 ;; status' output below | 594 ;; status' output below |
595 (vc-file-setprop file 'vc-state 'up-to-date) | 595 (vc-file-setprop file 'vc-state 'up-to-date) |
596 ;; XXX: is this correct? what happens if one | 596 ;; Anyway, we're looking at the output of `bzr ls |
597 ;; mixes different SCMs in the same dir? | 597 ;; --versioned', so we know these files are registered with |
598 ;; Anyway, we're looking at the output of `bzr ls --versioned', | 598 ;; Bzr. |
599 ;; so we know these files are registered with Bzr. | |
600 (vc-file-setprop file 'vc-backend 'Bzr)))) | 599 (vc-file-setprop file 'vc-backend 'Bzr)))) |
601 ;; `bzr status' reports on added/modified/renamed and unknown/ignored files | 600 ;; `bzr status' reports on added/modified/renamed and unknown/ignored files |
602 (setq at-start t) | 601 (setq at-start t) |
603 (with-temp-buffer | 602 (with-temp-buffer |
604 (vc-bzr-command "status" t 0 nil) | 603 (vc-bzr-command "status" t 0 nil) |
692 (line-end-position)) | 691 (line-end-position)) |
693 translated) result)) | 692 translated) result)) |
694 (forward-line)) | 693 (forward-line)) |
695 (funcall update-function result))) | 694 (funcall update-function result))) |
696 | 695 |
697 ;; XXX Experimental function for the vc-dired replacement. | |
698 ;; XXX This probably needs some further refinement and testing. | |
699 (defun vc-bzr-dir-status (dir update-function) | 696 (defun vc-bzr-dir-status (dir update-function) |
700 "Return a list of conses (file . state) for DIR." | 697 "Return a list of conses (file . state) for DIR." |
701 ;; XXX: Is this the right command to use? | |
702 (vc-bzr-command "status" (current-buffer) 'async dir "-v" "-S") | 698 (vc-bzr-command "status" (current-buffer) 'async dir "-v" "-S") |
703 (vc-exec-after | 699 (vc-exec-after |
704 `(vc-bzr-after-dir-status (quote ,update-function)))) | 700 `(vc-bzr-after-dir-status (quote ,update-function)))) |
705 | 701 |
706 ;;; Revision completion | 702 ;;; Revision completion |