Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
不久前我创建了一个存储库作为测试,但我现在想创建一个具有相同名称的不同存储库 - 有没有办法使用 mercurial-server 删除现有存储库,并创建另一个具有相同名称的存储库?或者也许是一种覆盖存储库内容的方法?
Mercurial 存储库只是文件系统路径,因此您应该能够删除存储库并重建一个它不在的新存储库。看起来,mercurial-server 似乎用一个特殊的受限 shell 包装了标准 repos,以控制访问。我从来没有使用过 mercurial-server,但我不明白为什么你不能在文件系统级别创建目录的备份,然后 rm 它并重新开始..