|
From: | Chong Yidong |
Subject: | Re: bug in copy-directory |
Date: | Mon, 31 Jan 2011 12:06:13 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Michael Albinus <address@hidden> writes: > Your patch breaks recursive copy now. Extend the use case from that bug > report: > > - Create directory /tmp/test > - Create directory /tmp/test/test > - Create file /tmp/test/a > - Create file /tmp/test/test/b > > - Apply (copy-directory "/tmp/test" "~/") > Everything is fine > > - Apply again (copy-directory "/tmp/test" "~/") > The target directory structure is broken. I think I see the problem: the arguments to the recursive call to copy-directory were not taking the "copy as a subdirectory" behavior into account. I've committed a fix.
[Prev in Thread] | Current Thread | [Next in Thread] |