Bad working tree format branching smart server for content filtering
Frits Jalvingh
jal at etc.to
Mon Jul 6 16:50:50 BST 2009
Thanks a million, John. I already require a commitcheck plugin so I added it
there. I had to make a small change though; your code complained about a
missing "get" on WorkingTreeFormat"; i replaced the code with:
# Force working tree format 5
from bzrlib import workingtree, workingtree_4
workingtree.WorkingTreeFormat.set_default_format(
workingtree_4.WorkingTreeFormat5()
)
which seems to do the job.
Frits
On Monday 06 July 2009 16:03:07 John Arbash Meinel wrote:
> Put this in a .py file in your plugin path (eg,
> ~/.bazaar/plugins/wt_default.py):
>
> from bzrlib import workingtree, workingtree_4
> workingtree.WorkingTreeFormat.set_default_format(
> workingtree.WorkingTreeFormat.get(
> workingtree_4.WorkingTreeFormat.get_format_string()))
>
> John
> =:->
More information about the bazaar
mailing list