>>> "DG" == Dmitry Gutov writes: > On 01.10.2022 08:58, Uwe Brauer wrote: >> I think the most common use case, that also git users use quite a bit, >> would be the rebase command, since in my understanding vc does not >> support it and so the ChangeLog in that case would be unavailable. > Wouldn't you need to insert the older entries from ChangeLog, as > you're rebasing the older commits? Ok, to give some more details: I don't like rebasing in fact, I hate it, I prefer merging. However there is a particular workflow, where it comes in handy. Suppose I develop some code on a branch that I don't push (in hg that would be a secret branch, as far as I know git does not have phases) or say I cannot push since I don't have write access. When I finish the other developers only want to see the final change set. So I rebase the branch on top of master (in git speech) and collapse all changesets to one (not sure git has this feature). In that particular case, I don't want earlier older entries from the ChangeLog. > And why are you inserting ChangeLog entries at all? Shouldn't they > already be in the commit messages to be edited? I use hg, mainly for 1. latex 2. emacs 3. Org mode. I have some add-ons functions so that add-change-log-entry-other-window add some specific information about which while and which section or function was modified. As far as a know there is nothing in vc that comes close. And that is the reason why the log-edit-insert-changelog is so useful in my workflow. BTW, interesting (fun) fact. Mercurial and git are often orthogonal in there default setting (like mercurial hg log always show all branches, if you want only particular one, you need to specify which git is the other way around, also in commit: mercurial commits all change set to all files per default but you can change that by using the interactive option (I think git stage is something similar). Now there is a package commit-patch, with fortunately a emacs interace commit-patch-buffer.el that allows mercurial users to interactive commit some hunks but not all (magit has this for a long time I think) Now the point is that this interface, also it does not rely on vc-next-action, allows me to use log-edit-insert-changelog. I have to find out how. -- I strongly condemn Putin's war of aggression against the Ukraine. I support to deliver weapons to Ukraine's military. I support the ban of Russia from SWIFT. I support the EU membership of the Ukraine.