views:

79

answers:

2

I've recently taken over a project from another consulting firm. I'm assuming this can happen somewhat frequently in the industry so I'm wondering how I should setup my Source Control Repository.

Should I create one repository simply for this application/client, and then create others as we do more work?

Of should I just dump everything into one single repository.

Thanks guys!

+8  A: 

You need to be able to deliver the full source control repo to the customer as it is probably their work product (e.g., work-for-hire). I recommend using one repo per customer. I had them all in one area //depot/clients/CorpA, //depot/clients/cust-b, etc.

Made it easy for me to burn a CD with their project at the end of a contract, and by deleting the entire tree I could provide reliable assurance that I had destroyed all my copies of their IP.

caskey
+1 for perforce!
Byron Whitlock
+1 Good idea. .
Chris Lively
+2  A: 

One repository per client. This will give you a much easier method to hand off the application, change development environments, etc..

Cody C
I don't plan on handling it off as we are taking it over and going to own the code base. However, I'm sure that's what the last place thought too :)
Jack Marchetti