Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Wilfred opened this issue Sep 28, 2018 · 2 comments
Open

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

Wilfred opened this issue Sep 28, 2018 · 2 comments

Comments

@Wilfred
Copy link
Collaborator

Wilfred commented Sep 28, 2018

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 <[email protected]>
HG: changed ...
@Wilfred
Copy link
Collaborator Author

Wilfred commented Oct 1, 2018

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

@Bounga
Copy link
Collaborator

Bounga commented Oct 2, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants