待辦事項 #39697

Mercurial support missing ability to strip revisions

啟用日期: 2019-10-22 08:52 最後更新: 2020-05-07 13:54

回報者:
負責人:
(無)
類型:
狀態:
關閉
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
7
處理結果:
修正
檔案:
Vote
Score: 2
100.0% (2/2)
0.0% (0/2)

細節

Once a revision is uploaded to a Mercurial repository, there is no way to remove it. With git you just make sure that no branch pointer points at it and it goes away on its own. But, by design, Mercurial has no such mechanism.

By design Mercurial does have a mechanism for 'garbage collecting' unused branch heads, and in fact the concept of an unused branch head doesn't even exist in Mercurial. But, there is a way of removing a revision (and by necessity all of it's descendants) and that's the strip command and associated strip extension.

The ability to use this is, IMHO, a critical feature for Mercurial hosting, otherwise the only way to remove a revision is to remove the whole repository and re-upload it without the revisions you want to strip. This strip feature appears to be completely missing from OSDN's Mercurial support.

Phases are also not supported, but since OSDN repositories would be considered by most to be inherently 'publishing' repositories, this is not nearly so critical.

Ticket History (3/5 Histories)

2019-10-22 08:52 Updated by: omnifarious
  • New Ticket "Mercurial support missing ability to strip revisions" created
2019-11-06 11:53 Updated by: sado
評語

To have a better understanding of the situation you reported, our tech team has checked the specification/mechanism of Mercurial. As a result, we are convinced that you got a point, and decided that we should implement some kind of solution.

However, because there are other things of high priority we have to work on, it may take a while.

2019-12-04 16:01 Updated by: sado
評語

Strip function was implemented.

https://osdn.net/projects/docs-en/news/26144

2019-12-05 04:07 Updated by: omnifarious
評語

Thank you! :-)

2020-05-07 13:54 Updated by: ishikawa
  • 處理結果 Update from to 修正
  • 狀態 Update from 開啟 to 關閉

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入