collapse after rebase

Dmitriy Morozov hg at foxcub.org
Sun Dec 7 19:33:30 CST 2008


Hi,

Suppose I clone a repository, make a number of local commits, then
pull from the remote repository, and want to rebase my local changes.
Furthermore, suppose I want to collapse them. If I remember this from
the start, and do `hg rebase --collapse`, then everything works out
perfectly as I intend. However, if I do `hg rebase`, and then remember
that I wanted to collapse the local changes, is there a way to do
this? Or did I screw up my entire local repository?

I guess another way of asking this question is whether it's possible
to use rebase --collapse to collapse a linear set of changes (with no
merges in or out) on a head?

Thanks.
Dmitriy


More information about the Mercurial mailing list