Getting rid of a dangling changeset after rebase in mercurial

Posted by steglig on Stack Overflow See other posts from Stack Overflow or by steglig
Published on 2010-05-24T12:29:44Z Indexed on 2010/05/24 12:31 UTC
Read the original article Hit count: 246

Filed under:
|

Hi,

I did a hg update --force <repo> to get another seemingly unrelated repository into the current one.

Afterwards I merged the first changeset of the other repo (to get renamings "right").

A rebase of the other repository starting from the second changeset left the first changeset (here: revision 5431) dangling in the repository:

o  changeset:   5433:68c67c7e0bbb
|
o    changeset:   5432:331ee440893a
|\   
| |
| o  changeset:   5431:1023b4c44f18
|
o  changeset:   5430:15aff858ec36

To clean things up I'd like to get rid of revision 5431. How would I do that?

Thanks.

© Stack Overflow or respective owner

Related posts about mercurial

Related posts about rebase