Help with plumbing a new WorkingTreeFormat in

Robert Collins robert.collins at canonical.com
Wed Jul 30 22:15:17 BST 2008


On Wed, 2008-07-30 at 10:46 -0500, John Arbash Meinel wrote:


> I think you need to register a new bzrdir combination.
> 
> 
> bzrlib.bzrdir.format_registry.register_metadir('views',
> 	'bzrlib.repofmt.pack_repo.RepositoryFormatKnitPack5',
> 	help='A WT format that supports views, and stackable branch...',
> 	branch_format='bzrlib.branch.BzrBranchFormat7',
> 	tree_format='python.path.to.my.WTFormat5',
> )
> 
> Then you should have access to "bzr upgrade --format=views' (or bzr
> upgrade --views).

Thats right. This is documented in doc/developers/development-repo.txt.

I'll be happy to step you through it if needed Ian.

Cheers,
Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080731/e73b4114/attachment.pgp 


More information about the bazaar mailing list