diff options
| author | Sean Whitton | 2025-12-29 15:15:32 +0000 |
|---|---|---|
| committer | Sean Whitton | 2025-12-29 15:16:15 +0000 |
| commit | d79d748deef694bc5e03c5ace683d04401592f28 (patch) | |
| tree | 98da62fe651d57cf39127aee77958f49320b5b89 | |
| parent | 35912a8c6412227ff01ecb59a6f06e89a40144f2 (diff) | |
| download | emacs-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.texi | 18 | ||||
| -rw-r--r-- | etc/NEWS | 2 | ||||
| -rw-r--r-- | lisp/vc/vc-hooks.el | 4 |
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 = |
| 302 | Display diffs of changes to the VC fileset since the merge base of this | 302 | Display diffs of changes to the VC fileset since the merge base of this |
| 303 | branch and its upstream counterpart (@code{vc-diff-outgoing-base}). | 303 | branch 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 |
| 306 | Display all changes since the merge base of this branch and its upstream | 306 | Display all changes since the merge base of this branch and its upstream |
| 307 | counterpart (@code{vc-root-diff-outgoing-base}). | 307 | counterpart (@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 | |||
| 321 | cases the reason these changes are not pushed yet is that they are not | 321 | cases the reason these changes are not pushed yet is that they are not |
| 322 | finished: the changes committed so far don't make sense in isolation. | 322 | finished: 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 |
| 328 | Type @kbd{C-x v B D} (@code{vc-root-diff-outgoing-base}) to display a | 328 | Type @kbd{C-x v o D} (@code{vc-root-diff-outgoing-base}) to display a |
| 329 | summary of all these changes, committed and uncommitted. This summary | 329 | summary of all these changes, committed and uncommitted. This summary |
| 330 | is in the form of a diff of what committing and pushing (@pxref{Pulling | 330 | is 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 |
| 332 | can use @kbd{C-x v B =} (@code{vc-diff-outgoing-base}) instead to limit | 332 | can use @kbd{C-x v o =} (@code{vc-diff-outgoing-base}) instead to limit |
| 333 | the display of changes to the current VC fileset. (The difference | 333 | the display of changes to the current VC fileset. (The difference |
| 334 | between @w{@kbd{C-x v B D}} and @w{@kbd{C-x v B =}} is like the | 334 | between @w{@kbd{C-x v o D}} and @w{@kbd{C-x v o =}} is like the |
| 335 | difference between @kbd{C-x v D} and @kbd{C-x v =} (@pxref{Old | 335 | difference between @kbd{C-x v D} and @kbd{C-x v =} (@pxref{Old |
| 336 | Revisions}).)@footnote{Another point of comparison is that these | 336 | Revisions}).)@footnote{Another point of comparison is that these |
| 337 | commands are like @w{@kbd{C-x v O =}} (@code{vc-fileset-diff-outgoing}) | 337 | commands 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 | |||
| 369 | push finished work. | 369 | push finished work. |
| 370 | 370 | ||
| 371 | To display a summary of outgoing changes in this multi-branch example, | 371 | To display a summary of outgoing changes in this multi-branch example, |
| 372 | supply a prefix argument, by typing @w{@kbd{C-u C-x v B =}} or | 372 | supply 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. |
| 374 | Exactly what you must supply here depends on the name of your | 374 | Exactly what you must supply here depends on the name of your |
| 375 | development trunk and the version control system in use. For example, | 375 | development trunk and the version control system in use. For example, |
| 376 | with Git, usually you will enter @kbd{origin/master}. We hope to | 376 | with Git, usually you will enter @kbd{origin/master}. We hope to |
| @@ -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 |
| 2626 | base with the remote branch, including uncommitted changes. | 2626 | base with the remote branch, including uncommitted changes. |
| 2627 | They are useful to view all outstanding (unmerged, unpushed) changes on | 2627 | They 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 |