equal
deleted
inserted
replaced
2565 return caps |
2565 return caps |
2566 |
2566 |
2567 |
2567 |
2568 @eh.extsetup |
2568 @eh.extsetup |
2569 def _installwireprotocol(ui): |
2569 def _installwireprotocol(ui): |
2570 try: |
2570 localrepo.moderncaps.add('_evoext_pullobsmarkers_0') |
2571 localrepo.moderncaps.add('_evoext_pullobsmarkers_0') |
|
2572 except AttributeError: |
|
2573 localrepo.MODERNCAPS.add('_evoext_pullobsmarkers_0') |
|
2574 hgweb_mod.perms['evoext_pushobsmarkers_0'] = 'push' |
2571 hgweb_mod.perms['evoext_pushobsmarkers_0'] = 'push' |
2575 hgweb_mod.perms['evoext_pullobsmarkers_0'] = 'pull' |
2572 hgweb_mod.perms['evoext_pullobsmarkers_0'] = 'pull' |
2576 hgweb_mod.perms['evoext_obshash'] = 'pull' |
2573 hgweb_mod.perms['evoext_obshash'] = 'pull' |
2577 wireproto.commands['evoext_pushobsmarkers_0'] = (srv_pushobsmarkers, '') |
2574 wireproto.commands['evoext_pushobsmarkers_0'] = (srv_pushobsmarkers, '') |
2578 wireproto.commands['evoext_pullobsmarkers_0'] = (srv_pullobsmarkers, '*') |
2575 wireproto.commands['evoext_pullobsmarkers_0'] = (srv_pullobsmarkers, '*') |