Welcome to Dream.In.Code
Become an Expert!

Join 150,149 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,346 people online right now. Registration is fast and FREE... Join Now!




Which version control software?

2 Pages V  1 2 >  
Reply to this topicStart new topic

Which version control software?

godspeedphi
18 Aug, 2008 - 05:17 AM
Post #1

New D.I.C Head
*

Joined: 18 Aug, 2008
Posts: 12


My Contributions
Hello everyone,

I am working with others on some large webdev projects.
The files, as of right now, are located on a server. But, we now want to implement some sort of version control system.

I have looked at TortoiseSVN and a few other, but can not find one that suits our needs.

It seems that, at least with TortoiseSVN, you set up the project repository on the server and then each developer has his/her own local copy of the project that is linked to this repository. This means that each person must have a copy of the project.

What we are looking for is a versioning system that does not force you to have a local copy. Rather, it would be nice that everyone simply accesses the shared server files and can edit them. Also, we would like a 'check-out' and 'check-in' feature where the file locks when checked out.

Anyone know of a good solution? blink.gif

Thanks in advance,
-Tim

This post has been edited by godspeedphi: 18 Aug, 2008 - 05:21 AM
User is offlineProfile CardPM
+Quote Post

AdamSpeight2008
RE: Which Version Control Software?
18 Aug, 2008 - 05:37 AM
Post #2

LINQ D.I.C.
Group Icon

Joined: 29 May, 2008
Posts: 863



Thanked: 54 times
Dream Kudos: 2250
My Contributions
I use TortiseSVN, it is true that each developer has a copy of the project (which can be a good thing, eg the server crashes)
Also is does lock thes file on the server when a user checks a file out.
Remember though to check files in at the end of the day, as only person who checked out can check it in.


User is offlineProfile CardPM
+Quote Post

godspeedphi
RE: Which Version Control Software?
18 Aug, 2008 - 05:55 AM
Post #3

New D.I.C Head
*

Joined: 18 Aug, 2008
Posts: 12


My Contributions
I've used TortoiseSVN on a small project before, and did not witness it locking files.

As far as I understand, you set up a folder and check-out a sandbox (aka working copy) of the project. Let's say three people do this, then there are three people with checked-out copies. Let's say they all edit the same file at the same time and then commit. It doesn't lock the file, but will merge it instead. But merges are never really trustworthy. I've had it turn code into garbage text.

But, after looking around online, it seems that what my team is looking for really isn't around, nor is it recommended. So, I guess I will suggest that they use TortoiseSVN and deal with working copies.

Thanks,
-Tim

Oh, and...

one thing I don't really care for, at least with TortoiseSVN, is that everyone must remember to update their folder frequently to avoid editing an old copy. I wish, somehow, each individual would see changes immediately without any need to request an update.

-Tim
User is offlineProfile CardPM
+Quote Post

AdamSpeight2008
RE: Which Version Control Software?
18 Aug, 2008 - 12:28 PM
Post #4

LINQ D.I.C.
Group Icon

Joined: 29 May, 2008
Posts: 863



Thanked: 54 times
Dream Kudos: 2250
My Contributions
I didn't mean TortiseSVN but tortiseCVS.
User is offlineProfile CardPM
+Quote Post

godspeedphi
RE: Which Version Control Software?
19 Aug, 2008 - 05:07 AM
Post #5

New D.I.C Head
*

Joined: 18 Aug, 2008
Posts: 12


My Contributions
Oh OK I'll check that one out
User is offlineProfile CardPM
+Quote Post

Tom9729
RE: Which Version Control Software?
19 Aug, 2008 - 09:41 AM
Post #6

Debian guru
Group Icon

Joined: 30 Dec, 2007
Posts: 1,592



Thanked: 12 times
Dream Kudos: 325
My Contributions
You make it sound like you just want everyone to work on a live copy [which is usually a bad idea]. Everyone having working copies and having to sync with a main server is a good thing.

Subversion does not automatically merge changes. If a file has changed since someone checked it out, they will get a "working copy out of date" error. Subversion lets them handle the merge.

I recommend committing lots of small changes instead of a couple large ones, and checking often for updates to your working copy. Depending on what client you use this may be done automatically.

There's a really good book on Subversion online here. I highly recommend you read it if you're planning to use Subversion. smile.gif

