Fog Creek Software
Discussion Board




CVS Help needed

Hi,

I am trying to start with CVS. I SetUp CVSNT and Wincvs client and I am pretty much stuck.
I check out few modules and they all got version 1.1.1.1 . i changed one and commit changes and now this module have version 1.2 ? Where does those extra ones come from and where did they went?  And why do I see all other files on disk? And can you configure this thing to work with local CVS server?  I tried but I got lost with those 'first do unix style "/", and then switch to DOS style with ":" and "\"'

I tried Perforce (free for small teams) and it was almost as complicated as CVS.

I am using  TeamsSource from Borland, and it is one really nice and really easy to use source controls system. It just works, no need for super ultra deluxe administration. Bad thing is that Borland stopped with development.

No more crying.
Please help me find CVS client with decent documentation (step by step tutorials preffered).
Is this CVS really that complicated or am I just plain stupid?

drazen

drazen
Friday, February 07, 2003

CVS is complecated to setup and once set up generally works very well. I have used it CVSNT server, CVS server on Solaris and WinCVS as client. All worked.

Here is a link I find very useful in seting up the CVSNT server

http://www.devguy.com/fp/cfgmgmt/cvs/cvs_admin_nt.htm

Other one on using WinCVS 'while keeping your mental health'.

http://www.computas.com/pub/wincvs-howto/

Nitin Bhide
Friday, February 07, 2003

Also try:

http://www.majentis.com/Files/Free_Docs/wincvs.doc


Gregor

Gregor Brandt
Friday, February 07, 2003

Firstly, I would also suggest you download TortoiseCVS; it's a CVS client that integrates with Explorer.  Just right-click on a directory or file and get all the options you need.

The revision numbers in CVS really don't mean much so you can pretty much ignore them.  However, a 4 digit revision number is for a branch and a 2 digit number is for the HEAD branch.  When you do an initial import it's to a branch (hence the 1.1.1.1) but then you work on the HEAD (1.2).

CVS uses /CVS directories sprinkled throughout your source tree to manage your source.  You can checkout a clean version without those directories if you need to (for source distribution, perhaps).

Tortoise is a very simple client; it only has a few options!

Wayne Venables
Friday, February 07, 2003

For anyone trying CVS: what some people don't know (at least I didn't when I started): You don't need to run a CVS server. You can also put your CVS source base in a local directory.

I also recommend Tortoise. It recently has gotten even better.  So if your running an older version, you do want to upgrade. And while you're at it, dump those ugly icons and get the TBF ones:
http://www.tortoisecvs.org/faq.html#howchangedefaulticons

Jan Derk

Jan Derk
Friday, February 07, 2003

And don't forget, read this book!
http://cvsbook.red-bean.com/cvsbook.html

Its published under and Open Source License.  So you can read it, print it, etc.  There is only 4 chapters missing from the printed version of the book that cover the social aspects of running a project.  I think that book is a better manual than the Cedvarkist (sp?) (The official CVS manual).

Hope that helps.

Also, I use WinCVS for my cvs gui, I haven't tried tortiseCVS though.  http://www.wincvs.org/

Andrew Hurst
Friday, February 07, 2003

Just for reference - regarding Perforce you might try posting on the Perforce User mailing list - lots of helpful people there.

http://maillist.perforce.com/mailman/listinfo/perforce-user

Robert Cowham
Saturday, February 08, 2003

Thank you for advices.

drazen
Saturday, February 08, 2003

OK, I managed to setup cvs and it works with WinCVS and TortoiseCVS.
But, it is very slow.
Simple diff for small source takes 10-15 seconds.

I have everything on local PC. I tried with :local: and :pserver:

drazen
Saturday, February 08, 2003

I've never found CVS to be slow...  I actually use it instead of sync software (Network/Unplugged) to keep my laptop up to date (it's an order of magnatude faster).

HOWEVER, I run the CVS server on my Linux box and connect to it from Windows over the LAN.  I suspect your bottleneck is the Windows server...  has anyone else had experience using it?

Wayne Venables
Saturday, February 08, 2003

It needed reinstall. While experimenting I obviously set something somewhere in configuration that CVS did not like. I uninstalled everything (cvsnt, wincvs, tortoise) and then reinstalled those packages and now it works fine.

I can not decide on client. Tortoise and wincvs are both plain ugly.
Wincvs has unintuitive interface and documentation is awfull.
Tortoise messed up my explorer view. I do not need any CVS info in dirs that are not my work dirs. Icons are ugly.

Did anyone ever tried TeamSource from Borland. It is extremly simple to setup, to use, super simple and intuitive interface. Unfortunately, now when Borland bought Starteam, it is definitely gone.

drazen
Saturday, February 08, 2003

If you only do Windows programming and you want something very powerful yet very easy to set up & use, take a look at QVCS from www.qumasoft.com. It's not free (USD 25.00 per seat with a 2 month free trial) but I can strongly recommend it.

Neil Butterworth
Saturday, February 08, 2003

<quote>
Tortoise messed up my explorer view.
</quote>

It's caused by the buggy Windows icons cache. Here's how to fix that:
http://www.tortoisecvs.org/faq.html#whyisiconcachebuggy

About the ugliness, get the icons I mentioned above. You can just copy and paste them into the Tortoise folder.

Jan Derk
Saturday, February 08, 2003

I use tortiose as I mentioned above; I've never had it mess up non-work directories (on Win2k or WinXP) and I don't use the default icons (which are ugly).

I never use WinCVS, although it is installed if for some reason I need to do something complicated.

Wayne Venables
Saturday, February 08, 2003

Really nice forum here.
Thank you very much. I managed to sort everything out over this weekend. Wincvs works, Tortoise works with nicer icons, everything is in place as it supposed to be.

Thanks again for pointers, they were really helpfull.

drazen
Sunday, February 09, 2003

*  Recent Topics

*  Fog Creek Home