emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ssh-deploy 36b81ff 111/173: Fixed bug where async uploa


From: Stefan Monnier
Subject: [elpa] externals/ssh-deploy 36b81ff 111/173: Fixed bug where async upload to new remote directory was not working
Date: Sat, 20 Oct 2018 10:36:40 -0400 (EDT)

branch: externals/ssh-deploy
commit 36b81ff2135a3239a0e6b388cae2f7458823c273
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>

    Fixed bug where async upload to new remote directory was not working
---
 ssh-deploy.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ssh-deploy.el b/ssh-deploy.el
index 3474f00..37be013 100644
--- a/ssh-deploy.el
+++ b/ssh-deploy.el
@@ -251,7 +251,7 @@
                   (if (fboundp 'ediff-same-file-contents)
                       (if (or (eq t ,force) (not (file-exists-p ,path-remote)) 
(and (file-exists-p ,revision-path) (ediff-same-file-contents ,revision-path 
,path-remote)))
                           (progn
-                            (if (file-regular-p (file-name-directory 
,path-remote))
+                            (if (not (file-directory-p (file-name-directory 
,path-remote)))
                                 (make-directory (file-name-directory 
,path-remote) t))
                             (copy-file ,path-local ,path-remote t t t t)
                             (copy-file ,path-local ,revision-path t t t t)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]