This revision was automatically updated to reflect the committed changes. Closed by commit rHG543f26ece6cf: narrow: remove hack to read narowspec from shared .hg directory (authored by martinvonz, committed by ).
REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4692?vs=11263&id=11264 REVISION DETAIL https://phab.mercurial-scm.org/D4692 AFFECTED FILES mercurial/localrepo.py CHANGE DETAILS diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -1032,11 +1032,7 @@ A tuple of (includes, excludes). """ - source = self - if self.shared(): - from . import hg - source = hg.sharedreposource(self) - return narrowspec.load(source) + return narrowspec.load(self) @storecache(narrowspec.FILENAME) def _narrowmatch(self): To: martinvonz, #hg-reviewers, pulkit Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel