Changing commit message only

Marcus Harnisch marcus.harnisch at verilab.com
Fri Feb 16 08:18:43 UTC 2018


Thanks Cody. Sadly, ‘evolve’ is also experimental, AFAIK. I will keep that
in mind for my personal stuff though.
Cheers,
Marcus

On Thu, Feb 15, 2018 at 6:23 PM, Cody Scott <cody at perspexis.com> wrote:

> hg metaedit will work and you can even pass it --user or --date
>
>
> On Thu, Feb 15, 2018 at 11:53 AM, Marcus Harnisch <
> marcus.harnisch at verilab.com> wrote:
>
>> Thanks Kevin. Presumably the same works for ‘commit’ (since ‘amend’ is
>> still experimental)?
>>
>> On Thu, Feb 15, 2018 at 5:47 PM, Kevin Bullock <
>> kbullock+mercurial at ringworld.org> wrote:
>>
>>> > On Feb 15, 2018, at 10:35, Marcus Harnisch <
>>> marcus.harnisch at verilab.com> wrote:
>>> >
>>> > Is there a more direct way to amend a commit with just a message
>>> change, if there are modified files in the repo? Currently I am working
>>> around this by shelving changes, amending the last commit (which strangely
>>> works with no file changes), then unshelving again. This appears a bit
>>> heavy. Couldn't amend made work even with no file changes? Preferably also
>>> in interactive mode?
>>>
>>> I often use `hg amend -i -X .` (note the '.') for this purpose.
>>>
>>> pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
>>> Kevin R. Bullock
>>>
>>>
>>
>> _______________________________________________
>> Mercurial mailing list
>> Mercurial at mercurial-scm.org
>> https://www.mercurial-scm.org/mailman/listinfo/mercurial
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20180216/4ccdeff8/attachment-0002.html>


More information about the Mercurial mailing list