[PATCH RFC] amend: add extension which extends amend functionality

Durham Goode durham at fb.com
Tue May 7 13:05:01 CDT 2013


On 5/6/13 3:26 PM, "Pierre-Yves David" <pierre-yves.david at ens-lyon.org>
wrote:

>
>On 3 mai 2013, at 02:40, Durham Goode wrote:
>
>> # HG changeset patch
>> # User Durham Goode <durham at fb.com>
>> # Date 1367539819 25200
>> #      Thu May 02 17:10:19 2013 -0700
>> # Node ID d2c73e3828940ae32ea67803235c9b7caf53a7b6
>> # Parent  6406230e4a8ae8ebc412621c86ab464092d99653
>> amend: add extension which extends amend functionality
>
>Lets discuss that on mumble tuersday at 16h UTC (in 15h30)

FYI, Pierre-Yves and I talked about it a bit this morning.  A few take
aways:

- A publicly available extension should probably not use 'hg amend' for
now, since we'll eventually want a real command there.

- The --fixup is too fragile right now because it breaks if you do another
amend before the --fixup. If we wanted it to be accessible to less
experienced users, we'd want to fix this.

- The 'amend --rebase' functionality is useful (and not as hacky as the
--fixup stuff), so it'd be nice to find a way to actually get that
upstream somehow.  'commit --amend --rebase' isn't great, but perhaps
something like 'histedit --amend' as a kind of shortcut for a common
history editing operation.



More information about the Mercurial-devel mailing list