Fix bug where the --delete option was deleting files locally which
[rsync/rsync.git] / rsync.c
diff --git a/rsync.c b/rsync.c
index 8046b70..ec23c9e 100644 (file)
--- a/rsync.c
+++ b/rsync.c
@@ -450,6 +450,8 @@ static void delete_files(struct file_list *flist)
   char *dot=".";
   int i;
 
+  if (!am_server && cvs_exclude)
+    add_cvs_excludes();
   if (!(local_file_list = send_file_list(-1,recurse,1,&dot)))
     return;