Re: No support for direct copying of directories

Michael Albinus <[email protected]> Sat, 24 Aug 2024 09:39:20 +0200
Newsgroups gmane.emacs.tramp
Message-ID <[email protected]>
Troy Hinckley <[email protected]> writes:

> Thanks Michael,

Hi Troy,

> I applied the patch and it worked great!

Thanks for the feedback. I still run several regression tests. If
everything goes well, this patch will be part of Tramp 2.7.1.2, planned
on ELPA for the end of this month.

> I noticed that the start of
> the patch removed the file existence check
>
> - (unless (file-exists-p dirname)
> -          (tramp-error v 'file-missing dirname))
>
> Wanted to make sure that was intentional.

Yes, that's intentional, although not related to your report. While
working on the patch, I've realized that the same check is contained
also in tramp-skeleton-copy-directory, which embraces the code in
tramp-sh-handle-copy-directory. So I did a cleanup.

> -Troy Hinckley

Best regards, Michael.