mercurial/pushkey.py
changeset 22953 b1d694d3975e
parent 21661 2f52a16f2bee
child 25969 7b200566e474
--- a/mercurial/pushkey.py	Tue Oct 14 13:25:13 2014 -0700
+++ b/mercurial/pushkey.py	Tue Oct 14 13:26:01 2014 -0700
@@ -11,7 +11,7 @@
     n = {}
     for k in _namespaces:
         n[k] = ""
-    if not obsolete._enabled:
+    if not obsolete.isenabled(repo, obsolete.exchangeopt):
         n.pop('obsolete')
     return n