Browsing Bazaar

Matt Nordhoff mnordhoff at mattnordhoff.com
Thu Jan 22 21:21:42 GMT 2009


A. S. Budden wrote:
> 2009/1/22 Gary van der Merwe <garyvdm at gmail.com>:

[snip]

>> If you are using the --no-trees option on your servers repo, this will
>> be allright.

No it won't. I have a small --no-trees repo (only about a dozen
branches), and it still took 95 seconds on my fairly-decent Internet
connection.

> This leads me directly onto another question that was occurring to me
> before (but my post was long enough already!)  I saw the --no-trees
> option in section 5.2 of the user guide, but I don't really know how
> to use it.  I'll explain: I created my repository with svn2bzr (as
> discussed in another thread), so I didn't ever "init-repo".  Is it
> possible to make a repository into a no-trees repository after
> creation, or would I have to edit svn2bzr.py?

Not through the command line UI, though there's a patch on the mailing
list to add it to "bzr reconfigure".

At the moment, you have to create the file
.bzr/repository/no-working-trees to turn them off (its contents don't
matter; you can leave it empty), or delete it to turn them on.

Anyway, "bzr init-repo --no-trees" is only a default. You can change it
per branch ("bzr remove-tree" to remove it, "bzr co" to create it). And
when pushing to a remote server, bzr won't create working trees anyway.

> Many thanks,
> 
> Al
-- 



More information about the bazaar mailing list