Re: Error with svn diff
From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Wed, 27 Apr 2011 02:05:04 -0500
On Apr 26, 2011, at 18:46, Tony Butt wrote:
> On Fri, 2011-04-15 at 02:31 -0500, Ryan Schmidt wrote:
If you can afford to take the repository offline for awhile, and force everybody to check out new working copies, you can fix your historical line endings by using svndumptool's eolfix option.
http://svn.borg.ch/svndumptool/
> In the meantime, I am trying to educate the
Do educate on which files should have svn:eol-style set to what value, and do encourage developers to use auto-props to automate what they learned, but also install a pre-commit hook script in the repository that absolutely prevents the problem from happening in the future. If you've decided for example that .txt files shall have the svn:eol-style set to native, then write and install a pre-commit hook script that prevents anyone from adding any .txt file that does not have svn:eol-style set to native.
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.