comparison hgext/largefiles/uisetup.py @ 15254:dd03d3a9f888

largefiles: more work on cleaning up comments - always say "largefile", not "lfile" - cleanup mangled syntax, hopefully correctly (punctuation: it's your friend!) - wrap to 75 columns (where feasible)
author Greg Ward <greg@gerg.ca>
date Thu, 13 Oct 2011 20:45:49 -0400
parents 6e809bb4f969
children bd9405551ad4
comparison
equal deleted inserted replaced
15253:67d010779907 15254:dd03d3a9f888
97 # ... and wrap some existing ones 97 # ... and wrap some existing ones
98 wireproto.commands['capabilities'] = (proto.capabilities, '') 98 wireproto.commands['capabilities'] = (proto.capabilities, '')
99 wireproto.commands['heads'] = (proto.heads, '') 99 wireproto.commands['heads'] = (proto.heads, '')
100 wireproto.commands['lheads'] = (wireproto.heads, '') 100 wireproto.commands['lheads'] = (wireproto.heads, '')
101 101
102 # make putlfile behave the same as push and {get,stat}lfile behave the same 102 # make putlfile behave the same as push and {get,stat}lfile behave
103 # as pull w.r.t. permissions checks 103 # the same as pull w.r.t. permissions checks
104 hgweb_mod.perms['putlfile'] = 'push' 104 hgweb_mod.perms['putlfile'] = 'push'
105 hgweb_mod.perms['getlfile'] = 'pull' 105 hgweb_mod.perms['getlfile'] = 'pull'
106 hgweb_mod.perms['statlfile'] = 'pull' 106 hgweb_mod.perms['statlfile'] = 'pull'
107 107
108 # the hello wireproto command uses wireproto.capabilities, so it won't see 108 # the hello wireproto command uses wireproto.capabilities, so it won't see