How can a heavyweight checkout be changed to a lig

2019-06-23 01:58发布

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.

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.

Can anyone tell me how to do it?

1条回答
闹够了就滚
2楼-- · 2019-06-23 02:27

bzr reconfigure command:

bzr reconfigure --lightweight

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

查看更多
登录 后发表回答