]> git.eshelyaron.com Git - emacs.git/commit
Revert the disputed VC change and update the tests
authorDmitry Gutov <dgutov@yandex.ru>
Sun, 24 Apr 2016 20:32:48 +0000 (23:32 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Sun, 24 Apr 2016 20:34:09 +0000 (23:34 +0300)
commit1face76ba6d19b269310ddbb0a6a618a3bfe54a2
treeae4c3973dba7915bdf2053f76b871e5feaeb2f54
parentdba65ec99361a534042e3a1ade4d08b0f40481d1
Revert the disputed VC change and update the tests

* lisp/vc/vc-hooks.el (vc-working-revision):
Remove the previous change.
(vc-state): Same.  And update the old, incorrect comment about
unregistered files
(http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00526.html).

* test/lisp/vc/vc-tests.el (vc-test--state): Remove the check
calling `vc-state' on default-directory (VC state is undefined
for directories).  Check that `vc-state' returns nil where it
returned `unregistered' before.  Remove all checks comparing
invocations with the backend passed in explictly and without.
(vc-test--working-revision): Remove all checks comparing
invocations with the backend passed in explictly and without.
Update comments, and add a new one.
lisp/vc/vc-hooks.el
test/lisp/vc/vc-tests.el