Skip to content
Snippets Groups Projects
Commit 9bbcd2746898 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
Branches
Tags 0.4.0
No related merge requests found
...@@ -1134,7 +1134,7 @@ ...@@ -1134,7 +1134,7 @@
"""wrapper around pull that pull obsolete relation""" """wrapper around pull that pull obsolete relation"""
self._turn_extinct_secret() self._turn_extinct_secret()
result = opush(remote, *args, **opts) 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() data = self.obsstore._writemarkers()
r = remote.pushkey('obsolete', 'dump', '', r = remote.pushkey('obsolete', 'dump', '',
base85.b85encode(data)) base85.b85encode(data))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment