Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/sync/modules/rsync/
Date: Mon, 09 Feb 2015 20:12:37
Message-Id: 1423512704.2f55335dd6ec65d2b8a9c57008ded60df49950db.dolsen@gentoo
1 commit: 2f55335dd6ec65d2b8a9c57008ded60df49950db
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 9 20:06:23 2015 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 9 20:11:44 2015 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=2f55335d
7
8 portage/sync/modules/rsync: Fixed missed is_synced setting for timestamps match
9
10 _do_rsync() was not returning True if the timestamps matched, so it was cycking through
11 the retries.
12 Reported by pchrist in #gentoo-portage.
13
14 ---
15 pym/portage/sync/modules/rsync/rsync.py | 1 +
16 1 file changed, 1 insertion(+)
17
18 diff --git a/pym/portage/sync/modules/rsync/rsync.py b/pym/portage/sync/modules/rsync/rsync.py
19 index 817164d..d3b0ae3 100644
20 --- a/pym/portage/sync/modules/rsync/rsync.py
21 +++ b/pym/portage/sync/modules/rsync/rsync.py
22 @@ -464,6 +464,7 @@ class RsyncSync(NewBase):
23
24 if exitcode == os.EX_OK:
25 if (servertimestamp != 0) and (servertimestamp == timestamp):
26 + is_synced = True
27 self.logger(self.xterm_titles,
28 ">>> Cancelling sync -- Already current.")
29 print()