Changeset fe1412ab0c44…
Parent 03751365de0a…
by Andrew Pritchard <andrewp@fogcreek.com>
Changes to 2 files · Browse files at fe1412ab0c44 Showing diff from parent 03751365de0a Diff from another changeset...
@@ -149,14 +149,14 @@
def sshrepo_callstream(self, cmd, **args):
if cmd == 'heads' and self.capable('largefiles'):
- cmd = 'k' + cmd
+ cmd = 'lheads'
if cmd == 'batch' and self.capable('largefiles'):
- args['cmds'] = args['cmds'].replace('heads ', 'kheads ')
+ args['cmds'] = args['cmds'].replace('heads ', 'lheads ')
return ssh_oldcallstream(self, cmd, **args)
def httprepo_callstream(self, cmd, **args):
if cmd == 'heads' and self.capable('largefiles'):
- cmd = 'k' + cmd
+ cmd = 'lheads'
if cmd == 'batch' and self.capable('largefiles'):
- args['cmds'] = args['cmds'].replace('heads ', 'kheads ')
+ args['cmds'] = args['cmds'].replace('heads ', 'lheads ')
return http_oldcallstream(self, cmd, **args)
|
@@ -83,7 +83,7 @@ # ... and wrap some existing ones
wireproto.commands['capabilities'] = (proto.capabilities, '')
wireproto.commands['heads'] = (proto.heads, '')
- wireproto.commands['kheads'] = (wireproto.heads, '')
+ wireproto.commands['lheads'] = (wireproto.heads, '')
# make putlfile behave the same as push and {get,stat}lfile behave the same
# as pull w.r.t. permissions checks
|
Loading...