hgext/evolve.py
changeset 941 576d3a198269
parent 940 0523c7c63759
child 942 010c7e4aa820
--- 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'