mercurial/exchange.py
changeset 22036 f1528ef123f4
parent 22035 24bb01f42e82
child 22051 e894de232f35
--- a/mercurial/exchange.py	Sat Jul 05 19:32:20 2014 +0200
+++ b/mercurial/exchange.py	Thu Jul 31 13:51:17 2014 -0700
@@ -590,9 +590,12 @@
 
 def _pushobsolete(pushop):
     """utility function to push obsolete markers to a remote"""
+    if 'obsmarkers' in pushop.stepsdone:
+        return
     pushop.ui.debug('try to push obsolete markers to remote\n')
     repo = pushop.repo
     remote = pushop.remote
+    pushop.stepsdone.add('obsmarkers')
     if (obsolete._enabled and repo.obsstore and
         'obsolete' in remote.listkeys('namespaces')):
         rslts = []