hgext/evolve.py
changeset 1140 b7d85cd8ec7b
parent 1137 9cfbed50dfee
child 1141 ca17770d2ee9
--- a/hgext/evolve.py	Wed Oct 22 15:05:54 2014 -0700
+++ b/hgext/evolve.py	Sat Oct 25 22:25:42 2014 -0400
@@ -1825,8 +1825,9 @@
     """
     opts = opts.copy()
     edit = opts.pop('edit', False)
+    log = opts.get('logfile')
     opts['amend'] = True
-    if not (edit or opts['message']):
+    if not (edit or opts['message'] or log):
         opts['message'] = repo['.'].description()
     _resolveoptions(ui, opts)
     _alias, commitcmd = cmdutil.findcmd('commit', commands.table)