diff lisp/vc.el @ 60289:68f16372ee5a

(vc-do-command): Don't run command asynchronously when operating in a remote directory.
author Andreas Schwab <schwab@suse.de>
date Sun, 27 Feb 2005 18:38:08 +0000
parents aac0a33f5772
children 27c2765e06c8 92c8be21e2c3 e4694597cbf4
line wrap: on
line diff
--- a/lisp/vc.el	Sun Feb 27 17:31:56 2005 +0000
+++ b/lisp/vc.el	Sun Feb 27 18:38:08 2005 +0000
@@ -958,6 +958,9 @@
 			   (mapconcat 'identity vc-path path-separator))
 		   process-environment))
 	    (w32-quote-process-args t))
+	(if (and (eq okstatus 'async) (file-remote-p default-directory))
+	    ;; start-process does not support remote execution
+	    (setq okstatus nil))
 	(if (eq okstatus 'async)
 	    (let ((proc (apply 'start-process command (current-buffer) command
 			       squeezed)))