[Commented On] D12195: obsolete: don't use os.stat in repo.obsstore.__nonzero__ if it's static HTTP

av6 (Anton Shestakov) phabricator at mercurial-scm.org
Wed Feb 16 11:32:37 UTC 2022


av6 added a comment.


  Argh, this is like the third time I've added `len()` here, because I'd somehow managed to lose this change twice before. Yes, should be `len(self._data)`.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D12195/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D12195

To: av6, #hg-reviewers, Alphare
Cc: Alphare, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20220216/09a10785/attachment-0002.html>


More information about the Mercurial-patches mailing list