Some improvements in vc
commit5cb7620027f78a3a0f473972a0584c8ea1791398
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 24 Apr 2016 12:59:05 +0000 (24 14:59 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 24 Apr 2016 12:59:05 +0000 (24 14:59 +0200)
tree1571c0f33ee69290d52d9fe48bf140e97781c27a
parentb876ee8971a8a040e14251f9733e4209ef7ad637
Some improvements in vc

* lisp/vc/vc-hooks.el (vc-state, vc-working-revision):
Check, whether FILE is registered.

* lisp/vc/vc-rcs.el (vc-rcs-checkout-model): Return `locking'
for nonexistent files.

* test/lisp/vc/vc-tests.el (w32-application-type): Declare.
(vc-test--revision-granularity-function)
(vc-test--unregister-function): Use `vc-call-backend'.
(vc-test--run-maybe-unsupported-function): New defmacro.
(vc-test--register, vc-test--state, vc-test--working-revision)
(vc-test--checkout-model): Use it.  Fix also expected results.
(vc-test-src02-state, vc-test-rcs04-checkout-model): They pass now.
lisp/vc/vc-hooks.el
lisp/vc/vc-rcs.el
test/lisp/vc/vc-tests.el