Changeset 1408ea59a63a…
Parent 36e9de8c36c1…
by Andrew Pritchard <andrewp@fogcreek.com>
Changes to 2 files · Browse files at 1408ea59a63a Showing diff from parent 36e9de8c36c1 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...