[ANN] EOL conversion support now in bzr.dev

Brian de Alwis bsd at cs.ubc.ca
Mon Apr 20 17:21:15 BST 2009


Hi Alexander.

On 20-Apr-2009, at 7:36 AM, Alexander Belchenko wrote:
> 1) When user create new branch of existing project and there is  
> supposed to be versioned rules in the tree (e.g. in the .bzrrules  
> file in the root of the tree) then these rules won't apply on  
> initial build of working files because this rules file should exist  
> before tree will start to build. I don't see any reliable way to  
> solve this.

Or even worse, a circular situation where the content of .bzrrules  
actually requires some setting in .bzrrules :-)

It would seem fair that .bzrrules would be special file whose content  
could be retrieved right away, wouldn't it?

> 3) So there is very high chances that new tree will be created  
> without actual rules in play, so there should be special way to  
> recreate working tree after rules will be set-up. May be "update"  
> command with some special flag should do this job?

The end of the help on 'content-filters' talks about refreshing your  
working tree. If you delete a file and then revert, the replacement  
will have the filters applied.

I like your idea of 'update', but maybe it should be on  
'reconfigure'.  Perhaps something like:

	bzr reconfigure --apply-rules

Brian.

-- 
"Amusement to an observing mind is study." - Benjamin Disraeli




More information about the bazaar mailing list