For bug #167668, use an rsync "hide" filter rule to exclude **/files/digest-* and...
authorZac Medico <zmedico@gentoo.org>
Thu, 22 Feb 2007 23:42:12 +0000 (23:42 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 22 Feb 2007 23:42:12 +0000 (23:42 -0000)
svn path=/main/trunk/; revision=6047

cnf/make.globals
pym/emerge/__init__.py

index d10aaf8e07eacf670684d6e8c315fd569f8e40cc..45ffea6800959dbd797713849d31e27830235c48 100644 (file)
@@ -54,7 +54,7 @@ PORTAGE_RSYNC_RETRIES="3"
 # Number of seconds rsync will wait before timing out.
 #RSYNC_TIMEOUT="180"
 
-PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
+PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
 
 # Minimal CONFIG_PROTECT
 CONFIG_PROTECT="/etc"
index c0072d2f8d15ea5606aa0d77d3feedd38a2b9366..61bd4836b1f0dc65bb723de4bbbfedc524086c81 100644 (file)
@@ -3798,6 +3798,7 @@ def action_sync(settings, trees, mtimedb, myopts, myaction):
                                "--exclude='/distfiles'",   # Exclude distfiles from consideration
                                "--exclude='/local'",       # Exclude local     from consideration
                                "--exclude='/packages'",    # Exclude packages  from consideration
+                               "--filter=H_**/files/digest-*" # Exclude manifest1 digests and delete on the receiving side
                        ])
 
                else: