##// END OF EJS Templates
push: use stepsdone for obsmarkers push...
Pierre-Yves David -
r22036:f1528ef1 default
parent child Browse files
Show More
@@ -590,9 +590,12 b' def _localphasemove(pushop, nodes, phase'
590
590
591 def _pushobsolete(pushop):
591 def _pushobsolete(pushop):
592 """utility function to push obsolete markers to a remote"""
592 """utility function to push obsolete markers to a remote"""
593 if 'obsmarkers' in pushop.stepsdone:
594 return
593 pushop.ui.debug('try to push obsolete markers to remote\n')
595 pushop.ui.debug('try to push obsolete markers to remote\n')
594 repo = pushop.repo
596 repo = pushop.repo
595 remote = pushop.remote
597 remote = pushop.remote
598 pushop.stepsdone.add('obsmarkers')
596 if (obsolete._enabled and repo.obsstore and
599 if (obsolete._enabled and repo.obsstore and
597 'obsolete' in remote.listkeys('namespaces')):
600 'obsolete' in remote.listkeys('namespaces')):
598 rslts = []
601 rslts = []
General Comments 0
You need to be logged in to leave comments. Login now