equal
deleted
inserted
replaced
359 global fetchmisses |
359 global fetchmisses |
360 fetchmisses += len(missed) |
360 fetchmisses += len(missed) |
361 |
361 |
362 fromcache = total - len(missed) |
362 fromcache = total - len(missed) |
363 count = [fromcache] |
363 count = [fromcache] |
364 progress.update(count[0], total=total) |
364 progress.update(fromcache, 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 fromcache, total, hit=fromcache, total=total) |
367 |
367 |
368 oldumask = os.umask(0o002) |
368 oldumask = os.umask(0o002) |
369 try: |
369 try: |
370 # receive cache misses from master |
370 # receive cache misses from master |
371 if missed: |
371 if missed: |