evolve: drop some pre-3.0 compatibility code
This extension already requires Mercurial 3.0
--- a/hgext/evolve.py Mon May 19 17:45:28 2014 -0700
+++ b/hgext/evolve.py Mon May 19 17:43:31 2014 -0700
@@ -2567,10 +2567,7 @@
@eh.extsetup
def _installwireprotocol(ui):
- try:
- localrepo.moderncaps.add('_evoext_pullobsmarkers_0')
- except AttributeError:
- localrepo.MODERNCAPS.add('_evoext_pullobsmarkers_0')
+ localrepo.moderncaps.add('_evoext_pullobsmarkers_0')
hgweb_mod.perms['evoext_pushobsmarkers_0'] = 'push'
hgweb_mod.perms['evoext_pullobsmarkers_0'] = 'pull'
hgweb_mod.perms['evoext_obshash'] = 'pull'