如何使我的启动板下载速度更快
我正在对一些启动板存储库进行 bzr 分支,并且需要很长时间(几个小时),
因为这是分布式版本控制,是否有可能拥有这些存储库的本地副本(我可以在克隆它们之前手动更新),让我们称之为缓存机器,然后总是克隆它们?两台机器(“本地副本”机器和“目标机器”)上的步骤和命令是什么?)
我不希望将集市用作本地副本,而是将其用作普通存储库。
但我希望这会更快?如果没有,也许我可以 rsync 缓存以获取目标计算机上的初始分支,对吗?
I am bzr branching some launchpad repositories and it takes very long (hours)
As this is distributed version control, wouldn't it be possible to have a local copy of those repositories (that I could just manually update before I clone them), let's call it a cache machine, and then always clone them? What would be the steps and the commands on the 2 machines (the "local copy" machine and the "target machine"?)
I would prefer not having a bazaar serve as the local copy but just a normal repositoy.
But I expect this would be faster? If not, maybe I could rsync the cache to get the initial branch on the target machine, am I right?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最简单的方法是在本地使用共享存储库。这样,当您克隆分支时,bzr 将自动重用共享存储库中存在的任何修订。
http://wiki.bazaar.canonical.com/SharedRepositoryTutorial
The easiest thing to do would be to use a shared repository locally. That way bzr will automatically reuse any revisions present in the shared repository when you clone a branch.
http://wiki.bazaar.canonical.com/SharedRepositoryTutorial