diff -r 4c71a26a4009 -r 7bf80d9d9543 hgext/largefiles/uisetup.py --- a/hgext/largefiles/uisetup.py Sun Mar 04 21:16:36 2018 -0500 +++ b/hgext/largefiles/uisetup.py Tue Mar 06 14:32:14 2018 -0800 @@ -12,7 +12,6 @@ from mercurial.i18n import _ from mercurial.hgweb import ( - hgweb_mod, webcommands, ) @@ -175,9 +174,10 @@ # make putlfile behave the same as push and {get,stat}lfile behave # the same as pull w.r.t. permissions checks - hgweb_mod.perms['putlfile'] = 'push' - hgweb_mod.perms['getlfile'] = 'pull' - hgweb_mod.perms['statlfile'] = 'pull' + wireproto.permissions['putlfile'] = 'push' + wireproto.permissions['getlfile'] = 'pull' + wireproto.permissions['statlfile'] = 'pull' + wireproto.permissions['lheads'] = 'pull' extensions.wrapfunction(webcommands, 'decodepath', overrides.decodepath)