Use @cmdutil.command decorator to define command table.
Created originally on Bitbucket by AntoineP (Antoine Pérus)
Was already merged in Bitbucket before import, marked as merged by the import user
Get rid off the warning "devel-warn: missing attribute 'norepo', use @command decorator to register 'b' " with mercurial 3.8.1