aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTom Tromey2017-02-15 05:19:50 -0700
committerTom Tromey2017-02-25 10:46:13 -0700
commit9e9d381ff0c83283278f43a65d3ecefd0cde8041 (patch)
treec3738014788c19eb95c7948afe5a9bc3410041f7 /doc
parent54319e7a2418690508f29cd6833c9fd9ecbc2fa3 (diff)
downloademacs-9e9d381ff0c83283278f43a65d3ecefd0cde8041.tar.gz
emacs-9e9d381ff0c83283278f43a65d3ecefd0cde8041.zip
Add more branch support to vc-dir
Bug#25859: * lisp/vc/vc-dir.el (vc-dir-mode-map) Add "B" bindings. * lisp/vc/vc.el (vc-revision-history): New defvar. (vc-read-revision): Use vc-revision-history. (vc-print-branch-log): New function. * doc/emacs/maintaining.texi (VC Directory Commands): Document new bindings. * etc/NEWS: Mention new vc-dir bindings.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/maintaining.texi17
1 files changed, 16 insertions, 1 deletions
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index faaa96072c7..80a4467f639 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -1301,7 +1301,7 @@ up a multi-file VC fileset to be acted on by VC commands like
1301 1301
1302 The VC Directory buffer also defines some single-key shortcuts for 1302 The VC Directory buffer also defines some single-key shortcuts for
1303VC commands with the @kbd{C-x v} prefix: @kbd{=}, @kbd{+}, @kbd{l}, 1303VC commands with the @kbd{C-x v} prefix: @kbd{=}, @kbd{+}, @kbd{l},
1304@kbd{i}, @kbd{D}, @kbd{L}, @kbd{G}, @kbd{I} and @kbd{v}. 1304@kbd{i}, @kbd{D}, @kbd{L}, @kbd{G}, @kbd{I}, @kbd{O}, and @kbd{v}.
1305 1305
1306 For example, you can commit a set of edited files by opening a VC 1306 For example, you can commit a set of edited files by opening a VC
1307Directory buffer, where the files are listed with the @samp{edited} 1307Directory buffer, where the files are listed with the @samp{edited}
@@ -1332,6 +1332,21 @@ Do an incremental regular expression search on the fileset
1332Apart from acting on multiple files, these commands behave much like 1332Apart from acting on multiple files, these commands behave much like
1333their single-buffer counterparts (@pxref{Search}). 1333their single-buffer counterparts (@pxref{Search}).
1334 1334
1335 The VC Directory buffer additionally defines some branch-related
1336commands starting with the prefix @kbd{B}:
1337
1338@table @kbd
1339@item B c
1340Create a new branch (@code{vc-create-tag}).
1341
1342@item B l
1343Prompt for the name of a branch and display the change history of that
1344branch (@code{vc-print-branch-log}).
1345
1346@item B s
1347Switch to a branch (@code{vc-retrieve-tag}). @xref{Switching Branches}.
1348@end table
1349
1335@cindex stashes in version control 1350@cindex stashes in version control
1336@cindex shelves in version control 1351@cindex shelves in version control
1337 The above commands are also available via the menu bar, and via a 1352 The above commands are also available via the menu bar, and via a