[ANN] EOL conversion support now in bzr.dev

Ian Clatworthy ian.clatworthy at internode.on.net
Thu Apr 2 10:41:30 BST 2009


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.

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