[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: committing changes to file metadata

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-09-17 15:12:13 CEST

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?


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

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



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

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.