There might be ways to remove the <CRLF> line endings during a dump/load,
but there is also a good chance that you'll break earlier revisions of your
releases. For example, if you package your files with a checksum, that could
be changed by converting the <CRLF> to a <LF>.
It also might be entirely unnecessary too. Some files such as Java files and
XML files can use either line ending. Unless you are talking about things
like shell scripts or Unix Makefiles, there is no reason to bother with the
Don 't bother with the eol-style line change during the conversion, but
modify the line endings once the conversion is completed. This would
1). Checkout of all files
2). Examining which ones are truly text based
3). Using a program like dos2unix to convert them.
4). Adding the property svn:eol-style property with the appropriate value
(either "native" or "LF)
5). Then committing those changes with a clear description of the type of
changes that were made.
You would also create a pre-commit trigger to make sure that the
svn:eol-style property stays on these files and is added to any new files.
This way, your Subversion repository still matches your VSS repository
(which is what you want), and you'll have a commit transaction that will
help you mark that files were modified to change their line endings.
I did something similar when I did our conversion from CVS to SVN. However,
I only bothered with shell scripts, Perl scripts, and other files that had
to have the correct EOL style line ending.
On Tue, Sep 22, 2009 at 5:59 PM, poonam ahuja <poonamah_at_yahoo.com> wrote:
> I am converting a repository from VSS to svn. The svn dump that is created
> has CRLF ending for most of the text files (svn:eol-style is not set for
> these files). I am exploring options in the conversion routine to correct
> this. However, in case this doesn't work, is there any option to do the
> same after the svn dump creation?
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-23 17:06:39 CEST