Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/revlog.py @ 49711:8d6c8a9a91f8
revlog: drop an unused variable assignment
It's assigned again 2 lines later.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Wed, 19 Oct 2022 11:24:20 -0400 |
parents | 5846bc8a2855 |
children | 92892dff03f3 |
comparison
equal
deleted
inserted
replaced
49710:250d9c8aaf10 | 49711:8d6c8a9a91f8 |
---|---|
503 | 503 |
504 if docket is not None: | 504 if docket is not None: |
505 self._docket = docket | 505 self._docket = docket |
506 self._docket_file = entry_point | 506 self._docket_file = entry_point |
507 else: | 507 else: |
508 entry_data = b'' | |
509 self._initempty = True | 508 self._initempty = True |
510 entry_data = self._get_data(entry_point, mmapindexthreshold) | 509 entry_data = self._get_data(entry_point, mmapindexthreshold) |
511 if len(entry_data) > 0: | 510 if len(entry_data) > 0: |
512 header = INDEX_HEADER.unpack(entry_data[:4])[0] | 511 header = INDEX_HEADER.unpack(entry_data[:4])[0] |
513 self._initempty = False | 512 self._initempty = False |