+2014-12-03 Michael Albinus <michael.albinus@gmx.de>
+
+ * automated/tramp-tests.el (tramp-test29-vc-registered):
+ Fallback for changed `vc-register' argument list.
+
2014-12-03 Glenn Morris <rgm@gnu.org>
* automated/tramp-tests.el (tramp-test29-vc-registered):
(vc-create-repo (car vc-handled-backends))
;; The structure of VC-FILESET is not documented. Let's
;; hope it won't change.
- (vc-register
- (list (car vc-handled-backends)
- (list (file-name-nondirectory tmp-name2)))))
+ (condition-case nil
+ (vc-register
+ (list (car vc-handled-backends)
+ (list (file-name-nondirectory tmp-name2))))
+ ;; `vc-register' has changed its arguments in Emacs 25.1.
+ (error
+ (vc-register
+ nil (list (car vc-handled-backends)
+ (list (file-name-nondirectory tmp-name2)))))))
(should (vc-registered tmp-name2)))
(ignore-errors (delete-directory tmp-name1 'recursive)))))