mercurial - 一个 Mercurial 存储库可以驻留在另一个 Mercurial 存储库中吗?

标签 mercurial bitbucket mercurial-subrepos

一个 hg 存储库可以存在于我的本地文件系统上的另一个 hg 存储库中吗?

screenshot of one repo inside another

我正在拉取“sandbox”的 bitbucket wiki,我想知道是否应该将其放置在 repos/sandbox/wikirepos/sandbox-wiki 中。

前者可以吗?

编辑:参见Subrepository .

最佳答案

简短的回答是肯定的,但我无法想象您为什么想要这样做。

在您的示例中,我认为您应该选择:

repos/sandbox-wiki

[编辑]附加:

Yo Dowg, I herd you like repositories.

So we put a repo in your repo so you can version while you version

:-)

关于mercurial - 一个 Mercurial 存储库可以驻留在另一个 Mercurial 存储库中吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2874015/

相关文章:

git - Mercurial <--> git 备忘单?

mercurial - 为 Go 包设置 Mercurial 存储库

git - 如何解决 hg-fast-export 错误 : "Branch name doesn' t conform to GIT standards: refs/heads/master"

java - Intellij IDEA : Impossible to commit files: 'utf8' codec can't decode byte 0xcc in position 9

git - 将带有子存储库的 mercurial repo 迁移到 git 并保留历史记录的最佳方法?

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

mercurial - 修改mercurial默认命令

git - 如何使用 Android Studio 将 Android 应用程序/项目提交并推送到预先存在的空 Bitbucket 存储库?

git - Atlassian Bitbucket Sourcetree Git Credential Manager 提示

git - 如何修复 Mercurial 卡在 Git subrepo 推送上?