On 9/17/07, Nathan Nobbe <quickshiftin@gmail.com> wrote:
> hello all,
>
> im working w/ a project versioned under svn.
> many of the files in the project have windows newline characters.
> since we use linux as the server this is very annoying when opening the
> files on the linux systems.
> i have found a program to convert the windows newlines to unix newlines
> and applied it recursively to the source. now i would like to commit the
> change,
> however, svn does not recognize the change to the metadata as eligible for a
> commit.
> is there a way to tell svn i want to commit the changes to the file
> metadata?
Nathan,
From what you describe, I think didn't change the metadata
(svn:eol-style) but the content of the files (CRLF->LF). Additionally,
the tool will have reset the last-modified date on the files back to
what it was before changing the content. Subversion uses the
last-modified date as a means to check whether a file might have
changed since it last updated/checkedout that file, meaning it won't
notice the change. (In 1.5, it will start looking at the filesize
too.)
If you want to use a mixed-eol-style environment, you should consider
setting the svn:eol-style property on your sources to 'native'. See
http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html#svn.advanced.props.special.eol-style
.
bye,
Erik.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 17 16:42:16 2007