hgext/largefiles/__init__.py
changeset 50822 bf92386f76fd
parent 49934 564d360fc98e
child 50824 584fc92dd8d7
equal deleted inserted replaced
50821:fcb67b8c8107 50822:bf92386f76fd
   182     wireprotov1server.wireprotocommand(b'lheads', b'', permission=b'pull')(
   182     wireprotov1server.wireprotocommand(b'lheads', b'', permission=b'pull')(
   183         wireprotov1server.heads
   183         wireprotov1server.heads
   184     )
   184     )
   185 
   185 
   186     extensions.wrapfunction(
   186     extensions.wrapfunction(
   187         wireprotov1server.commands[b'heads'], b'func', proto.heads
   187         wireprotov1server.commands[b'heads'], 'func', proto.heads
   188     )
   188     )
   189     # TODO also wrap wireproto.commandsv2 once heads is implemented there.
   189     # TODO also wrap wireproto.commandsv2 once heads is implemented there.
   190 
   190 
   191     # override some extensions' stuff as well
   191     # override some extensions' stuff as well
   192     for name, module in extensions.extensions():
   192     for name, module in extensions.extensions():