Commits

Pierre-Yves David committed 9bbcd27

obsolete: fix bug in detection of remote obsolete support

We were checking again local...

Comments (0)

Files changed (1)

hgext/obsolete.py

             """wrapper around pull that pull obsolete relation"""
             self._turn_extinct_secret()
             result = opush(remote, *args, **opts)
-            if 'obsolete' in self.listkeys('namespaces') and self.obsstore:
+            if 'obsolete' in remote.listkeys('namespaces') and self.obsstore:
                 data = self.obsstore._writemarkers()
                 r = remote.pushkey('obsolete', 'dump', '',
                                    base85.b85encode(data))