mercurial/exchange.py
changeset 25559 521c1a3139c9
parent 25516 1e37bd83dc66
child 25640 39f0064a3079
--- a/mercurial/exchange.py	Fri May 29 13:25:34 2015 -0400
+++ b/mercurial/exchange.py	Thu Jun 11 13:02:21 2015 -0700
@@ -789,11 +789,11 @@
     """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 pushop.outobsmarkers:
+        pushop.ui.debug('try to push obsolete markers to remote\n')
         rslts = []
         remotedata = obsolete._pushkeyescape(sorted(pushop.outobsmarkers))
         for key in sorted(remotedata, reverse=True):