equal
deleted
inserted
replaced
138 |
138 |
139 return '' |
139 return '' |
140 |
140 |
141 def heads(repo, proto): |
141 def heads(repo, proto): |
142 if lfutil.islfilesrepo(repo): |
142 if lfutil.islfilesrepo(repo): |
143 try: |
143 return wireproto.ooberror(LARGEFILES_REQUIRED_MSG) |
144 # Mercurial >= f4522df38c65 |
|
145 return wireproto.ooberror(LARGEFILES_REQUIRED_MSG) |
|
146 except AttributeError: |
|
147 return proto.refuseclient(LARGEFILES_REQUIRED_MSG) |
|
148 return wireproto.heads(repo, proto) |
144 return wireproto.heads(repo, proto) |
149 |
145 |
150 def sshrepo_callstream(self, cmd, **args): |
146 def sshrepo_callstream(self, cmd, **args): |
151 if cmd == 'heads' and self.capable('largefiles'): |
147 if cmd == 'heads' and self.capable('largefiles'): |
152 cmd = 'lheads' |
148 cmd = 'lheads' |