Bazaar 中如何将重量级结账改为轻量级结账? [英] How can a heavyweight checkout be changed to a lightweight checkout in Bazaar?

查看:22
本文介绍了Bazaar 中如何将重量级结账改为轻量级结账?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个像这样的共享存储库:

I have a shared repository like so:

repo/
  mainline
  featureA
  featureB

我喜欢在一个地方完成我所有的开发,所以我做一些类似的事情

I like to do all my development in one place, so I do something like

> cd /Development/workingArea
> bzr checkout featureA
...
> bzr commit -m "Worked on featureA"
> bzr switch featureB

随着时间的推移,我将我的功能分支修改为无树分支,因为我发现我从未与那些工作树进行交互.

Over time, I've modified my feature branches to be treeless branches, as I found I was never interacting with those working trees.

我还想更改/Development/workingArea 中的结帐,使其成为轻量级结帐,就像我使用了 --lightweight 选项一样.我找不到类似于 bzr remove-tree 命令的命令,可以从结帐中删除历史记录.

I would also like to change the checkout in /Development/workingArea so that it is a lightweight checkout, as if I had used the --lightweight option. I can't find a command similar to the bzr remove-tree command that would remove the history from the checkout.

谁能告诉我怎么做?

推荐答案

bzr 重新配置命令:

bzr reconfigure command:

bzr reconfigure --lightweight

请参阅 http://doc.bazaar.canonical.com/latest/en/user-reference/reconfigure-help.html

这篇关于Bazaar 中如何将重量级结账改为轻量级结账?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