如何使我的启动板下载速度更快

发布于 2024-12-06 20:49:25 字数 242 浏览 5 评论 0原文

我正在对一些启动板存储库进行 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

昨迟人 2024-12-13 20:49:25

最简单的方法是在本地使用共享存储库。这样,当您克隆分支时,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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文