hgext/evolve.py
changeset 1041 7632f1f79946
parent 1040 640f3280559e
child 1042 86bd794f6037
--- 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: