D1285: localrepo: add a new attribute _visibilityexceptions and related API

quark (Jun Wu) phabricator at mercurial-scm.org
Thu Nov 9 15:55:10 EST 2017


quark added a comment.


  I think `localrepo` object is usually for unfiltered access therefore the visibility exception API looks strange to me.

INLINE COMMENTS

> localrepo.py:516
> +    def addvisibilityexceptions(self, exceptions):
> +        """ adds hidden revs which should be visible to set of exceptions """
> +        self._visibilityexceptions.update(exceptions)

nit: do not need a space around `"""`

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list