changeset 87996:24ee99ee0e23

* 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.
author Michael Albinus <michael.albinus@gmx.de>
date Sat, 26 Jan 2008 14:53:55 +0000
parents e576feac5b90
children 13df71a98040
files lisp/vc.el
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc.el	Sat Jan 26 14:52:01 2008 +0000
+++ b/lisp/vc.el	Sat Jan 26 14:53:55 2008 +0000
@@ -2571,8 +2571,6 @@
   (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 @@
           ;; it should find all relevant files relative to
           ;; the default-directory.
 	  nil)))
-  (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))