Mercurial > hg
comparison hgext/progress.py @ 21240:1a833fcf5a14
amend: use "editor" argument for "memctx.__init__" to save commit message
This patch uses "editor" argument of "memctx.__init__" to save commit
message, instead of explicit editor invocation and saving commit
message by "localrepository.savecommitmessage()".
By passing one of "commiteditor" or "commitforceeditor" as "editor",
"memctx.__init__" saves commit message, even when editor invocation is
not needed.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Mon, 05 May 2014 21:26:40 +0900 |
parents | 4694ccd5d994 |
children | be4270d27a7e |
comparison
equal
deleted
inserted
replaced
21239:19d98da5c018 | 21240:1a833fcf5a14 |
---|