hgext/evolve.py
changeset 1488 3dec62fc266e
parent 1485 1ba64be11bf8
parent 1487 ee5391999f2d
child 1494 aca2495425a6
--- a/hgext/evolve.py	Sat Aug 08 12:42:57 2015 -0700
+++ b/hgext/evolve.py	Mon Aug 10 00:44:53 2015 -0700
@@ -2070,7 +2070,7 @@
         result = 1
     else:
         aspchildren = _aspiringchildren(repo, [repo['.'].rev()])
-        if not opts['evolve']:
+        if not opts['evolve'] or not aspchildren:
             ui.warn(_('no children\n'))
             if aspchildren:
                 msg = _('(%i unstable changesets to be evolved here, '