hg metaedit will work and you can even pass it --user or --date
On Thu, Feb 15, 2018 at 11:53 AM, Marcus Harnisch < [email protected]> 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 < > [email protected]> wrote: > >> > On Feb 15, 2018, at 10:35, Marcus Harnisch <[email protected]> >> 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 > [email protected] > https://www.mercurial-scm.org/mailman/listinfo/mercurial > >
_______________________________________________ Mercurial mailing list [email protected] https://www.mercurial-scm.org/mailman/listinfo/mercurial
