mercurial/exchange.py
changeset 20434 e009e59e4566
parent 20433 6af248474224
child 20435 46ede894d5a4
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 = []