减少 mercurial .hg 文件夹大小

Reduce mercurial .hg folder size

我有一个 .hg/store/data 下有几个 GB 的 mercurial 存储库。 我在 .hg/store/data 下发现了几个以下划线开头的大文件夹(例如:.hg/store/data/_some_path_example),它们不存在于工作目录中。

我尝试将 hg convert extension 与带有 exclude 语句的文件映射一起使用,但目录仍然存在于转换后的 repo 中。 将删除带下划线的 .hg/store/data/_some_path_example 路径的排除语句中的路径应该是什么?...

谢谢!

为了其他拥有相同question/issue的人: 正如我在评论中所写,前导下划线的含义是 mercurial 指定下划线后的字母为大写的方式。 我插入了带有正确大小写字母的排除行,并且转换按计划进行。