mercurial/wireprotov2server.py
changeset 37781 352932a11905
parent 37780 8acd3a9ac4fd
child 37782 99accae4cc59
--- a/mercurial/wireprotov2server.py	Mon Apr 16 21:49:59 2018 -0700
+++ b/mercurial/wireprotov2server.py	Mon Apr 16 21:52:33 2018 -0700
@@ -438,7 +438,7 @@
             raise error.ProgrammingError('%s command already registered '
                                          'for version 2' % name)
 
-        wireproto.commandsv2[name] = wireproto.commandentry(
+        wireproto.commandsv2[name] = wireprototypes.commandentry(
             func, args=args, transports=transports, permission=permission)
 
         return func