1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 21:20:45 -08:00
emacs/lisp/vc
Sean Whitton d3c4679acd 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.
2025-10-05 15:27:07 +01:00
..
add-log.el
compare-w.el
cvs-status.el
diff-mode.el VC: New commands for cherry-picking (bug#79408) 2025-10-04 18:18:48 +01:00
diff.el
ediff-diff.el
ediff-help.el
ediff-hook.el
ediff-init.el
ediff-merg.el
ediff-mult.el
ediff-ptch.el
ediff-util.el
ediff-vers.el VC: Use symbolic names for the working revision 2025-10-05 15:27:07 +01:00
ediff-wind.el
ediff.el
emerge.el
log-edit.el ; log-edit.el: Insert missing required cl-lib. 2025-09-12 15:41:38 +01:00
log-view.el VC: New commands for cherry-picking (bug#79408) 2025-10-04 18:18:48 +01:00
pcvs-defs.el
pcvs-info.el
pcvs-parse.el
pcvs-util.el
pcvs.el lisp/vc: Try and avoid quoting lambdas 2025-07-19 14:42:28 -04:00
smerge-mode.el
vc-annotate.el vc-annotate-warp-revision: Fix going through renames 2025-08-05 04:07:40 +03:00
vc-bzr.el Rename arg REMOTE-LOCATION -> UPSTREAM-LOCATION 2025-09-01 09:41:40 +01:00
vc-cvs.el ; * lisp/vc/vc-cvs.el (vc-cvs-file-to-string): Simplify slightly. 2025-07-21 11:04:34 +01:00
vc-dir.el vc-dir-mark-unmark: When region active, don't do any y/n prompting 2025-09-05 15:22:31 +01:00
vc-dispatcher.el VC: New commands for cherry-picking (bug#79408) 2025-10-04 18:18:48 +01:00
vc-filewise.el
vc-git.el VC: Use symbolic names for the working revision 2025-10-05 15:27:07 +01:00
vc-hg.el VC: Use symbolic names for the working revision 2025-10-05 15:27:07 +01:00
vc-hooks.el VC: Use symbolic names for the working revision 2025-10-05 15:27:07 +01:00
vc-rcs.el
vc-sccs.el
vc-src.el
vc-svn.el
vc.el VC: Use symbolic names for the working revision 2025-10-05 15:27:07 +01:00