release status - land new features before monday

John Arbash Meinel john at arbash-meinel.com
Wed Apr 11 16:26:31 BST 2007


Alexander Belchenko wrote:
> John Arbash Meinel ?8H5B:
>> Alexander Belchenko wrote:
> 
>> ...
> 
>>> I don't know how you are guys, but I'm still depressed by new dirstate
>>> format: it's completely unusable on win98,
>>> it has many bugs related to add/move files in working tree,
>>> and it every time want upgrade, even if I don't want this.
>>>
>>> /me want back to knits+tags.
>>>
>>> [µ]
>> We are still using knits :)
> 
> But it's not possible to use knits and tags simultaneously, is it?
> I'm starting to like tags.
> 
> [µ]

You misunderstand.... 'knits' are in the repository. 'dirstate' is the
working tree. (at tags are in the Branch).

So while we don't have a flag for it, you could construct a:

Knit1 repository, with a Branch6 branch, and a WorkingTree3 tree.

That would give you tags and an XML working tree. (And is the same
repository as --dirstate-tags).

I think you could trick your way into doing this, but at the moment we
don't have an easy way to do it from the command line.

But you could write a plugin which supplies:

bzrlib.bzrdir.format_registry.register_metadir('wt3-tags',
    'bzrlib.repofmt.knitrepo.RepositoryFormatKnit1',
    help='Combination of <0.15 WT and 0.15 Branch',
    branch_format='bzrlib.branch.BzrBranchFormat6',
    tree_format='bzrlib.workingtree.WorkingTreeFormat3',
    )

And then you can do "bzr init --wt3-tags" and get what you want.

John
=:->



More information about the bazaar mailing list