hgext/largefiles/uisetup.py
branchstable
changeset 36754 e3c228b4510d
parent 36753 742ce6fbc109
child 36760 7bf80d9d9543
equal deleted inserted replaced
36753:742ce6fbc109 36754:e3c228b4510d
   175     # make putlfile behave the same as push and {get,stat}lfile behave
   175     # make putlfile behave the same as push and {get,stat}lfile behave
   176     # the same as pull w.r.t. permissions checks
   176     # the same as pull w.r.t. permissions checks
   177     wireproto.permissions['putlfile'] = 'push'
   177     wireproto.permissions['putlfile'] = 'push'
   178     wireproto.permissions['getlfile'] = 'pull'
   178     wireproto.permissions['getlfile'] = 'pull'
   179     wireproto.permissions['statlfile'] = 'pull'
   179     wireproto.permissions['statlfile'] = 'pull'
       
   180     wireproto.permissions['lheads'] = 'pull'
   180 
   181 
   181     extensions.wrapfunction(webcommands, 'decodepath', overrides.decodepath)
   182     extensions.wrapfunction(webcommands, 'decodepath', overrides.decodepath)
   182 
   183 
   183     extensions.wrapfunction(wireproto, '_capabilities', proto._capabilities)
   184     extensions.wrapfunction(wireproto, '_capabilities', proto._capabilities)
   184 
   185