Commit 9bbcd274 authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

obsolete: fix bug in detection of remote obsolete support

We were checking again local...
parent 7653f80fd7a4
......@@ -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))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment