D2493: narrow: remove dependency from narrowspec module to hg module

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Wed Feb 28 21:09:41 EST 2018


indygreg accepted this revision.
indygreg added inline comments.
This revision is now accepted and ready to land.

INLINE COMMENTS

> narrowrepo.py:76-78
> +            source = self
> +            if self.shared():
> +                source = hg.sharedreposource(self)

It feels like there could be a helper method that returns the repo object backing the store. But that's for another patch.

REPOSITORY
  rHG Mercurial

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

To: martinvonz, durin42, #hg-reviewers, indygreg
Cc: indygreg, mercurial-devel


More information about the Mercurial-devel mailing list