fast-import/fast-export git/bzr:标记文件对历史完整性的重要性是什么?
我目前正在使用 git-bzr-ng 从 bzr 存储库导入多个分支,并且我发现,如果您为每个导入的分支使用不同的目标分支,则该工具不会使用相同的导入和导出标记文件。
阅读git fast-import 文档 并查看 bzr fast-import 文档示例表明相同标记的文件应该从同一存储库导入多个相关但未合并的分支时使用。
问题是,这到底有多重要?我还没有找到一个很好的解释来解释这些标记文件的目的是要防止什么,所以不清楚是否在没有正确使用它们的情况下导入了多个分支,是否存在正确识别祖先的问题,或者是否只是为了性能加快后续分支导入/导出的原因。
I'm currently using git-bzr-ng to import a number of branches from a bzr repository and I've discovered that if you use different target branches for each imported branch the tool does not use the same import and export marks files.
Some reading of the git fast-import Documentation and reviewing of the bzr fast-import documentation examples suggests that the same mark's files should be used when importing multiple related but unmerged branches from the same repository.
Question is, how important is this really? I haven't managed to find a good explanation of what these marks files are intended to protect from, so it's unclear whether if multiple branches have been imported without using them correctly there is a problem with correctly identifying ancestors, or if it's just for performance reasons to speed up subsequent branch imports/exports.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
John Meinel 在 Bazaar 邮件列表 上对同一问题给出了以下答案:
John Meinel gave the following answer to the same question on the Bazaar mailing list: