Can't edit commit message by pressing m in 'crecord' interactive mode
Mario Castelán Castro
marioxcc.MT at yandex.com
Thu Aug 24 19:15:52 UTC 2017
On 24/08/17 10:37, Peter Vitt wrote:
> On 2017-08-24 17:04, Mario Castelán Castro wrote:
>> On 23/08/17 09:01, Peter Vitt wrote:
>>> Is this caused by call `hg ci -i` instead of some other command? If so,
>>> what other command has to be called to be able to edit the commit
>>> message throughout un-/checking hunks?
>>
>> I do not have an answer to your question, but I can suggest using “hg
>> commit --amend” if you are looking to edit the commit message of the
>> working directory parent.
>
> Thanks, but that's not what I'm looking for. I want to edit the commit
> message while I'm still de-/selecting hunks to be checked in.
Why don't you simply use the editor that “hg commit” will automatically
launch to input your commit message?
You can also pass a commit message using “hg commit -m 'MESSAGE'”. The
single quotation marks are required to avoid problems with special
characters of the shell.
--
Do not eat animals, respect them as you respect people.
https://duckduckgo.com/?q=how+to+(become+OR+eat)+vegan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20170824/2d4274c2/attachment.asc>
More information about the Mercurial
mailing list