mercurial - 放弃 Mercurial 话题

标签 mercurial

放弃当前在 Mercurial topic 中不需要的变更集的最佳方法是什么,这些变更集已经被推送并且不能被剥离?

换句话说,是否可以从 hg topics 输出中删除主题而不发布它?

最佳答案

hg prune -r "topic(some-topic-name)" 会将所有标有 some-topic-name 主题的修订标记为在本地过时hg push --hidden 然后应该在远程存储库中将它们标记为这样。 --hidden 并不总是必需的。

关于mercurial - 放弃 Mercurial 话题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59610868/

相关文章:

mercurial - 与 Mercurial 的双向美化器集成

android - 适用于 Android Studio 项目的 Mercurial .hgignore

mercurial - 如何重命名 java 类及其在 Mercurial 支持下的用法?

version-control - 管理复杂的存储库结构 - 模块依赖项和共享代码

git - 我可以让 hg log 以相反的顺序打印历史记录吗?

performance - 乌龟 Mercurial 慢

mercurial - 是否有 Mercurial 内置或扩展可以从存储库根目录中删除所有 "non-mercurial"文件?

svn - 从 svn 迁移时我应该如何组织 Mercurial 存储库

linux - Mercurial 差异 merge : What tool is this and how do I use it?

git - 从 Mercurial 迁移到 Git 并轻松返回?