D6800: flagprocessors: introduce specialized functions

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


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

INLINE COMMENTS

> flagutil.py:98
> +            return self._processflagsread(text, flags)
> +        else: # write operation
> +            return self._processflagswrite(text, flags)

Please follow up to make this more strongly typed by checking `operation == 'write'`.

REPOSITORY
  rHG Mercurial

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

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

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


More information about the Mercurial-devel mailing list