Help with plumbing a new WorkingTreeFormat in

Ian Clatworthy ian.clatworthy at canonical.com
Thu Jul 31 01:59:24 BST 2008


Robert Collins wrote:
> 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.

Thanks guys. I'll read that section and try the above and get back to
you with any additional Qs I have.

Ian C.



More information about the bazaar mailing list