Undo an hg push (backout?)

前端 未结 4 1424
野趣味
野趣味 2020-12-24 01:38

I made a big oops, and could use some help undoing it.

We have two repositories-a fairly stable repository, and a repository we\'re working on changes in. I just ma

4条回答
  •  悲&欢浪女
    2020-12-24 02:05

    You all present little to complicated solution to this problem, that can occur to any of us.

    What I did, I logged on remote desktop to my central repository, and there with mq extension changed revision status to "draft" and "stip"-ed them.

    The only downside of it is, if someone has copy of repo with stripped revisions and will push, they will reappear. So if you can, ask others to a) do the same (draft, strip) b) delete their local repository and resync with modified one

    All can be achieved easily with TortoiseHg.

提交回复
热议问题