diff --git a/hgext/obsolete.py b/hgext/obsolete.py index 7653f80fd7a455a586f02a3df7d840d42ad82b01_aGdleHQvb2Jzb2xldGUucHk=..9bbcd274689829d9239978236e16610688978233_aGdleHQvb2Jzb2xldGUucHk= 100644 --- a/hgext/obsolete.py +++ b/hgext/obsolete.py @@ -1134,7 +1134,7 @@ """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))