Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hgweb/webcommands.py @ 51875:454feddab720
brancing: merge stable into default
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 06 Sep 2024 02:12:19 +0200 |
parents | ca7bde5dbafb 99632adff795 |
children | 3b8d92f71d92 |
comparison
equal
deleted
inserted
replaced
51874:4eccb65e444f | 51875:454feddab720 |
---|---|
70 | 70 |
71 def __init__(self, name): | 71 def __init__(self, name): |
72 self.name = name | 72 self.name = name |
73 | 73 |
74 def __call__(self, func): | 74 def __call__(self, func): |
75 __all__.append(self.name) | 75 __all__.append(pycompat.sysstr(self.name)) |
76 commands[self.name] = func | 76 commands[self.name] = func |
77 return func | 77 return func |
78 | 78 |
79 | 79 |
80 @webcommand(b'log') | 80 @webcommand(b'log') |