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

RE: Re: Detecting

From: Timur Khanipov <khanipov_at_gmail.com>
Date: Wed, 11 Mar 2015 12:42:04 -0700 (PDT)

> if you change the svn:eol-style property to something the file does not
> have (i.e., the file has CRLF and you set the property to LF), then

I was setting svn:eol-style to 'native' in my experiment. None of the files had svn:eol-style previously set.

> svn considers the file contents as modified.

I think this is bad behavior if not a bug. I usually pedantically check modifications before committing and if I set svn:eol-style for a bunch of files I get nervous when some of them are marked as 'modified (property change only)' and some simply as 'modified'. This makes me double check all the 'modified' files which is painful. I do not see any reason to mark files as 'modified' with the only change being the svn:eol-style property value. Could you please give a use case when this behavior is needed?

Please correct me if this issue is related solely to Subversion and not TortoiseSVN. In this case I will repost my report to the appropriate mailing list.

> Once you commit the property
> change, the line endings in the file are automatically adjusted to what
> the property says and the file then will show the content status as not
> modified anymore.

I would also like to point out that it is strange that dubious behavior occurs particularly with CRLF files which in fact should have exactly CRLF line endings in Windows if svn:eol-style is 'native' and thus should not be changed after commit.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3104590

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-03-11 20:42:12 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.