diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-01-12 03:26:13 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-01-12 03:26:13 -0800 |
commit | ecf347fe2bde0f285b04070a13a170accdf73838 (patch) | |
tree | 8737350e62a6661f22c93a39300d410e13991363 | |
parent | 31b4d0cb3a183e29fe0d745187470ded37ffd433 (diff) | |
download | portage-ecf347fe2bde0f285b04070a13a170accdf73838.tar.gz portage-ecf347fe2bde0f285b04070a13a170accdf73838.tar.bz2 portage-ecf347fe2bde0f285b04070a13a170accdf73838.zip |
Add --human-readable to rsync opts for bug 269410
-rw-r--r-- | cnf/make.globals | 2 | ||||
-rw-r--r-- | pym/_emerge/actions.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cnf/make.globals b/cnf/make.globals index fade448ff..0f6f54165 100644 --- a/cnf/make.globals +++ b/cnf/make.globals @@ -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. diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 1725053a1..31d53f992 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -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 |