comparison hgext/lfs/__init__.py @ 37785:b4d85bc122bd

wireproto: rename wireproto to wireprotov1server (API) We have wireprotov2server, wireprotov1peer, and wireprotov2peer. wireproto only contains server functionality. So it makes sense to rename it to wireprotov1server so the naming aligns with everything else. Differential Revision: https://phab.mercurial-scm.org/D3400
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 16 Apr 2018 22:21:54 -0700
parents 31a4ea773369
children ff5b6fca1082
comparison
equal deleted inserted replaced
37784:ee0d5e9d77b2 37785:b4d85bc122bd
147 scmutil, 147 scmutil,
148 templateutil, 148 templateutil,
149 upgrade, 149 upgrade,
150 util, 150 util,
151 vfs as vfsmod, 151 vfs as vfsmod,
152 wireproto,
153 wireprotoserver, 152 wireprotoserver,
153 wireprotov1server,
154 ) 154 )
155 155
156 from . import ( 156 from . import (
157 blobstore, 157 blobstore,
158 wireprotolfsserver, 158 wireprotolfsserver,
321 wrapfunction(changegroup, 321 wrapfunction(changegroup,
322 'allsupportedversions', 322 'allsupportedversions',
323 wrapper.allsupportedversions) 323 wrapper.allsupportedversions)
324 324
325 wrapfunction(exchange, 'push', wrapper.push) 325 wrapfunction(exchange, 'push', wrapper.push)
326 wrapfunction(wireproto, '_capabilities', wrapper._capabilities) 326 wrapfunction(wireprotov1server, '_capabilities', wrapper._capabilities)
327 wrapfunction(wireprotoserver, 'handlewsgirequest', 327 wrapfunction(wireprotoserver, 'handlewsgirequest',
328 wireprotolfsserver.handlewsgirequest) 328 wireprotolfsserver.handlewsgirequest)
329 329
330 wrapfunction(context.basefilectx, 'cmp', wrapper.filectxcmp) 330 wrapfunction(context.basefilectx, 'cmp', wrapper.filectxcmp)
331 wrapfunction(context.basefilectx, 'isbinary', wrapper.filectxisbinary) 331 wrapfunction(context.basefilectx, 'isbinary', wrapper.filectxisbinary)