From 14b54cea1756f4d66c7376c55cf4aa88e8c3c0c3 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Fri, 12 Mar 2021 11:34:38 +0100 Subject: [PATCH] Document how to create a branch for Git/Mercurial * doc/emacs/maintaining.texi (Creating Branches): Add instructions for git/Mercurial. --- doc/emacs/maintaining.texi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index bc276c49046..27504188717 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi @@ -1611,6 +1611,10 @@ branch ID for a branch starting at the current revision. For example, if the current revision is 2.5, the branch ID should be 2.5.1, 2.5.2, 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. + 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 Branches}). Your procedure will then differ depending on whether you -- 2.39.5