equal
deleted
inserted
replaced
1132 |
1132 |
1133 def push(self, remote, *args, **opts): |
1133 def push(self, remote, *args, **opts): |
1134 """wrapper around pull that pull obsolete relation""" |
1134 """wrapper around pull that pull obsolete relation""" |
1135 self._turn_extinct_secret() |
1135 self._turn_extinct_secret() |
1136 result = opush(remote, *args, **opts) |
1136 result = opush(remote, *args, **opts) |
1137 if 'obsolete' in self.listkeys('namespaces') and self.obsstore: |
1137 if 'obsolete' in remote.listkeys('namespaces') and self.obsstore: |
1138 data = self.obsstore._writemarkers() |
1138 data = self.obsstore._writemarkers() |
1139 r = remote.pushkey('obsolete', 'dump', '', |
1139 r = remote.pushkey('obsolete', 'dump', '', |
1140 base85.b85encode(data)) |
1140 base85.b85encode(data)) |
1141 if not r: |
1141 if not r: |
1142 self.ui.warn(_('failed to push obsolete markers!\n')) |
1142 self.ui.warn(_('failed to push obsolete markers!\n')) |