rsync version 2.4.6 protocol version 24 Created local copy of remote directory by: rsync -az cvs.xemacs.org::xemacscvs/XEmacs/packages/xemacs-packages/auctex/ $local_dir; Created additional file in local copy of that directory and `touch 0101000000' it. The following command rsync -avvz --delete-after cvs.xemacs.org::xemacscvs/XEmacs/packages/xemacs-packages/auctex/ $local_dir; did not remove it. When using `--delete' instead, file is removed. Removements of files in this particular remote directory (or any other cvs repository) are normal. They occur when cvs history files move from their initial directory to its `Attic' subdir. `--delete-after' leaves both old and new file, making the local copy incorrect.
On Fri, Jun 25, 2004 at 03:13:44PM +0400, Ilya N. Golubev wrote:> rsync version 2.4.6 protocol version 24In 2.4.6 --delete-after didn't imply --delete. Either upgrade to 2.6.2 or supply both options and it will then work as expected. ..wayne..