Red Gate forums :: View topic - Select multiple commits from SVN to DB with SQL Compare
Return to www.red-gate.com RSS Feed Available

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

Select multiple commits from SVN to DB with SQL Compare

Search in SQL Source Control 2 forum
Post new topic   Reply to topic
Jump to:  
Author Message
dbdmora



Joined: 21 Nov 2011
Posts: 34
Location: Atlanta, GA

PostPosted: Mon Dec 12, 2011 10:29 pm    Post subject: Select multiple commits from SVN to DB with SQL Compare Reply with quote

We have occasions where a multiple developers have multiple commits on what they are working on. For example

Dev1 - commit rev1
Dev2 - commit rev2
Dev1 - commit rev3
Dev1 - commit rev4
Dev2 - commit rev5

Under SQL Compare I cannot select all the commits for Dev 1 for SOURCE Control as my source, i have to do 1 by 1. Unless I am comparing the Database to Database but then I will see commits that I dont need for a particular deployment.

Is there a way to group Commits by via a Changeset or being able to select which commits i need instead of comparing 1 at a time.
Back to top
View user's profile Send private message
james.billings



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

PostPosted: Thu Dec 15, 2011 1:25 pm    Post subject: Reply with quote

Hi, thanks for your post.

I don't believe there's any way to do this. Each commit gets its' own revision number as you know, and there's no easy way to look at multiple ones of these at once. This is because, following your example, the same object could have been changed in multiple commits not only by one dev, but several. As the histories are cumulative, the later one would include earlier changes but of course it does include things from other devs if they committed in between.

In an ideal world each dev would commit at the end of a given job so that all the work for a certain task is grouped in one commit... but I do appreciate that's not always going to be practical.
Back to top
View user's profile Send private message
David Atkinson



Joined: 05 Dec 2005
Posts: 1124
Location: Twitter: @dtabase

PostPosted: Thu Dec 15, 2011 1:42 pm    Post subject: Reply with quote

I'd be interested in knowing why you want to just take the changes for Dev1 and specifically not Dev2.

David Atkinson
Red Gate
Back to top
View user's profile Send private message Send e-mail
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