Add --human-readable to rsync opts for bug 269410
authorZac Medico <zmedico@gentoo.org>
Thu, 12 Jan 2012 11:26:13 +0000 (03:26 -0800)
committerZac Medico <zmedico@gentoo.org>
Thu, 12 Jan 2012 11:26:13 +0000 (03:26 -0800)
cnf/make.globals
pym/_emerge/actions.py

index fade448ffec3ae76878e02adbae27fb077342ea2..0f6f541651489606249cbad5077bc7b6a1cf4374 100644 (file)
@@ -95,7 +95,7 @@ PORTAGE_RSYNC_RETRIES="-1"
 # 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 --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
+PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
 
 # The number of days after the last `emerge --sync` that a warning
 # message should be produced.
index 1725053a163f4dbebd1efc06b35580ff1dcebdaa..31d53f992d3235a092c00946fa8673a018cf1e18 100644 (file)
@@ -2024,6 +2024,7 @@ def action_sync(settings, trees, mtimedb, myopts, myaction):
                                "--whole-file",   # Don't do block transfers, only entire files
                                "--delete",       # Delete files that aren't in the master tree
                                "--stats",        # Show final statistics about what was transfered
+                               "--human-readable",
                                "--timeout="+str(mytimeout), # IO timeout if not done in X seconds
                                "--exclude=/distfiles",   # Exclude distfiles from consideration
                                "--exclude=/local",       # Exclude local     from consideration