[MERGE] integrated EOL conversion support
Ian Clatworthy
ian.clatworthy at internode.on.net
Mon Mar 30 04:00:07 BST 2009
Matt Doran wrote:
> I do agree with Jonathan. I can't see why the repository format is
> important. (I guess choosing the repo format that most closely matches
> your environment will reduce the amount of translation of these files
> between the checkout and the repository ... and hence performance? ...
> is that the justification?)
Repository format is important because:
1. It determines what gets checked out in the absence of any rules.
2. Projects have existing files with crlf committed and we don't want
to normalise all existing files to a single internal convention:
that would cause annotate and other commands grief because all
text files using something other than lf now would essentially
"reset" w.r.t who contributed what lines.
> I found a recent merge request for tree-specific-rules. Wouldn't this
> be required for large projects to set a consistent EOL policy?
That patch has been abandoned for a new, more flexible approach. See
http://comments.gmane.org/gmane.comp.version-control.bazaar-ng.general/51347.
> I'm not sure how familiar you are with the subversion approach. I'll
> explain it briefly. I'm not saying their approach is perfect, but it
> works pretty well, and gives you another perspective.
Thanks. I had read over it a year back but it's nice to be reminded.
Ian C.
More information about the bazaar
mailing list