D5383: remotefilelog: remove an unnecessary update of "count" container

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Thu Dec 6 06:41:22 EST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG70de33b9d328: remotefilelog: remove an unnecessary update of "count" container (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5383?vs=12722&id=12744

REVISION DETAIL
  https://phab.mercurial-scm.org/D5383

AFFECTED FILES
  hgext/remotefilelog/fileserverclient.py

CHANGE DETAILS

diff --git a/hgext/remotefilelog/fileserverclient.py b/hgext/remotefilelog/fileserverclient.py
--- a/hgext/remotefilelog/fileserverclient.py
+++ b/hgext/remotefilelog/fileserverclient.py
@@ -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()



To: martinvonz, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list