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

Detecting 'property change only' status with CRLF line endings

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

The 'Status' field of the 'Check for modifications' window is able to show 'modified (property change only)' value to indicate that file content hasn't actually changed. I noticed that sometimes when I change only the svn:eol-style property Tortoise fails to detect this situation and shows simply 'modified' status instead of 'modified (property change only)'. A closer look at the file using 'Compare with base' command confirms that nothing changed but svn:eol-style (I made sure that line ending changes have not been concealed by settings the 'Compare whitespaces' tick).

Experiments revealed that if the original file has LF line endings, Tortoise shows status correctly but if it has CRLF line endings, Tortoise shows 'modified' instead of 'modified (property change only)'. I was able to reproduce this behavior with a repo consisting of only two files -- one with LF endings and one with CRLF line endings. I am using TortoiseSVN 1.8.10, Build 26129 - 64 Bit.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-03-11 12:41:03 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.