Enable end of of line conversion per branch

Bug #817499 reported by niels
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Unassigned

Bug Description

I have a problem:
I have a bzr branch which was used for many years only under windows. So no line conversion rules are set. I guess in the rep, all files are CRLF. Now I want to start a new project and want to do it right, meaning set up eol conversion, so that in the rep only LF and not CRLF is stored. I read http://doc.bazaar.canonical.com/bzr.dev/en/user-reference/eol-help.html, but if I changed it globally all files are try to converted, so I fear that I will have a mess at the end for my old project.

At the moment there is no appropriate solution for this issue. It makes the usage for bazaar at a company-solution very difficult.
Niels

Revision history for this message
John A Meinel (jameinel) wrote :

This might be a reasonable addition to "bzr-rewrite" if you want to rewrite the file contents.

Also, 'bzr-fastimport-filter' but I'm pretty sure the latter only lets you add/remove contents, not filter them (ATM).

Changed in bzr:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
niels (opensource21) wrote :

Thanks for the hints how to convert a system. However I can imagine that in some repositories a file *.doc must be handle at binary, so no conversion and at other repositories there must be a conversion. So it's a problem of the core-system.

Revision history for this message
niels (opensource21) wrote :

After have a look how the situation is in git, I think it's a must have that this configuration is shared per repository. Otherwise it's nearly impossible to ensure that all developer who works on a project has the right configuration. Further more I fear that this issue is for many people a blocker to use bzr.

Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers