]> git.eshelyaron.com Git - emacs.git/commit
Fix minor bugs in vc-git and vc-hg on Windows uncovered by vc-tests
authorEli Zaretskii <eliz@gnu.org>
Fri, 1 Sep 2023 13:08:36 +0000 (16:08 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 1 Sep 2023 13:08:36 +0000 (16:08 +0300)
commita219ee8c314506d4105d9767fe7332d3fd8525a5
treed2809c13863e7dbcdccf996a4f6b1b4b7a871d67
parent3f7598806eb923c907dd2d30e8ef1dea12e672ac
Fix minor bugs in vc-git and vc-hg on Windows uncovered by vc-tests

* lisp/vc/vc-hg.el (vc-hg-state-slow): Non-existing files emit a
different message on MS-Windows; support that.
* lisp/vc/vc-git.el (vc-git-checkin): Make sure
'default-directory' is not nil when calling
'make-nearby-temp-file' on MS-Windows.

* test/lisp/vc/vc-tests.el (vc-test--version-diff): Run
'default-directory' through 'file-truename', otherwise the
'vc-test-cvs06-version-diff' test might fail on MS-Windows.
lisp/vc/vc-git.el
lisp/vc/vc-hg.el
test/lisp/vc/vc-tests.el