If you REALLY don't like the idea of working copies, why not code up your own version control system without them [or get someone to do it for you]?
User is offlineProfile CardPM
+Quote Post

Programmist
RE: Which Version Control Software?
3 Sep, 2008 - 10:41 AM
Post #7

Four-letter word
Group Icon

Joined: 2 Jan, 2006
Posts: 1,255



Thanked: 11 times
Dream Kudos: 100
Expert In: Java

My Contributions
a word of advice, if you choose CVS or SVN. Split the work up so that only one person is working on any one file at a time. The reason for this is to avoid error-prone and time-intensive merges. I know that one of the benefits of SVN and CVS is that multiple people can work on the same file at the same time, but (and this is especially true in large projects) this introduces the possibility that someone will overwrite someone else's changes when merging. This doesn't happen often when you have a group of people that are experienced at merging. But it only takes one person having a bad day to mess something up. And, if you're particularly unlucky, the mistake will still compile and so might not be caught until much later, which is always a lot of fun. smile.gif

Edit: If you've got the money, check out (no pun intended) ClearCase. Personally, I prefer free open source software, but from my experience using it, I know it has the features you mentioned.

This post has been edited by Programmist: 3 Sep, 2008 - 10:46 AM
User is offlineProfile CardPM
+Quote Post

mocker
RE: Which Version Control Software?
3 Sep, 2008 - 10:52 AM
Post #8

D.I.C Regular
Group Icon

Joined: 14 Oct, 2007
Posts: 290



Thanked: 17 times
Dream Kudos: 25
My Contributions
I suggest reading up on HOW to use a version control system. One.. like Tom said, having everyone work on a single live copy is most usually a bad idea, for many reasons, which if we have to explain I'd recommend reading on WHAT a version control system is. If you for some reason neeed everyone working on a single copy, I'd STILL use subversion, and have the copy everyone uses be a checked out version, so they can commit their changes when they are done, and rollback when someone eventually screws up.

SVN does not 'lock' files. You checkout the file you want to work on, and when you are done and its tested, commit it. If the file was changed while you were working on it, you'll get an error. This is where a little thinking on the part of the developer needs to happen, as you should do an UPGRADE before committing. This will copy the latest version and add flags to your script showing you where the changes were made. You edit the merged copy to make sure everything is fine, tell SVN you resolved the conflict, and then commit the final merged script.

There is a list of some other options for version control at :
http://en.wikipedia.org/wiki/List_of_revis...ontrol_software
I've heard Darcs is decent, but have never used it
User is offlineProfile CardPM
+Quote Post

Programmist
RE: Which Version Control Software?
3 Sep, 2008 - 07:52 PM
Post #9

Four-letter word
Group Icon

Joined: 2 Jan, 2006
Posts: 1,255



Thanked: 11 times
Dream Kudos: 100
Expert In: Java

My Contributions
Yeah - version control 101. I would hope that someone already using version control knows this stuff. Otherwise, god help them an their teammates. smile.gif
User is offlineProfile CardPM
+Quote Post

emc2
RE: Which Version Control Software?
25 Dec, 2008 - 02:43 AM
Post #10

New D.I.C Head
*

Joined: 25 Dec, 2008
Posts: 1

If you are interested in IBM Rational ClearCase as your version control solution, you may want to know about new add-ons which simplify and automate some of ClearCase processes.

Please check the follwoing site
http://GoMidjets.com
User is offlineProfile CardPM
+Quote Post

mavrck
RE: Which Version Control Software?
25 Dec, 2008 - 08:49 AM
Post #11

New D.I.C Head
*

Joined: 23 Dec, 2008
Posts: 14



Thanked: 2 times
My Contributions
I've been using SVN in our office and it's worked out very well. We have 40-50 different projects under it's control at this point and no problems to report. For our combination of developers (php, flash, .net), nothing could have been better.

-mav
User is offlineProfile CardPM
+Quote Post

janotte
RE: Which Version Control Software?
27 Dec, 2008 - 04:06 AM
Post #12

D.I.C Addict
****

Joined: 28 Sep, 2006
Posts: 714



Thanked: 55 times
My Contributions
This might be what you are looking for by coming at the question the other way around
http://git.or.cz/gitwiki/GitDocumentation

User is offlineProfile CardPM
+Quote Post

2 Pages V  1 2 >
Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 02:29AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month