Mercurial > hg
diff mercurial/hgweb/hgweb_mod.py @ 24076:b53d2afd11fb
webcommands: define web commands using a decorator
Other parts of Mercurial have evolved to use decorators to declare
commands or handlers. This patch gives the same treatment to web
commands.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 06 Feb 2015 19:06:17 -0800 |
parents | 939ce500c92a |
children | 89ce95f907bd |