[PATCH RFC] commit: add --amend option to amend the parent changeset
arne_bab at web.de
Mon Feb 20 08:31:40 CST 2012
Am Montag, 13. Februar 2012, 19:44:56 schrieb Pierre-Yves David:
> (3) As explained explained above, the amend concept **will** most certainly
> need additional option and flagging. If amend operation is available
> through a commit flag we have two solution to extend it:
> A) Add flag to commit which are not related to what commit does.
> B) Introduce a new command that finish the job.
> Both solutions leads to inconsistent UI.
I do not think so.
This is equivalent to having hg pull -u. It cannot do everything that hg
update can do, but it is extremely useful. Because in most cases I just need
the simple use case.
If I want to update to non-tip, I use hg update.
If I want to do more than just amend the latest commit, I use hg amend.
More exactly: If I want to do more than
hg rollback; C-r com
I use hg amend. But most of the time, I only need the simple “fix my last
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 316 bytes
Desc: This is a digitally signed message part.
More information about the Mercurial-devel