Commit 65b01407 authored by Michael Albinus's avatar Michael Albinus
Browse files

* vc.el (vc-directory, vc-update-change-log): Remove check for

Tramp.  Both functions work for it, though pretty slow
(`vc-directory').  Maybe the implementation can be optimized.
parent ce0ee994
......@@ -2571,8 +2571,6 @@ With prefix arg READ-SWITCHES, specify a value to override
(interactive "DDired under VC (directory): \nP")
(let ((vc-dired-switches (concat vc-dired-listing-switches
(if vc-dired-recurse "R" ""))))
(if (eq (string-match tramp-file-name-regexp dir) 0)
(error "Sorry, vc-directory does not work over Tramp"))
(if read-switches
(setq vc-dired-switches
(read-string "Dired listing switches: "
......@@ -3229,9 +3227,6 @@ log entries should be gathered."
;; it should find all relevant files relative to
;; the default-directory.
(dolist (file (or args (list default-directory)))
(if (eq (string-match tramp-file-name-regexp file) 0)
(error "Sorry, vc-update-change-log does not work over Tramp")))
(vc-call-backend (vc-responsible-backend default-directory)
'update-changelog args))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment