their single-buffer counterparts (@pxref{Search}).
The VC Directory buffer additionally defines some branch-related
-commands starting with the prefix @kbd{B}:
+commands starting with the prefix @kbd{b}:
@table @kbd
-@item B c
-Create a new branch (@code{vc-create-tag}).
+@item b c
+Create a new branch (@code{vc-create-branch}). @xref{Creating
+Branches}.
-@item B l
+@item b l
Prompt for the name of a branch and display the change history of that
branch (@code{vc-print-branch-log}).
-@item B s
-Switch to a branch (@code{vc-retrieve-tag}). @xref{Switching
+@item b s
+Switch to a branch (@code{vc-switch-branch}). @xref{Switching
Branches}.
@item d
branch.
The VC command to switch to another branch in the current directory
-is @kbd{C-x v r @var{branch-name} @key{RET}} (@code{vc-retrieve-tag}).
+is @kbd{C-x v b s @var{branch-name} @key{RET}} (@code{vc-switch-branch}).
On centralized version control systems, you can also switch between
branches by typing @kbd{C-u C-x v v} in an up-to-date work file
and so on, depending on the number of existing branches at that point.
This procedure will not work for distributed version control systems
-like git or Mercurial. For those systems you should use the prefix
-argument to @code{vc-create-tag} (@kbd{C-u C-x v s}) instead.
+like git or Mercurial. For those systems you should use the command
+@code{vc-create-branch} (@kbd{C-x v b c}) instead.
To create a new branch at an older revision (one that is no longer
the head of a branch), first select that revision (@pxref{Switching
** VC
++++
*** 'C-x v b' prefix key is used now for branch commands.
'vc-print-branch-log' is bound to 'C-x v b l', and new commands are
'vc-create-branch' ('C-x v b c') and 'vc-switch-branch' ('C-x v b s').
+The VC Directory buffer now uses the prefix 'b' for these branch-related
+commands.
+++
*** New command '%' ('vc-dir-mark-by-regexp').
(let ((branch-map (make-sparse-keymap)))
(define-key map "b" branch-map)
- (define-key branch-map "c" #'vc-create-tag)
+ (define-key branch-map "c" #'vc-create-branch)
(define-key branch-map "l" #'vc-print-branch-log)
- (define-key branch-map "s" #'vc-retrieve-tag))
+ (define-key branch-map "s" #'vc-switch-branch))
(let ((mark-map (make-sparse-keymap)))
(define-key map "*" mark-map)