Mercurial > evolve
diff hgext/evolve.py @ 1041:7632f1f79946
evolve: do not even try to pull if all remote markers are known
previously we were explicitly pulling an empty bundle.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 08 Aug 2014 18:01:02 -0700 |
parents | 640f3280559e |
children | 86bd794f6037 |
line wrap: on
line diff
--- a/hgext/evolve.py Fri Aug 08 17:49:22 2014 -0700 +++ b/hgext/evolve.py Fri Aug 08 18:01:02 2014 -0700 @@ -2658,6 +2658,10 @@ 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 + new = 0 if b2xpull: