Red Gate forums :: View topic - SVN folder structure changed - how do i update source contrl
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 folder structure changed - how do i update source contrl

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



Joined: 15 Jun 2006
Posts: 17

PostPosted: Tue Jan 15, 2013 8:47 pm    Post subject: SVN folder structure changed - how do i update source contrl Reply with quote

I moved my folder structure around in SVN. I need to update the folder that source control is pointing to.

This is the database repository url - i can see this setting when i click on the 'setup link' for the migrations folder, but it is grayed out and i can't do anything to change it.
Back to top
View user's profile Send private message
stanori



Joined: 23 Apr 2012
Posts: 84

PostPosted: Fri Jan 18, 2013 12:01 am    Post subject: Reply with quote

Hi merk,

Thanks for your post. To update the URL for your source control system in SQL Source Control, you can:

- Unlink the current repo using the "unlink database..." link
- The setup tab should now allow you to link to a source control repository again

If the contents of the actual folder that was being used by SQL Source Control was modified/changed directly, it may not neccesarily relink cleanly as it expects the files to be of a particular structure and format within that directory. If it was just a matter of moving the folder to a new location, I do not forsee any issues. Hope this helps.

Best Regards,
Steve Tanori
_________________
_________________
Steve Tanori
Product Support
Red Gate Software Ltd.
866-997-0378
Back to top
View user's profile Send private message
merk



Joined: 15 Jun 2006
Posts: 17

PostPosted: Fri Jan 18, 2013 12:30 am    Post subject: Reply with quote

I did run into some issues - there was one stored proc which is was listing as conflicting and would not allow me to tell it to just over-write the sproc in source control.

I had to delete the sproc from my db, get it from source control, apply changes and then commit it.

The folder structure did not change, it just moved down one level.

i.e. /project/sql became /trunk/project/sql

I think it might be nice to have an option to just be able to update the source control url, rather then having to delink/relink the db.

thanks
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