diff options
| author | Eric S. Raymond | 2008-05-02 06:56:59 +0000 |
|---|---|---|
| committer | Eric S. Raymond | 2008-05-02 06:56:59 +0000 |
| commit | 0a29940833c0e8ef917be460430558ddeda03058 (patch) | |
| tree | dee63ef55243d78f3f3f2a82ec508295f08805c5 | |
| parent | 3c73c30e89cd74984fd6f6256ae803d3a157e44c (diff) | |
| download | emacs-0a29940833c0e8ef917be460430558ddeda03058.tar.gz emacs-0a29940833c0e8ef917be460430558ddeda03058.zip | |
Name change in preparation for ripping out vc-dired.
| -rw-r--r-- | lisp/ChangeLog | 11 | ||||
| -rw-r--r-- | lisp/vc-bzr.el | 6 | ||||
| -rw-r--r-- | lisp/vc-git.el | 2 | ||||
| -rw-r--r-- | lisp/vc-hg.el | 2 | ||||
| -rw-r--r-- | lisp/vc.el | 11 |
5 files changed, 21 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1611fec08b1..12d862bcc47 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com> | ||
| 2 | |||
| 3 | * vc.el (vc-default-dired-state-info): Change name of primitive | ||
| 4 | to prettify-state-info, in preparation for ripping out dired mode. | ||
| 5 | * vc-bzr.el (vc-bzr-dired-state-info): Change name of primitive | ||
| 6 | to prettify-state-info, in preparation for ripping out dired mode. | ||
| 7 | |||
| 1 | 2008-05-02 Dan Nicolaescu <dann@ics.uci.edu> | 8 | 2008-05-02 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 9 | ||
| 3 | * vc-rcs.el (vc-rcs-state): Fix typos. | 10 | * vc-rcs.el (vc-rcs-state): Fix typos. |
| @@ -33,14 +40,14 @@ | |||
| 33 | * vc.el (vc-default-dired-state): Change needs-patch state to | 40 | * vc.el (vc-default-dired-state): Change needs-patch state to |
| 34 | needs-update, since the name now shows up in dir-status listings | 41 | needs-update, since the name now shows up in dir-status listings |
| 35 | and was somewhat misleading. | 42 | and was somewhat misleading. |
| 36 | * vc-cvs.el (vc-cvs-delete-file) Don't do a "cvs commit" | 43 | * vc-cvs.el (vc-cvs-delete-file): Don't do a "cvs commit" |
| 37 | immediately after removing the file. | 44 | immediately after removing the file. |
| 38 | * vc.el (vc-next-action): More informative messages when a fileset | 45 | * vc.el (vc-next-action): More informative messages when a fileset |
| 39 | is in a mixed state or files are missing. | 46 | is in a mixed state or files are missing. |
| 40 | 47 | ||
| 41 | 2008-05-01 Sam Steingold <sds@gnu.org> | 48 | 2008-05-01 Sam Steingold <sds@gnu.org> |
| 42 | 49 | ||
| 43 | * vc.el (vc-delete-file): Check if the file has uncommitted changed. | 50 | * vc.el (vc-delete-file): Check if the file has uncommitted changes. |
| 44 | 51 | ||
| 45 | 2008-05-01 Stefan Monnier <monnier@iro.umontreal.ca> | 52 | 2008-05-01 Stefan Monnier <monnier@iro.umontreal.ca> |
| 46 | 53 | ||
diff --git a/lisp/vc-bzr.el b/lisp/vc-bzr.el index 65e8212c34f..15529e20f0c 100644 --- a/lisp/vc-bzr.el +++ b/lisp/vc-bzr.el | |||
| @@ -647,13 +647,13 @@ Optional argument LOCALP is always ignored." | |||
| 647 | (setq current-vc-state nil) | 647 | (setq current-vc-state nil) |
| 648 | (setq current-bzr-state nil))))))) | 648 | (setq current-bzr-state nil))))))) |
| 649 | 649 | ||
| 650 | (defun vc-bzr-dired-state-info (file) | 650 | (defun vc-bzr-prettify-state-info (file) |
| 651 | "Bzr-specific version of `vc-dired-state-info'." | 651 | "Bzr-specific version of `vc-prettify-state-info'." |
| 652 | (if (eq 'edited (vc-state file)) | 652 | (if (eq 'edited (vc-state file)) |
| 653 | (concat "(" (symbol-name (or (vc-file-getprop file 'vc-bzr-state) | 653 | (concat "(" (symbol-name (or (vc-file-getprop file 'vc-bzr-state) |
| 654 | 'edited)) ")") | 654 | 'edited)) ")") |
| 655 | ;; else fall back to default vc.el representation | 655 | ;; else fall back to default vc.el representation |
| 656 | (vc-default-dired-state-info 'Bzr file))) | 656 | (vc-default-prettify-state-info 'Bzr file))) |
| 657 | 657 | ||
| 658 | ;; XXX: this needs testing, it's probably incomplete. | 658 | ;; XXX: this needs testing, it's probably incomplete. |
| 659 | (defun vc-bzr-after-dir-status (update-function) | 659 | (defun vc-bzr-after-dir-status (update-function) |
diff --git a/lisp/vc-git.el b/lisp/vc-git.el index 0c718cb8677..9c8ebfc9993 100644 --- a/lisp/vc-git.el +++ b/lisp/vc-git.el | |||
| @@ -58,7 +58,7 @@ | |||
| 58 | ;; * checkout-model (file) OK | 58 | ;; * checkout-model (file) OK |
| 59 | ;; - workfile-unchanged-p (file) OK | 59 | ;; - workfile-unchanged-p (file) OK |
| 60 | ;; - mode-line-string (file) OK | 60 | ;; - mode-line-string (file) OK |
| 61 | ;; - dired-state-info (file) OK | 61 | ;; - prettify-state-info (file) OK |
| 62 | ;; STATE-CHANGING FUNCTIONS | 62 | ;; STATE-CHANGING FUNCTIONS |
| 63 | ;; * create-repo () OK | 63 | ;; * create-repo () OK |
| 64 | ;; * register (files &optional rev comment) OK | 64 | ;; * register (files &optional rev comment) OK |
diff --git a/lisp/vc-hg.el b/lisp/vc-hg.el index 44ffa95a92f..59aba1cc2a7 100644 --- a/lisp/vc-hg.el +++ b/lisp/vc-hg.el | |||
| @@ -50,7 +50,7 @@ | |||
| 50 | ;; * checkout-model (file) OK | 50 | ;; * checkout-model (file) OK |
| 51 | ;; - workfile-unchanged-p (file) OK | 51 | ;; - workfile-unchanged-p (file) OK |
| 52 | ;; - mode-line-string (file) NOT NEEDED | 52 | ;; - mode-line-string (file) NOT NEEDED |
| 53 | ;; - dired-state-info (file) OK | 53 | ;; - prettify-state-info (file) OK |
| 54 | ;; STATE-CHANGING FUNCTIONS | 54 | ;; STATE-CHANGING FUNCTIONS |
| 55 | ;; * register (files &optional rev comment) OK | 55 | ;; * register (files &optional rev comment) OK |
| 56 | ;; * create-repo () OK | 56 | ;; * create-repo () OK |
diff --git a/lisp/vc.el b/lisp/vc.el index a56b281122b..ae575985f1a 100644 --- a/lisp/vc.el +++ b/lisp/vc.el | |||
| @@ -254,10 +254,10 @@ | |||
| 254 | ;; The default implementation deals well with all states that | 254 | ;; The default implementation deals well with all states that |
| 255 | ;; `vc-state' can return. | 255 | ;; `vc-state' can return. |
| 256 | ;; | 256 | ;; |
| 257 | ;; - dired-state-info (file) | 257 | ;; - prettify-state-info (file) |
| 258 | ;; | 258 | ;; |
| 259 | ;; Translate the `vc-state' property of FILE into a string that can be | 259 | ;; Translate the `vc-state' property of FILE into a string that can be |
| 260 | ;; used in a vc-dired buffer. The default implementation deals well | 260 | ;; used in a human-readable buffer. The default implementation deals well |
| 261 | ;; with all states that `vc-state' can return. | 261 | ;; with all states that `vc-state' can return. |
| 262 | ;; | 262 | ;; |
| 263 | ;; STATE-CHANGING FUNCTIONS | 263 | ;; STATE-CHANGING FUNCTIONS |
| @@ -674,6 +674,9 @@ | |||
| 674 | ;; - backends that care about vc-stay-local should try to take it into | 674 | ;; - backends that care about vc-stay-local should try to take it into |
| 675 | ;; account for vc-dir. Is this likely to be useful??? | 675 | ;; account for vc-dir. Is this likely to be useful??? |
| 676 | ;; | 676 | ;; |
| 677 | ;; - vc-dir listing needs a footer generated when it's done to make it obvious | ||
| 678 | ;; that it has finished. | ||
| 679 | ;; | ||
| 677 | ;;; Code: | 680 | ;;; Code: |
| 678 | 681 | ||
| 679 | (require 'vc-hooks) | 682 | (require 'vc-hooks) |
| @@ -2678,7 +2681,7 @@ Called by dired after any portion of a vc-dired buffer has been read in." | |||
| 2678 | (forward-line 1))) | 2681 | (forward-line 1))) |
| 2679 | ;; Either we're in non-terse mode or it's out of date | 2682 | ;; Either we're in non-terse mode or it's out of date |
| 2680 | ((not (and vc-dired-terse-mode (vc-up-to-date-p filename))) | 2683 | ((not (and vc-dired-terse-mode (vc-up-to-date-p filename))) |
| 2681 | (vc-dired-reformat-line (vc-call dired-state-info filename)) | 2684 | (vc-dired-reformat-line (vc-call prettify-state-info filename)) |
| 2682 | (forward-line 1)) | 2685 | (forward-line 1)) |
| 2683 | ;; Remaining cases are under version control but uninteresting | 2686 | ;; Remaining cases are under version control but uninteresting |
| 2684 | (t | 2687 | (t |
| @@ -4256,7 +4259,7 @@ to provide the `find-revision' operation instead." | |||
| 4256 | (insert-file-contents-literally tmpfile))) | 4259 | (insert-file-contents-literally tmpfile))) |
| 4257 | (delete-file tmpfile)))) | 4260 | (delete-file tmpfile)))) |
| 4258 | 4261 | ||
| 4259 | (defun vc-default-dired-state-info (backend file) | 4262 | (defun vc-default-prettify-state-info (backend file) |
| 4260 | (let* ((state (vc-state file)) | 4263 | (let* ((state (vc-state file)) |
| 4261 | (statestring | 4264 | (statestring |
| 4262 | (cond | 4265 | (cond |