aboutsummaryrefslogtreecommitdiffstats
path: root/java/debug.sh
diff options
context:
space:
mode:
authorSean Whitton2025-09-09 15:01:47 +0100
committerSean Whitton2025-10-05 15:27:07 +0100
commitd3c4679acd68fc2ecb9d42b8417a8399346b0259 (patch)
treee548f5d908a2525106498eeab3b7d1d021a359b3 /java/debug.sh
parent9ccef794a8ed55a8f96e68c0dd1e53cb07e85baa (diff)
downloademacs-d3c4679acd68fc2ecb9d42b8417a8399346b0259.tar.gz
emacs-d3c4679acd68fc2ecb9d42b8417a8399346b0259.zip
VC: Use symbolic names for the working revision
* lisp/vc/vc-hg.el (vc-hg-diff): When OLDVERS is ".", behave the same as if OLDVERS was the actual working revision. (vc-hg-previous-revision): Return ".~1" for input ".", ".~3" for input ".^^" et cetera. Also, when passed non-symbolic revisions, use "REV~1" instead of "REV^" for MS-Windows compatibility. (vc-hg-working-revision-symbol): * lisp/vc/vc-git.el (vc-git-working-revision-symbol): * lisp/vc/vc-hooks.el (vc-symbolic-working-revision): New functions. (vc-default-mode-line-string): * lisp/vc/ediff-vers.el (ediff-vc-merge-internal): * test/lisp/vc/vc-tests/vc-tests.el (vc-test--checkin-patch): * lisp/vc/vc.el (vc-diff-build-argument-list-internal) (vc-diff-outgoing, vc-revision-other-window, vc-default-revert): Call vc-symbolic-working-revision. (vc-buffer-revision): Specify that this should always be a revision number/hash, not a symbolic name. * lisp/vc/vc-git.el (vc-git-previous-revision): Return "HEAD~1" for input "HEAD", "HEAD~3" for input "HEAD^^" et cetera.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions