# Thread: what version control software do you use?

2. Originally Posted by csn
+1 on subversion. Been using it a while now. So much nicer than CVS.
And another one - I use it standalone (no Apache) with RapidSVN. It's very useful for all those 'why did I make that change?!?!' moments

3. Hi Tim,

You can download lot of about cvs from www.cvshome.org. This site is free and completely for the CVS development only.

I am also in the development phase so won't be able to help u much.

4. Originally Posted by DarkAngelBGE
Yeah, always wanted to use CVs, but had trouble installing it. There were no executables, so I would have go through a 50kb installing ocument, which don't have the time for. :P

Anyone willing to help me installing CVS?

apt-get install cvs

5. I use Subversion (on a linux server) and the Subclipse plugin for Eclipse (WinXP). Works great.

6. There is a Subversion addon that allows you to checkin and checkout from inside Visual Studio .NET, which is my next step.

I've moved from CVSNT and SourceSafe to Subversion and so far, have not regretted it. The only thing that's bothering me is not being able to share files across projects.

7. Thanks vikrant and matrix.

Keep them coming, fellas.

8. *kick*

I am considering using TortoiseSVN. I've read documentation from tigris.org, but I'm not quite sure about some issues. Can someone clear them out for me, before I make some stupid, time-consuming mistakes?

