diff options
| author | Glenn Morris | 2012-02-08 22:25:18 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-02-08 22:25:18 -0800 |
| commit | dab3703d9b97bade872fed780b849b7848828eaf (patch) | |
| tree | e570183b461a28ff4b87cae9856d88f2626e859b | |
| parent | 65e6fb28e0861267461c39bae222e731c0840f8b (diff) | |
| download | emacs-dab3703d9b97bade872fed780b849b7848828eaf.tar.gz emacs-dab3703d9b97bade872fed780b849b7848828eaf.zip | |
Small VC doc fixes
* lisp/vc/log-view.el (log-view-toggle-entry-display):
* lisp/vc/vc.el (vc-merge, vc-pull): Doc fixes.
* etc/NEWS: Condense a few VC entries.
| -rw-r--r-- | etc/NEWS | 28 | ||||
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/vc/log-view.el | 2 | ||||
| -rw-r--r-- | lisp/vc/vc.el | 2 |
4 files changed, 19 insertions, 16 deletions
| @@ -859,21 +859,20 @@ controlling the degree of parallelism. | |||
| 859 | 859 | ||
| 860 | +++ | 860 | +++ |
| 861 | *** Support for pulling on distributed version control systems. | 861 | *** Support for pulling on distributed version control systems. |
| 862 | `C-x v +' (`vc-pull') runs a "pull" operation, if it is supported, to | 862 | `C-x v +' (`vc-pull') runs a "pull" operation, if it is supported |
| 863 | update the current branch and working tree. A prefix argument means | 863 | (currently with Bzr, Git, and Mercurial), to update the current branch |
| 864 | to prompt the user for specifics, e.g. a pull location. | 864 | and working tree. A prefix argument means to prompt the user for |
| 865 | specifics, e.g. a pull location. | ||
| 865 | 866 | ||
| 866 | **** `vc-update' is now an alias for `vc-pull'. | 867 | --- |
| 867 | 868 | *** `vc-update' is now an alias for `vc-pull'. | |
| 868 | **** Currently supported by Bzr, Git, and Mercurial. | ||
| 869 | 869 | ||
| 870 | +++ | 870 | +++ |
| 871 | *** Support for merging on distributed version control systems. | 871 | *** Support for merging on distributed version control systems. |
| 872 | The vc-merge command now runs a "merge" operation, if it is supported, | 872 | The vc-merge command now runs a "merge" operation, if it is supported |
| 873 | to merge changes from another branch into the current one. It prompts | 873 | (currently with Bzr, Git, and Mercurial), to merge changes from |
| 874 | for specifics, e.g. a merge source. | 874 | another branch into the current one. It prompts for specifics, e.g. a |
| 875 | 875 | merge source. | |
| 876 | **** Currently supported for Bzr, Git, and Mercurial. | ||
| 877 | 876 | ||
| 878 | +++ | 877 | +++ |
| 879 | *** New option `vc-revert-show-diff' controls whether `vc-revert' | 878 | *** New option `vc-revert-show-diff' controls whether `vc-revert' |
| @@ -882,14 +881,11 @@ shows a diff while querying the user. It defaults to t. | |||
| 882 | +++ | 881 | +++ |
| 883 | *** Log entries in some Log View buffers can be toggled to display a | 882 | *** Log entries in some Log View buffers can be toggled to display a |
| 884 | longer description by typing RET (log-view-toggle-entry-display). | 883 | longer description by typing RET (log-view-toggle-entry-display). |
| 884 | This is currently supported for Bzr, Git, and Mercurial (to support | ||
| 885 | another backend, define a `log-view-expanded-log-entry-function'). | ||
| 885 | In the Log View buffers made by `C-x v L' (vc-print-root-log), you can | 886 | In the Log View buffers made by `C-x v L' (vc-print-root-log), you can |
| 886 | use this to display the full log entry for the revision at point. | 887 | use this to display the full log entry for the revision at point. |
| 887 | 888 | ||
| 888 | **** Currently supported for Bzr, Git, and Mercurial. | ||
| 889 | |||
| 890 | **** Packages using Log View mode can enable this functionality by | ||
| 891 | binding `log-view-expanded-log-entry-function' to a suitable function. | ||
| 892 | |||
| 893 | +++ | 889 | +++ |
| 894 | *** New command `vc-ediff' allows visual comparison of two revisions | 890 | *** New command `vc-ediff' allows visual comparison of two revisions |
| 895 | of a file similar to `vc-diff', but using ediff backend. | 891 | of a file similar to `vc-diff', but using ediff backend. |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9ee16e10162..c1c7f74bf75 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2012-02-09 Glenn Morris <rgm@gnu.org> | 1 | 2012-02-09 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * vc/log-view.el (log-view-toggle-entry-display): | ||
| 4 | * vc/vc.el (vc-merge, vc-pull): Doc fixes. | ||
| 5 | |||
| 3 | * mail/emacsbug.el (report-emacs-bug-can-use-osx-open) | 6 | * mail/emacsbug.el (report-emacs-bug-can-use-osx-open) |
| 4 | (report-emacs-bug-can-use-xdg-email): | 7 | (report-emacs-bug-can-use-xdg-email): |
| 5 | (report-emacs-bug-insert-to-mailer): Doc fixes. | 8 | (report-emacs-bug-insert-to-mailer): Doc fixes. |
diff --git a/lisp/vc/log-view.el b/lisp/vc/log-view.el index 849954f2cf8..7512c9283eb 100644 --- a/lisp/vc/log-view.el +++ b/lisp/vc/log-view.el | |||
| @@ -376,6 +376,8 @@ log entries." | |||
| 376 | marked-list))) | 376 | marked-list))) |
| 377 | 377 | ||
| 378 | (defun log-view-toggle-entry-display () | 378 | (defun log-view-toggle-entry-display () |
| 379 | "If possible, expand the current Log View entry. | ||
| 380 | This calls `log-view-expanded-log-entry-function' to do the work." | ||
| 379 | (interactive) | 381 | (interactive) |
| 380 | ;; Don't do anything unless `log-view-expanded-log-entry-function' | 382 | ;; Don't do anything unless `log-view-expanded-log-entry-function' |
| 381 | ;; is defined in this mode. | 383 | ;; is defined in this mode. |
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index 19da4102872..e1141cb392d 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el | |||
| @@ -1889,6 +1889,7 @@ The headers are reset to their non-expanded form." | |||
| 1889 | ;;;###autoload | 1889 | ;;;###autoload |
| 1890 | (defun vc-merge () | 1890 | (defun vc-merge () |
| 1891 | "Perform a version control merge operation. | 1891 | "Perform a version control merge operation. |
| 1892 | You must be visiting a version controlled file, or in a `vc-dir' buffer. | ||
| 1892 | On a distributed version control system, this runs a \"merge\" | 1893 | On a distributed version control system, this runs a \"merge\" |
| 1893 | operation to incorporate changes from another branch onto the | 1894 | operation to incorporate changes from another branch onto the |
| 1894 | current branch, prompting for an argument list. | 1895 | current branch, prompting for an argument list. |
| @@ -2366,6 +2367,7 @@ depending on the underlying version-control system." | |||
| 2366 | ;;;###autoload | 2367 | ;;;###autoload |
| 2367 | (defun vc-pull (&optional arg) | 2368 | (defun vc-pull (&optional arg) |
| 2368 | "Update the current fileset or branch. | 2369 | "Update the current fileset or branch. |
| 2370 | You must be visiting a version controlled file, or in a `vc-dir' buffer. | ||
| 2369 | On a distributed version control system, this runs a \"pull\" | 2371 | On a distributed version control system, this runs a \"pull\" |
| 2370 | operation to update the current branch, prompting for an argument | 2372 | operation to update the current branch, prompting for an argument |
| 2371 | list if required. Optional prefix ARG forces a prompt. | 2373 | list if required. Optional prefix ARG forces a prompt. |