diff hgext/evolve.py @ 1042:86bd794f6037

evolve: stop pretending we are pulling markers when we don't If discovery did not found any unknown marker, we should not display the "pulling marker" message.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 08 Aug 2014 18:06:08 -0700
parents 7632f1f79946
children 6a7d34010f8f
line wrap: on
line diff
--- a/hgext/evolve.py	Fri Aug 08 18:01:02 2014 -0700
+++ b/hgext/evolve.py	Fri Aug 08 18:06:08 2014 -0700
@@ -2656,12 +2656,12 @@
         return None # remote opted out of obsolescence marker exchange
     tr = None
     ui = pullop.repo.ui
-    obsexcmsg(ui, "pull obsolescence markers\n", True)
     boundaries = _buildpullobsmerkersboundaries(pullop)
     if not set(boundaries['heads']) - set(boundaries['common']):
         obsexcmsg(ui, "nothing to pull\n")
         return None
 
+    obsexcmsg(ui, "pull obsolescence markers\n", True)
     new = 0
 
     if b2xpull: