Kiln » largefiles » largefiles-kiln-truncated changes meant to be shipped in Kiln Extensions to aid migration path to Mercurial-bundled largefiles
Clone URL:  

proto: rename kheads, an artifact of "kbfiles" to lheads

Changeset fe1412ab0c44

Parent 03751365de0a

by Profile picture of User 521Andrew Pritchard <andrewp@fogcreek.com>

Changes to 2 files · Browse files at fe1412ab0c44 Showing diff from parent 03751365de0a Diff from another changeset...

Change 1 of 1 Show Entire File proto.py Stacked
 
149
150
151
152
 
153
154
 
155
156
157
158
159
 
160
161
 
162
 
149
150
151
 
152
153
 
154
155
156
157
158
 
159
160
 
161
162
@@ -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)
Change 1 of 1 Show Entire File uisetup.py Stacked
 
83
84
85
86
 
87
88
89
 
83
84
85
 
86
87
88
89
@@ -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