]> code.delx.au - gnu-emacs/commit
Improve robustness for out-of-band copy in Tramp
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 31 May 2016 18:00:21 +0000 (20:00 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 31 May 2016 18:00:21 +0000 (20:00 +0200)
commit9878cf4d30589eed27ea609de3ebd9cb9c72d41f
treea8044f82ed81b1b72fff6727b958c6018caa0525
parent01030eed9395f5004e7d0721394697d1ca90cc2f
Improve robustness for out-of-band copy in Tramp

* lisp/net/tramp-adb.el (tramp-adb-execute-adb-command)
* lisp/net/tramp-cmds.el (tramp-append-tramp-buffers)
* lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file):
Cosmetic changes.

* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
Use local `default-directory'.  Simplify command to send.
Don't check return code, this was already done in
`tramp-process-actions'.
(tramp-get-inline-coding): Don't set `default-directory'.

* lisp/net/tramp.el (tramp-action-out-of-band):
Throw `out-of-band-failed'.
(tramp-process-actions): Handle `out-of-band-failed'.
(tramp-call-process, tramp-call-process-region):
Use local `default-directory'.
lisp/net/tramp-adb.el
lisp/net/tramp-cmds.el
lisp/net/tramp-gvfs.el
lisp/net/tramp-sh.el
lisp/net/tramp.el