为什么我的 Mercurial 捆绑包中包含“额外修订”?
我们使用捆绑包通过电子邮件同步我们的 Mercurial 存储库。
对于过去的数百个修订版,我们注意到无论包含什么内容,捆绑包大小通常约为 600k。 Mercurial 似乎包含了我们指定之外的修订。我推测它来自开放的分支机构,但关闭所有分支机构并不能解决问题。当我为最新版本创建捆绑包时,它显示它包含 5 个版本。
我通常预计我们的捆绑包只有几十千字节。
在什么情况下,Mercurial 会在捆绑包中包含其他修订版?
We use bundles to synchronize our mercurial repositories over email.
For the past few hundred revisions, we've noticed the bundle size is typically around 600k, no matter what we include. It appears that Mercurial is including revisions other than what we're specifying. I theorized that it was from open branches, but closing all of our branches didn't fix it. When I create a bundle for the latest revision, it says that it includes 5 revisions.
I would normally expect our bundles to only be a few dozen kilobytes.
Under what circumstances would Mercurial include other revisions in a bundle?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否查看过生成的捆绑包以了解其中包含哪些变更集?您可以使用接收存储库上的传入命令来执行此操作。以下是一些提示:
https://www.mercurial-scm.org/wiki/LookingIntoBundles
Have you looked inside the resulting bundles to see what changesets are in there. You can do that with the incoming command on the receiving repo. Here are some tips:
https://www.mercurial-scm.org/wiki/LookingIntoBundles
关闭分支机构可能还不够。尝试关闭然后合并分支。
Closing the branches may not be enough. Try closing, then merging the branch.