[BUG] Incorrect management of directories
Matthieu Moy <[email protected]> Wed, 01 Feb 2006 10:34:47 +0100
| Newsgroups | gmane.comp.web.sitecopy |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm having problems with sitecopy to fetch from a site which has added files and directories. * initial state : local and remote copy are synchronized (sitecopy -u says nothing, sitecopy -f; sitecopy -s either). * I use another client to do, on the remote site: mkdir foo mkdir foo/bar mkdir foo/bar/boz echo foo > foo/bar/boz/file * Now, sitecopy -f * And sitecopy -s fails: $ sitecopy -s bzr sitecopy: Synchronizing site `bzr' (on ftpperso.free.fr in /) Creating foo/bar/boz/: failed: No such file or directory Creating foo/bar/: failed: No such file or directory Creating foo/: done. sitecopy: Errors occurred while synchronizing the local site. Note that in this case, the last operation of the synch worked, so if I re-run sitecopy multiple times, I get : $ sitecopy -s bzr sitecopy: Synchronizing site `bzr' (on ftpperso.free.fr in /) Creating foo/bar/boz/: failed: No such file or directory Creating foo/bar/: done. sitecopy: Errors occurred while synchronizing the local site. $ sitecopy -s bzr sitecopy: Synchronizing site `bzr' (on ftpperso.free.fr in /) Creating foo/bar/boz/: done. sitecopy: Synchronize completed successfully. $ sitecopy -s bzr sitecopy: Synchronizing site `bzr' (on ftpperso.free.fr in /) sitecopy: Nothing to do - no changes found. But that's a real pain ;-). After that, is I delete foo and update, I get : $ rm -fr foo $ sitecopy -u bzr sitecopy: Updating site `bzr' (on ftpperso.free.fr in /) Deleting foo/: failed: 550 /foo: Directory not empty Deleting foo/bar/: failed: 550 /foo/bar: Directory not empty Deleting foo/bar/boz/: done. sitecopy: Errors occurred while updating the remote site. (note that except this, sitecopy is just great!!) (please, keep me in Cc, I'm not on the list) Thanks, -- Matthieu _______________________________________________ sitecopy maillist - [email protected] http://dav.lyra.org/mailman/listinfo/sitecopy