indygreg updated this revision to Diff 10960. REPOSITORY rHG Mercurial
CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4436?vs=10761&id=10960 REVISION DETAIL https://phab.mercurial-scm.org/D4436 AFFECTED FILES mercurial/httppeer.py CHANGE DETAILS diff --git a/mercurial/httppeer.py b/mercurial/httppeer.py --- a/mercurial/httppeer.py +++ b/mercurial/httppeer.py @@ -805,6 +805,10 @@ if name in ('bundle2',): return True + # Alias command-* to presence of command of that name. + if name.startswith('command-'): + return name[len('command-'):] in self._descriptor['commands'] + return False def requirecap(self, name, purpose): To: indygreg, #hg-reviewers Cc: durin42, mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel