Search code examples
svnmigrationeol

EOL in SVN repository setting it to CRLF


I'm migrating a CVS repository to Subversion using the polorion tool. When I import the dump created using svnadmin load, automatically the .java and .txt files are set to CRLF EOL. But the XML and html ect stay as LF.

The requirement is to set all these files with EOL as CRLF. I did setup the C:\Users\\AppData\Roaming\Subversion\config to enable auto props and set the *.xml = svn:eol-style=native or even *.xml = svn:eol-style=CRLF.

However when I try to import this does not help.

I read about the RDC (Repository dictated configuration) . All support materials and tutorials explain the propget. But how to I setup this property at the repository level.

I can set this property as a one time thing(only for the dump file import) and remove it later. So when users are actually using it I donot need to enforce this.

Kindly help.


Solution

  • Thanks Marcus. After good of painstaking search I have found the solution. The svi importer till from polotion has a config.autoprops folder. This has the option to set the eol style in it. Setting this and creating svn dumps resolved the issue

    Ps: answered this for my own future reference