D4522: narrowspec: limit patterns to path: and rootfilesin: (BC)

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Tue Sep 11 22:04:53 UTC 2018


martinvonz added inline comments.

INLINE COMMENTS

> narrowspec.py:114-130
> +def validatepatterns(pats):
> +    """Validate that patterns are in the expected data structure and format.
> +
> +    And that is a set of normalized patterns beginning with ``path:`` or
> +    ``rootfilesin:``.
> +    """
> +    if not isinstance(pats, set):

Obsolete copy of what you inlined into parsepatterns?

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list