Show More
@@ -805,6 +805,10 b' class httpv2peer(object):' | |||||
805 | if name in ('bundle2',): |
|
805 | if name in ('bundle2',): | |
806 | return True |
|
806 | return True | |
807 |
|
807 | |||
|
808 | # Alias command-* to presence of command of that name. | |||
|
809 | if name.startswith('command-'): | |||
|
810 | return name[len('command-'):] in self._descriptor['commands'] | |||
|
811 | ||||
808 | return False |
|
812 | return False | |
809 |
|
813 | |||
810 | def requirecap(self, name, purpose): |
|
814 | def requirecap(self, name, purpose): |
General Comments 0
You need to be logged in to leave comments.
Login now