Red Gate forums :: View topic - SVN - Auto-properties not applying correctly
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Source Control 3
SQL Source Control 3 forum

SVN - Auto-properties not applying correctly

Search in SQL Source Control 3 forum
Post new topic   Reply to topic
Jump to:  
Author Message
JasonNKyle



Joined: 18 Nov 2013
Posts: 1

PostPosted: Mon Nov 18, 2013 3:47 pm    Post subject: SVN - Auto-properties not applying correctly Reply with quote

I am attempting to link my database in SQL Server 2008r2 to our existing SVN repo in a new folder.

However, I get an error on some objects that "xxxx.sql has inconsistent newlines". I am aware this is a known issue with using the eol-style tag in SVN.

I have set my config file (for SVN) to not set that property for SQL files, and can commit these files if I do them manually. But, SQL Source Control is still generating the error.

I have checked the property setting in the following locations:
- My workingbase folder
- The actual repository
- My local automatic settings

They are all "correct" in that they do not set an EOL property. However, when I commit a single object for a test, it shows up with the EOL propertyset. Is this a setting in SQL Source Control somewhere?
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1121
Location: My desk.

PostPosted: Tue Nov 19, 2013 7:36 pm    Post subject: Reply with quote

Thanks for your post- I checked our bugtracker, and this kind of message has come up previously, although only very occasionally.

One user observed that they fixed it with the following process:

Quote:
Problem occoured on an initial commit from my database to an empty source control location. I've figured it out - problem was caused by SVN settings located in %APPDATA%\Subversion\config file. 'enable-auto-props' setting was set to 'yes'. Changing it to 'no' solved my problem.


Could you maybe see if that helps in your case? We don't expose the actual setting anywhere (we use the SharpSVN library, which I believe should honour whatever is configured locally via Tortoise etc.)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group