[ANN] EOL conversion support now in bzr.dev

Alexander Belchenko bialix at ukr.net
Thu Apr 2 10:56:10 BST 2009


Ian Clatworthy пишет:
> Alexander Belchenko wrote:
> 
>>> Some things to note:
>>>
>>> 1. We only support the definition of rules globally at the
>>>    moment, rules can't be configured per project or branch yet.
>>>    I'm half way through a patch for this but, realistically,
>>>    this probably won't make the 1.14 cut.
>> I'd like to help here. Because I simply can't use global rules.
>> My working branches have mixed eols in various weird combinations today.
> 
> That would help me a *lot*. Here's my latest code that you
> can start from: https://code.edge.launchpad.net/~bzr/bzr/rules-location.
> At a minimum it needs:
> 
> * tests written
> * the help for rules updated
> * the help for configuration settings updated
> * a NEWS entry.
> 
> I doubt the code works yet so it will need changes as well. :-)
> 
> One thing to think about is how to interpret relative paths. Are they
> relative to the root of the tree or the root of the branch? It matters
> when using a lightweight checkout pointing to branches on a network
> drive say.

I'm tempting to say: rules are needed for working tree operations, right?
So they should be related to tree, not to the branch.
Therefore relative paths should be always relative to the tree root.

> To keep the scope as small as possible in an initial cut, I'd be tempted
> to just get local, absolute paths working, reviewed and committed. We
> can then enhance it from there to support relative paths and URLs.
> 
> Ian C.
> 
> 




More information about the bazaar mailing list