D1577: localrepo: fix cache repo._filteredrepotypes by adding filtername in key

quark (Jun Wu) phabricator at mercurial-scm.org
Sun Dec 3 15:10:22 EST 2017


quark added a comment.


  In https://phab.mercurial-scm.org/D1577#26870, @yuja wrote:
  
  > Sorry I can't see why we need a separate "type" object in this example.
  >  Isn't that effectively a cache of filtered instances?
  
  
  Alternatively, "visible exception revs" could be stored as `unfi._exceptions[filtername]`. That does not require creating multiple types.

REPOSITORY
  rHG Mercurial

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

To: pulkit, #hg-reviewers, yuja
Cc: yuja, quark, indygreg, mercurial-devel


More information about the Mercurial-devel mailing list