comparison mercurial/exchange.py @ 20434:e009e59e4566

push: drop now outdated comment This `_pushobsolete` now exist for modularity purpose.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Thu, 30 Jan 2014 19:51:21 -0800
parents 6af248474224
children 46ede894d5a4
comparison
equal deleted inserted replaced
20433:6af248474224 20434:e009e59e4566
257 257
258 _pushbookmark(pushop) 258 _pushbookmark(pushop)
259 return ret 259 return ret
260 260
261 def _pushobsolete(pushop): 261 def _pushobsolete(pushop):
262 """utility function to push obsolete markers to a remote 262 """utility function to push obsolete markers to a remote"""
263
264 Exist mostly to allow overriding for experimentation purpose"""
265 repo = pushop.repo 263 repo = pushop.repo
266 remote = pushop.remote 264 remote = pushop.remote
267 if (obsolete._enabled and repo.obsstore and 265 if (obsolete._enabled and repo.obsstore and
268 'obsolete' in remote.listkeys('namespaces')): 266 'obsolete' in remote.listkeys('namespaces')):
269 rslts = [] 267 rslts = []