possibly related to bug 3675, but in 2.4 running hg commit --amend --logfile somefile pops open an interactive editor rather than accepting somefile as the new commit message (as in 2.3)
Confirmed. I don't think this is intentional. Regression -> upgrading to urgent.
Also affect --message too. I'm currently texting a fix.
Fixed by http://selenic.com/repo/hg/rev/45bd0cd7ca04 Pierre-Yves David <pierre-yves.david@logilab.fr> amend: force editor only if old message is reused (issue3698) This regression was added by 9732473aa24b. It triggered the editor even if --message or --logfile were provided. (please test the fix)