aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Whitton2025-12-29 15:15:32 +0000
committerSean Whitton2025-12-29 15:16:15 +0000
commitd79d748deef694bc5e03c5ace683d04401592f28 (patch)
tree98da62fe651d57cf39127aee77958f49320b5b89
parent35912a8c6412227ff01ecb59a6f06e89a40144f2 (diff)
downloademacs-d79d748deef694bc5e03c5ace683d04401592f28.tar.gz
emacs-d79d748deef694bc5e03c5ace683d04401592f28.zip
* lisp/vc/vc-hooks.el (vc-prefix-map): Move 'B' to 'o' (bug#80037).
-rw-r--r--doc/emacs/vc1-xtra.texi18
-rw-r--r--etc/NEWS2
-rw-r--r--lisp/vc/vc-hooks.el4
3 files changed, 12 insertions, 12 deletions
diff --git a/doc/emacs/vc1-xtra.texi b/doc/emacs/vc1-xtra.texi
index 49187afc971..45635b358d3 100644
--- a/doc/emacs/vc1-xtra.texi
+++ b/doc/emacs/vc1-xtra.texi
@@ -298,11 +298,11 @@ yet merged into the target branch.
298@cindex outstanding changes 298@cindex outstanding changes
299 299
300@table @kbd 300@table @kbd
301@item C-x v B = 301@item C-x v o =
302Display diffs of changes to the VC fileset since the merge base of this 302Display diffs of changes to the VC fileset since the merge base of this
303branch and its upstream counterpart (@code{vc-diff-outgoing-base}). 303branch and its upstream counterpart (@code{vc-diff-outgoing-base}).
304 304
305@item C-x v B D 305@item C-x v o D
306Display all changes since the merge base of this branch and its upstream 306Display all changes since the merge base of this branch and its upstream
307counterpart (@code{vc-root-diff-outgoing-base}). 307counterpart (@code{vc-root-diff-outgoing-base}).
308@end table 308@end table
@@ -321,17 +321,17 @@ unpushed commits and uncommitted changes in your working tree. In many
321cases the reason these changes are not pushed yet is that they are not 321cases the reason these changes are not pushed yet is that they are not
322finished: the changes committed so far don't make sense in isolation. 322finished: the changes committed so far don't make sense in isolation.
323 323
324@kindex C-x v B = 324@kindex C-x v o =
325@findex vc-diff-outgoing-base 325@findex vc-diff-outgoing-base
326@kindex C-x v B D 326@kindex C-x v o D
327@findex vc-root-diff-outgoing-base 327@findex vc-root-diff-outgoing-base
328Type @kbd{C-x v B D} (@code{vc-root-diff-outgoing-base}) to display a 328Type @kbd{C-x v o D} (@code{vc-root-diff-outgoing-base}) to display a
329summary of all these changes, committed and uncommitted. This summary 329summary of all these changes, committed and uncommitted. This summary
330is in the form of a diff of what committing and pushing (@pxref{Pulling 330is in the form of a diff of what committing and pushing (@pxref{Pulling
331/ Pushing}) all these changes would do to the upstream repository. You 331/ Pushing}) all these changes would do to the upstream repository. You
332can use @kbd{C-x v B =} (@code{vc-diff-outgoing-base}) instead to limit 332can use @kbd{C-x v o =} (@code{vc-diff-outgoing-base}) instead to limit
333the display of changes to the current VC fileset. (The difference 333the display of changes to the current VC fileset. (The difference
334between @w{@kbd{C-x v B D}} and @w{@kbd{C-x v B =}} is like the 334between @w{@kbd{C-x v o D}} and @w{@kbd{C-x v o =}} is like the
335difference between @kbd{C-x v D} and @kbd{C-x v =} (@pxref{Old 335difference between @kbd{C-x v D} and @kbd{C-x v =} (@pxref{Old
336Revisions}).)@footnote{Another point of comparison is that these 336Revisions}).)@footnote{Another point of comparison is that these
337commands are like @w{@kbd{C-x v O =}} (@code{vc-fileset-diff-outgoing}) 337commands are like @w{@kbd{C-x v O =}} (@code{vc-fileset-diff-outgoing})
@@ -369,8 +369,8 @@ the upstream version of the trunk, to which you and your collaborators
369push finished work. 369push finished work.
370 370
371To display a summary of outgoing changes in this multi-branch example, 371To display a summary of outgoing changes in this multi-branch example,
372supply a prefix argument, by typing @w{@kbd{C-u C-x v B =}} or 372supply a prefix argument, by typing @w{@kbd{C-u C-x v o =}} or
373@w{@kbd{C-u C-x v B D}}. When prompted, enter the outgoing base. 373@w{@kbd{C-u C-x v o D}}. When prompted, enter the outgoing base.
374Exactly what you must supply here depends on the name of your 374Exactly what you must supply here depends on the name of your
375development trunk and the version control system in use. For example, 375development trunk and the version control system in use. For example,
376with Git, usually you will enter @kbd{origin/master}. We hope to 376with Git, usually you will enter @kbd{origin/master}. We hope to
diff --git a/etc/NEWS b/etc/NEWS
index 0743d56a20b..8dd3bdbca2e 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2621,7 +2621,7 @@ current VC fileset.
2621 2621
2622+++ 2622+++
2623*** New commands to report diffs of outstanding changes. 2623*** New commands to report diffs of outstanding changes.
2624'C-x v B =' ('vc-diff-outgoing-base') and 'C-x v B D' 2624'C-x v o =' ('vc-diff-outgoing-base') and 'C-x v o D'
2625('vc-root-diff-outgoing-base') report diffs of changes since the merge 2625('vc-root-diff-outgoing-base') report diffs of changes since the merge
2626base with the remote branch, including uncommitted changes. 2626base with the remote branch, including uncommitted changes.
2627They are useful to view all outstanding (unmerged, unpushed) changes on 2627They are useful to view all outstanding (unmerged, unpushed) changes on
diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el
index 7ae4c67f90a..b8502b31a96 100644
--- a/lisp/vc/vc-hooks.el
+++ b/lisp/vc/vc-hooks.el
@@ -1018,8 +1018,8 @@ In the latter case, VC mode is deactivated for this buffer."
1018 "O" #'vc-log-outgoing 1018 "O" #'vc-log-outgoing
1019 "M L" #'vc-log-mergebase 1019 "M L" #'vc-log-mergebase
1020 "M D" #'vc-diff-mergebase 1020 "M D" #'vc-diff-mergebase
1021 "B =" #'vc-diff-outgoing-base 1021 "o =" #'vc-diff-outgoing-base
1022 "B D" #'vc-root-diff-outgoing-base 1022 "o D" #'vc-root-diff-outgoing-base
1023 "m" #'vc-merge 1023 "m" #'vc-merge
1024 "r" #'vc-retrieve-tag 1024 "r" #'vc-retrieve-tag
1025 "s" #'vc-create-tag 1025 "s" #'vc-create-tag