ananthakumaran / monky

Magit for Hg
http://ananthakumaran.in/monky/index.html
GNU General Public License v3.0
154 stars 30 forks source link

Prepopulate commit message buffer with hg's usual output #83

Open Wilfred opened 5 years ago

Wilfred commented 5 years ago

This seems to work if you have with-editor installed:

M-x eshell
$ with-editor-export-editor                                                                                                                                                                                                                                                   
Successfully exported EDITOR
$ hg commit

This give you a nice buffer with HG things:


HG: Enter commit message.  Lines beginning with 'HG:' are removed.
HG: Leave message empty to abort commit.
HG: --
HG: user: Wilfred Hughes <me@wilfred.me.uk>
HG: changed ...
Wilfred commented 5 years ago

It'd be worth mentioning C-c C-c too, so users know how to exit the new commit message buffer.

Bounga commented 5 years ago

@Wilfred Yes and C-c C-k too.