commit: 2f55335dd6ec65d2b8a9c57008ded60df49950db
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 9 20:06:23 2015 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Mon Feb 9 20:11:44 2015 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=2f55335d
portage/sync/modules/rsync: Fixed missed is_synced setting for timestamps match
_do_rsync() was not returning True if the timestamps matched, so it was cycking
through
the retries.
Reported by pchrist in #gentoo-portage.
---
pym/portage/sync/modules/rsync/rsync.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/pym/portage/sync/modules/rsync/rsync.py
b/pym/portage/sync/modules/rsync/rsync.py
index 817164d..d3b0ae3 100644
--- a/pym/portage/sync/modules/rsync/rsync.py
+++ b/pym/portage/sync/modules/rsync/rsync.py
@@ -464,6 +464,7 @@ class RsyncSync(NewBase):
if exitcode == os.EX_OK:
if (servertimestamp != 0) and (servertimestamp ==
timestamp):
+ is_synced = True
self.logger(self.xterm_titles,
">>> Cancelling sync -- Already
current.")
print()