hgext/evolve.py
changeset 883 d2fa1061df16
parent 880 7fe06f32d1ad
child 886 fe089007c466
--- a/hgext/evolve.py	Wed Mar 12 12:44:33 2014 -0700
+++ b/hgext/evolve.py	Wed Mar 12 13:01:32 2014 -0700
@@ -2252,6 +2252,8 @@
         return None
     if not pullop.remote.capable('_evoext_pullobsmarkers_0'):
         return orig(pullop)
+    if 'obsolete' not in pullop.remote.listkeys('namespaces'):
+        return None # remote opted out of obsolescence marker exchange
     tr = None
     ui = pullop.repo.ui
     ui.status("OBSEXC: pull obsolescence markers\n")