Red Gate forums :: View topic - Updating Scripts folder to SVN
Return to www.red-gate.com RSS Feed Available

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

Updating Scripts folder to SVN

Search in SQL Source Control 1 forum
Post new topic   Reply to topic
Jump to:  
Author Message
markv



Joined: 06 Jul 2010
Posts: 14

PostPosted: Fri Nov 12, 2010 4:08 pm    Post subject: Updating Scripts folder to SVN Reply with quote

Currently, we have always used SQL Compare to create a Scripts folder then SVN Commit'd that into the repository. The Source Control appears to use the same structures (albeit with more directories and an extra source control marker file) so surely can you link to an SVN location that already has a script generated folder?

It would appear that Source Control does not allow it. What is the reason behind this and can it recognise the Scripts folder and therefore "upgrade" it to source control format?
Back to top
View user's profile Send private message MSN Messenger
David Atkinson



Joined: 05 Dec 2005
Posts: 1111

PostPosted: Sat Nov 13, 2010 12:21 am    Post subject: Reply with quote

Could you try creating a blank file called redgate.ssc and put it in the scripts folder.

SQL Source Control should now recognise this as a valid repository.

Let us know if this doesn't work.

David Atkinson
Red Gate Software
Back to top
View user's profile Send private message Send e-mail
markv



Joined: 06 Jul 2010
Posts: 14

PostPosted: Mon Nov 15, 2010 10:36 am    Post subject: Reply with quote

I had half through about doing this, though the Source Control generates more folders than the scripts did, so wasn't sure if that mattered? (Will be giving it a go shortly and let you know).
Back to top
View user's profile Send private message MSN Messenger
David Atkinson



Joined: 05 Dec 2005
Posts: 1111

PostPosted: Tue Nov 16, 2010 8:23 am    Post subject: Reply with quote

Did that work out for you?
Back to top
View user's profile Send private message Send e-mail
markv



Joined: 06 Jul 2010
Posts: 14

PostPosted: Tue Nov 16, 2010 6:05 pm    Post subject: Reply with quote

That did indeed work though I made sure to keep the Case Sensitivity of the filename within SVN. Now, I just need to see whether the differences list are because I have changed things since the database was committed or whether the latest commit using SQL Compare is out of date.
Back to top
View user's profile Send private message MSN Messenger
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