[ANN] EOL conversion support now in bzr.dev

Alexander Belchenko bialix at ukr.net
Thu Apr 2 08:43:09 BST 2009


Ian Clatworthy пишет:
> Revision 4233 of bzr.dev now directly supports EOL conversion.
> If you are an early adopter interested in this feature, now
> is the time to grab the latest copy of bzr.dev, run
> 
>   bzr help eol
> 
> and test it! Oh, and don't forget to remove the (experimental)
> bzr-eol plugin if you have it installed.

HOORAY!!!

Many thanks to you, Ian!

> 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.

> 2. Binary file detection is very simplistic at this stage - it
>    looks for a null byte in the file. I'd appreciate it if
>    someone put a patch up to make it smarter. Any takers?

It depends on what you call "smarter".

IMO bzr should have ability to specify binary files via rules. E.g.

[name *.pdf]
binary = true

If you have better syntax in mind -- speak on.

> If you have any problems, please raise bugs and tag them as eol.
> Be sure to read the help on content filters (bzr help content-filters)
> if you run into a problem as the issue may be a known limitation
> of that generic feature.
> 
> Thanks to everyone in the community for their ideas, feedback and
> assistance in delivering this feature. I hope the wait has been
> worthwhile and that our solution meets everyone's needs.
> 
> Enjoy,
> Ian C.
> 
> 




More information about the bazaar mailing list