--- 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