diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2011-02-13 20:49:24 -0500 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2011-02-13 20:49:24 -0500 |
commit | 33f6cf7b4c003932ae6fd86597351610b037fd29 (patch) | |
tree | d95c29aa00321589f2aa207d201e45a8db09ed53 /etc | |
parent | 6ce6c7420c5863a611975f029b48ae7570f3b6a2 (diff) | |
download | emacs-33f6cf7b4c003932ae6fd86597351610b037fd29.tar.gz |
Add Log View toggle and log format customization for Git and Hg.
* lisp/vc/vc-git.el (vc-git-root-log-format): New option for
customizing log format.
(vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
(vc-git-log-view-mode): Use it.
(vc-git-expanded-log-entry): New function.
(vc-git-log-view-mode): Use it. Truncate lines in root log.
* lisp/vc/vc-hg.el (vc-hg-root-log-template): New option for
customizing log format.
(vc-hg-print-log): Use it.
(vc-hg-expanded-log-entry): New function.
(vc-hg-log-view-mode): Use vc-hg-root-log-template and
vc-hg-expanded-log-entry. Truncate lines in root log.
* lisp/vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
* lisp/vc/log-view.el (log-view-mode-menu): Add
log-view-toggle-entry-display.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -606,14 +606,14 @@ The vc-merge command now runs a "merge" operation, if it is supported. This merges another branch into the current one. This command prompts the user for specifics, e.g. a merge source. -**** Currently supported by Bzr, Git, and Mercurial. +**** Currently supported for Bzr, Git, and Mercurial. *** Log entries in some Log View buffers can be toggled to display a longer description by typing RET (log-view-toggle-entry-display). In the Log View buffers made by `C-x v L' (vc-print-root-log), you can use this to display the full log entry for the revision at point. -**** Currently supported by Bzr. +**** Currently supported for Bzr, Git, and Mercurial. **** Packages using Log View mode can enable this functionality by binding `log-view-expanded-log-entry-function' to a suitable function. |