[RFC] rebase --collapse

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Aug 12 15:20:26 CDT 2008


On Sun, 10 Aug 2008 20:54:11 +0200, Stefano Tortarolo <stefano.tortarolo at gmail.com> wrote:
> Hello,
> I've forked my repo to work on implementing a collapse option for
> rebase.  This option is about allowing to collapse the revisions that
> are going to be rebased.
>
> What do you think about the whole idea?
>
> In particular:
> - what should happen to the existing commit messages?
> 	-- replace them with a user specified one
> 	-- collapse them as well (something like mq qfold)
> 	-- what else?
> - how should we handle merges?

I think the 'UI' of qfold is nice to copy:

  - Collapse the logs by default.
  - Include a --edit/-e option to manually edit the log.
  - Include a --keep option, if possible, to avoid the
    stripping of the rebased changesets.



More information about the Mercurial-devel mailing list