tags:

views:

312

answers:

1

I have a pair of commits that should really be just one. If I was using git, I would use:

git rebase -i <some-commit-before>

and then squash them.

Can I do that in mercurial? If so, how?

+8  A: 

Yes, you can do this using mercurial without any extensions by Concatenating Changesets.

Alternately if you want to use an extension you could use:

Ry4an
Hmm, that wiki page should really mention the Collapse extension, which is made for exactly that purpose.
Steve Losh
Yeah, I fished that answer out of the dupe questions I liked to in my comment on the general question. I think it's your answer on that one.
Ry4an