I use one development server: Win2K, Apache, PHP, MySQL. And two clients, a workstation and a laptop for development.
So, do I install Subversion on my server and TortoiseSVN on both clients? How can TortoiseSVN 'connect' to my Subversion server (the documentation doesn't mention this)? Or, should I install TortoiseSVN only on my server?

I have lots of projects where I'm working on, or have been working on. These all fall under one folder ('projects') and are further subdevided. I want to control versions of each of these seperate projects (like: "Project X - update starting-page"). Can I do this in one repository and thus for different (sub-)folders? Could these all be added at once?
Can I backup (and on systemcrash restore) my current files and Subversion's repositories easily?

Thank you very much in advance! It could save me lots of time-waste when someone can answer these relatively simple questions.

9. TortoiseSVN is a client, you are correct, that connects to a subversion server. So you would install subversion on your Win2K server -- good luck with that! -- and you'd install the TortoiseSVN on your laptop & workstation.

Read the Subversion book (see link on http://subversion.tigris.org) to understand how to install the server. Generally the solution is to install it as an Apache [2] module, but you may find it easier to do something else on Windows.

You could certainly use one top-level subversion repository (aka "project") to manage multiple projects. I guess the question you want to ask yourself is why you want them to be part of the same project -- i.e. do you need to create tags (snapshots) accross all projects? If you don't need / want to have revisions tracked accross all of your projects, then you're probably better off making separate subversion repositories for your projects.

As for backup, I'm curious to see what others suggest. The answer should be "yes" -- but there are a number of ways you could automate that, and I don't have any suggestions myself. (Am looking into a similar question for my own repository currently.)

10. Anyone tried CVSNT yet... What are your views on it, is it any good for example? Bad points, etc

11. Umm -- do you mean that Torstoise***CVS*** works great with CVSNT? CVS and Subversion are not compatible, but there is a TortoiseCVS project, which was the original inspiration for TortoiseSVN.

12. Wow, so many Subversion people here. Lately dived into that as well, since we at WIldfire Games were switching from CVS to it regarding our 0 A.D. (the game we are making) codepit.

It seems so much better than CVS.

13. Subversion. I only wish Zend Studio and Dreamweaver had built-in support for it.

In fact, after working with it for a while, I wish everything in Windows was (sub)versioned. Just imagine: turn on versioning on My Documents, and whatever you save there gets versioned. Oh well, maybe after Longhorn

14. My brain and the rename function! I work on my own, and see no need for version control. Someone please try to change my mind.

15. *GONE*

16. Originally Posted by sid egg
My brain and the rename function! I work on my own, and see no need for version control. Someone please try to change my mind.
Programming without version control is like refactoring without unit tests.

If that analogy did not make any sense to you, keep researching all of the terms

17. Originally Posted by sweatje
Programming without version control is like refactoring without unit tests.

If that analogy did not make any sense to you, keep researching all of the terms
I don't use unit testing either I should though.

18. PHP Code:
 $svnUsers++$soloCoders++  

19. Hi...

Originally Posted by sid egg
My brain and the rename function! I work on my own, and see no need for version control. Someone please try to change my mind.
Funnily enough I need to undo some changes to some code that I made last week. Unfortunately other developers had been working on the code in the meantime. Here is how I undid the change...
Code:
cvs update -j1.27 -j1.25 classes/htpasswd.php
cvs update -j1.17 -j1.16 unit/htpasswd_test.php
php all_tests.php
cvs commit -m "Reverted screw up with htpasswd file not being found"
Total time about 90 secs and most of that was waiting for tests to run (there are 3000+). I didn't even have to look at the code.

Oh yes, the two hourly Rephlux report told me that the test was failing on the main test sever. You don't think I bother to run these tests myself do you?

yours, Marcus

20. Originally Posted by hlellelid
So you would install subversion on your Win2K server -- good luck with that!
Subversion works just fine on Windows. We run two production servers using it.

Read the Subversion book (see link on http://subversion.tigris.org) to understand how to install the server. Generally the solution is to install it as an Apache [2] module, but you may find it easier to do something else on Windows.
The Apache module also works just fine on Windows. However a simpler approach if you don't need all the Apache goodness is to use the svnserve program that comes with Subversion.

You could certainly use one top-level subversion repository (aka "project") to manage multiple projects. I guess the question you want to ask yourself is why you want them to be part of the same project -- i.e. do you need to create tags (snapshots) accross all projects? If you don't need / want to have revisions tracked accross all of your projects, then you're probably better off making separate subversion repositories for your projects.
We have multiple repositories for multiple projects. Main downside is that out of the box Subversion doesn't give you any way to list all the repositories on one server. So you need to remember what you've called the repository you want to access, or use a third party product. Other than that, separate repositories works well for us, and is practically a requirement if you use svnserve and want to restrict access to different parts of your codebase.

As for backup, I'm curious to see what others suggest. The answer should be "yes" -- but there are a number of ways you could automate that, and I don't have any suggestions myself. (Am looking into a similar question for my own repository currently.)
We just use standard filesystem backup tools. Not sure if this is the best approach but hasn't caused a problem so far

21. Well I am trying to install Subeversion testing it on windows first.. but I can't import my project it says invalid url?

Code:
D:\>svn import d:/project -m "initial import"
svn: Invalid URL 'D:/project'
Can anybody help me set this up I made the 3 directories as described branches, trunk etc

Also I can't find a forum or anything on the original Subversion site so dont know where to get help.

Ok I think i gotthe syntax ight now but it still won't work:S

Code:
C:\Documents and Settings\chris.ICTAPPROACH>svn import c:/project d:/miniserver/
UniServer3_2/diskw/www/test -m "initial import"
svn: Invalid URL 'D:/miniserver/UniServer3_2/diskw/www/test'
pff finally figured it out:

Code:
C:\Documents and Settings\chris.ICTAPPROACH>svn import d:/project file:///d:/min
iserver/UniServer3_2/diskw/www/test/project1 -m "initial import"
Adding         D:\project\tags

22. Hint - use TortoiseSVN

23. Originally Posted by pixelsoul
file:///d:/min
iserver/UniServer3_2/diskw/www/test/project1
What URL did you use when you made your repository? I just used file:///svn/, so for projects I just put them in file:///svn/project1/trunk/. Seems to be working fine so far

Douglas

24. Originally Posted by pixelsoul
Well I am trying to install Subeversion testing it on windows first.. but I can't import my project it says invalid url?

Getting path's and URL's mixed up. URL's always start with a protocol.

25. Originally Posted by hlellelid
. So you would install subversion on your Win2K server -- good luck with that!
Funny, I just installed it on Win2K server, and despite a hiccup with Apache and the Subversion required DLLs (you need to copy them to Apache's module directory), setting it up was really easy. Integrating it into NT's domain authentication using SSPI was also a piece of cake.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•