D614: registrar: make cmdtype an attribute of the function in registar.command
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Fri Sep 15 11:22:14 EDT 2017
durin42 added inline comments.
INLINE COMMENTS
> dispatch.py:491
> def __getattr__(self, name):
> - adefaults = {r'norepo': True,
> + adefaults = {r'norepo': True, r'cmdtype': 'unrecoverable',
> r'optionalrepo': False, r'inferrepo': False}
Shouldn't this reference the constant from the enum class?
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D614
To: pulkit, #hg-reviewers, durham
Cc: durin42, durham, mercurial-devel
More information about the Mercurial-devel
mailing list