##// END OF EJS Templates
remotefilelog: replace a "a=[expr]; b=a[0]" by "b=expr; a = [b]"...
Martin von Zweigbergk -
r40884:fe0b65ff default
parent child Browse files
Show More
@@ -359,8 +359,8 b' class fileserverclient(object):'
359 global fetchmisses
359 global fetchmisses
360 fetchmisses += len(missed)
360 fetchmisses += len(missed)
361
361
362 count = [total - len(missed)]
362 fromcache = total - len(missed)
363 fromcache = count[0]
363 count = [fromcache]
364 progress.update(count[0], total=total)
364 progress.update(count[0], total=total)
365 self.ui.log("remotefilelog", "remote cache hit rate is %r of %r\n",
365 self.ui.log("remotefilelog", "remote cache hit rate is %r of %r\n",
366 count[0], total, hit=count[0], total=total)
366 count[0], total, hit=count[0], total=total)
General Comments 0
You need to be logged in to leave comments. Login now