This revision was automatically updated to reflect the committed changes. Closed by commit rHGc3c76194f0c1: narrow: remove unused "cacheprop" stuff (authored by martinvonz, committed by ).
REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3142?vs=7753&id=7758 REVISION DETAIL https://phab.mercurial-scm.org/D3142 AFFECTED FILES hgext/narrow/narrowrepo.py CHANGE DETAILS diff --git a/hgext/narrow/narrowrepo.py b/hgext/narrow/narrowrepo.py --- a/hgext/narrow/narrowrepo.py +++ b/hgext/narrow/narrowrepo.py @@ -8,10 +8,8 @@ from __future__ import absolute_import from mercurial import ( - bundlerepo, changegroup, hg, - localrepo, narrowspec, scmutil, ) @@ -40,14 +38,6 @@ def wraprepo(repo): """Enables narrow clone functionality on a single local repository.""" - cacheprop = localrepo.storecache - if isinstance(repo, bundlerepo.bundlerepository): - # We have to use a different caching property decorator for - # bundlerepo because storecache blows up in strange ways on a - # bundlerepo. Fortunately, there's no risk of data changing in - # a bundlerepo. - cacheprop = lambda name: localrepo.unfilteredpropertycache - class narrowrepository(repo.__class__): def file(self, f): To: martinvonz, durin42, #hg-reviewers Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel