D6807: flagprocessors: small code update to clarify parameters

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Sat Sep 7 13:08:23 EDT 2019


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

INLINE COMMENTS

> flagutil.py:163
>              return text, True
> -        if not operation in ('read', 'write'):
> +        if not operation in ('read', 'write', 'raw'):
>              raise error.ProgrammingError(_("invalid '%s' operation") %

I'm going to change this to use `not in` in flight.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6807/new/

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

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


More information about the Mercurial-devel mailing list