Mercurial > hg-stable
changeset 40866:70de33b9d328
remotefilelog: remove an unnecessary update of "count" container
The "count" container is never used after this point, so there is no
need to update it.
Differential Revision: https://phab.mercurial-scm.org/D5383
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 04 Dec 2018 22:09:33 -0800 |
parents | b34b1b865ef9 |
children | fe0b65ff00e7 |
files | hgext/remotefilelog/fileserverclient.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/remotefilelog/fileserverclient.py Tue Dec 04 21:58:46 2018 -0800 +++ b/hgext/remotefilelog/fileserverclient.py Tue Dec 04 22:09:33 2018 -0800 @@ -422,8 +422,7 @@ finally: self.ui.verbose = verbose # send to memcache - count[0] = len(missed) - request = "set\n%d\n%s\n" % (count[0], "\n".join(missed)) + request = "set\n%d\n%s\n" % (len(missed), "\n".join(missed)) cache.request(request) progress.complete()