changeset 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 5a1957ac3419
children e884a3047fe4
files lisp/vc.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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)))