Mercurial > hg
view mercurial/__main__.py @ 51728:2e9e62242451
typing: disable some pytype errors in `mercurial.store`
These seem to be legitimate errors, since one of the two callers
(`encodedstore.data_entries()`) was previously typed to generate
`BaseStoreEntry`. However, that and the other caller only pass
`RevlogStoreEntry` objects. I can't tell if this was a WIP or what, but don't
want to get side tracked on this. So flag as a TODO for later.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 23 Jul 2024 19:14:16 -0400 |
parents | e7ef11b75fdc |
children | 1c5810ce737e |
line wrap: on
line source
def run(): from . import demandimport with demandimport.tracing.log('hg script'): demandimport.enable() from . import dispatch dispatch.run() if __name__ == '__main__': run()