summaryrefslogtreecommitdiffstats
path: root/cnf
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-04 11:40:23 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-06 15:56:36 -0700
commit85ab240640918316b6ebecbb9d69c3dfcebd5c94 (patch)
tree5c231b58d589b51a52d15fcd66ea1a2e3b735f93 /cnf
parent0be30f461f4aa681ffa39568b7d59b13b03b9401 (diff)
downloadportage-85ab240640918316b6ebecbb9d69c3dfcebd5c94.tar.gz
portage-85ab240640918316b6ebecbb9d69c3dfcebd5c94.tar.bz2
portage-85ab240640918316b6ebecbb9d69c3dfcebd5c94.zip
Bug #339642 - Make --sync try all addresses.
Diffstat (limited to 'cnf')
-rw-r--r--cnf/make.conf4
-rw-r--r--cnf/make.globals2
2 files changed, 4 insertions, 2 deletions
diff --git a/cnf/make.conf b/cnf/make.conf
index b08e81cf4..8d07752f1 100644
--- a/cnf/make.conf
+++ b/cnf/make.conf
@@ -194,7 +194,9 @@
# PORTAGE_RSYNC_RETRIES sets the number of times portage will attempt to retrieve
# a current portage tree before it exits with an error. This allows
# for a more successful retrieval without user intervention most times.
-#PORTAGE_RSYNC_RETRIES="3"
+# If set to a negative number, then retry until all possible addresses are
+# exhausted.
+#PORTAGE_RSYNC_RETRIES="-1"
#
# PORTAGE_RSYNC_EXTRA_OPTS can be used to feed additional options to the rsync
# command used by `emerge --sync`. This will not change the default options
diff --git a/cnf/make.globals b/cnf/make.globals
index 629b7e27a..04100e0b8 100644
--- a/cnf/make.globals
+++ b/cnf/make.globals
@@ -88,7 +88,7 @@ PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
# Number of times 'emerge --sync' will run before giving up.
-PORTAGE_RSYNC_RETRIES="3"
+PORTAGE_RSYNC_RETRIES="-1"
# Number of seconds rsync will wait before timing out.
#RSYNC_TIMEOUT="180"