1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 18:41:25 -08:00
emacs/test/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
..
diff-mode-resources ; Fix failing diff-mode tests 2025-04-19 10:39:05 +02:00
vc-tests VC: Use symbolic names for the working revision 2025-10-05 15:27:07 +01:00
add-log-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
diff-mode-tests.el ; Fix failing diff-mode tests 2025-04-19 10:39:05 +02:00
ediff-diff-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ediff-mult-tests.el Guard against user saving ediff-meta-diff-buffer 2025-03-09 08:10:17 -03:00
ediff-ptch-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
emerge-tests.el Fix emerge.el for remote files 2025-04-20 18:16:14 +02:00
log-edit-tests.el ; Fix byte-compiler warning 2025-03-09 18:29:01 +01:00
smerge-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
vc-bzr-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
vc-cvs-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
vc-git-tests.el ; Fix VC tests 2025-05-09 14:43:03 +03:00
vc-hg-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00