git-migration: pld-git.sh - delete files too when rsyncing (Attic movements)
glen
glen at pld-linux.org
Fri Feb 11 15:00:24 CET 2011
Author: glen Date: Fri Feb 11 14:00:24 2011 GMT
Module: git-migration Tag: HEAD
---- Log message:
- delete files too when rsyncing (Attic movements)
---- Files affected:
git-migration:
pld-git.sh (1.21 -> 1.22)
---- Diffs:
================================================================
Index: git-migration/pld-git.sh
diff -u git-migration/pld-git.sh:1.21 git-migration/pld-git.sh:1.22
--- git-migration/pld-git.sh:1.21 Thu Feb 10 06:38:06 2011
+++ git-migration/pld-git.sh Fri Feb 11 15:00:19 2011
@@ -22,7 +22,7 @@
> $logfile
rsync -av rsync://cvs.pld-linux.org/cvs/packages/ packages/ \
--log-file=$logfile --log-file-format='changes=%i name=%n' \
- --include=**/*,v --include=**/ --exclude=*
+ --include=**/*,v --include=**/ --exclude=* --delete --delete-excluded
# parse rsync log
# we want "^.f" - any file change
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/git-migration/pld-git.sh?r1=1.21&r2=1.22&f=u
More information about the pld-cvs-commit
mailing list