hgext/largefiles/uisetup.py
changeset 19778 55ef79031009
parent 18982 43cb150e74f9
child 19779 fb6e87d93948
equal deleted inserted replaced
19777:6f72e7d28b35 19778:55ef79031009
   151     proto.httpoldcallstream = httppeer.httppeer._callstream
   151     proto.httpoldcallstream = httppeer.httppeer._callstream
   152     sshpeer.sshpeer._callstream = proto.sshrepocallstream
   152     sshpeer.sshpeer._callstream = proto.sshrepocallstream
   153     httppeer.httppeer._callstream = proto.httprepocallstream
   153     httppeer.httppeer._callstream = proto.httprepocallstream
   154 
   154 
   155     # don't die on seeing a repo with the largefiles requirement
   155     # don't die on seeing a repo with the largefiles requirement
   156     localrepo.localrepository.supported |= set(['largefiles'])
   156     localrepo.localrepository._basesupported |= set(['largefiles'])
   157 
   157 
   158     # override some extensions' stuff as well
   158     # override some extensions' stuff as well
   159     for name, module in extensions.extensions():
   159     for name, module in extensions.extensions():
   160         if name == 'fetch':
   160         if name == 'fetch':
   161             extensions.wrapcommand(getattr(module, 'cmdtable'), 'fetch',
   161             extensions.wrapcommand(getattr(module, 'cmdtable'), 'fetch',