Getting rid of a hanging set of changes after a reboot in Mercury

I did to get another seemingly unrelated repository in the current one. hg update --force <repo> hg pull --update --force <other repo>

Then I combined the first set of changes of another repo (to get the renaming of "right").

Rearranging another repository, starting with the second set of changes, left the first set of changes (here: revision 5431), hanging in the repository:

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

To clean things up, I would like to get rid of revision 5431. How do I do this?

Thank.

+3
source share
1 answer

When executed hg strip 5431, strip is in the mq extension .

, , !

+2

Source: https://habr.com/ru/post/1746857/


All Articles