Mercurial > hg
comparison hgext/remotefilelog/basepack.py @ 41365:876494fd967d
cleanup: delete lots of unused local variables
These were found by IntelliJ. There are many more, but these seemed
pretty safe.
Differential Revision: https://phab.mercurial-scm.org/D5629
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 17 Jan 2019 09:17:12 -0800 |
parents | 3d685ddf6b64 |
children | 2372284d9457 |
comparison
equal
deleted
inserted
replaced
41364:0132221c25cd | 41365:876494fd967d |
---|---|
455 self.opener.unlink(self.idxpath) | 455 self.opener.unlink(self.idxpath) |
456 except Exception: | 456 except Exception: |
457 pass | 457 pass |
458 | 458 |
459 def writeindex(self): | 459 def writeindex(self): |
460 rawindex = '' | |
461 | |
462 largefanout = len(self.entries) > SMALLFANOUTCUTOFF | 460 largefanout = len(self.entries) > SMALLFANOUTCUTOFF |
463 if largefanout: | 461 if largefanout: |
464 params = indexparams(LARGEFANOUTPREFIX, self.VERSION) | 462 params = indexparams(LARGEFANOUTPREFIX, self.VERSION) |
465 else: | 463 else: |
466 params = indexparams(SMALLFANOUTPREFIX, self.VERSION) | 464 params = indexparams(SMALLFANOUTPREFIX, self.VERSION) |