CVS simplified
by Andy Hawkins · in Torque Game Engine · 06/11/2005 (8:00 pm) · 20 replies
I thought I would compile all the findings for CVS into one thread for easier reference for the newly initiated.
1. Download WinCVS (as of 12th June 2005 this link www.wincvs.org/download.html works but as a back up you can navigate from here to find it www.wincvs.org )
You want to Download Installer from this line...
Latest Recommended Release: WinCvs 2.0.0.2 (released 2005-03-24)
2. Install on to computer when downloaded.
3. Open WinCVS and click on CVS Admin -> Preferences.

4. Change CVSROOT to :pserver:@cvs.garagegames.com:/cvs/torque
The important thing to remember here is to replace with your actual GG login - the one you logged in with to access this page.
So for example I login as JoeBloggs my cvs login will be...
:pserver:JoeBloggs@cvs.garagegames.com:/cvs/torque login
... notice I have removed the <> brackets as well.

5. Next click on CVS Admin -> Preferences -> Login.
[image]www.drewfx.com/Torque/cvs_8.jpg[\image]
You will prompted for your actual GG password which is the same as you used to login to access these pages.
You should see a report like this...
cvs -z3 -d :pserver:@cvs.garagegames.com:/cvs/torque login
\n (in directory C:\)
(Logging in to@cvs.garagegames.com)
*****CVS exited normally with code 0*****

If you get "with code 0" on any process / command in CVS you have done it without errors. If you ever get "with code 1" or something other than 0 you have to go back and check what you did wrong.
6. Now you are in you can get the latest build of Torque
7. Click on CVS Admin -> Checkout Module.

8. First you will be asked where to checkout your files to. Put it somewhere away from your main Torque stuff for now. I suggest "C:\CVSModules\Torque" especially if you use CVS for other repositories you might find on the net.

9. Next you will see the Checkout Setting dialog. The first tab is selected and is asking you to type in the "module name and path on the server". You want to enter "torque" as the module (no quotes). Proceeding from here you will end up version Torque 1.4 source.

Click on Okay and it will start downloading Torque to your computer. It will take about 20 mins on a 256K link as an example. You will start to see this kind of thing...
cvs -z9 checkout -P torque (in directory C:\CVSModules\TorquE)
cvs server: Updating torque
U torque/Makefile
U torque/ReadMe.html
cvs server: Updating torque/bin
cvs server: Updating torque/bin/nasm
U torque/bin/nasm/Licence
U torque/bin/nasm/Readme
U torque/bin/nasm/nasmw.exe
U torque/bin/nasm/ndisasmw.exe
cvs server: Updating torque/cw
U torque/cw/readme.txt
U torque/cw/torque_cw6.mcp
U torque/cw/torque_cw7.mcp
U torque/cw/torque_cw8.mcp
cvs server: Updating torque/cw/libs
U torque/cw/libs/ljpeg_cw6.mcp
U torque/cw/libs/ljpeg_cw7.mcp
U torque/cw/libs/ljpeg_cw8.mcp
10. If would like to implement what Kevin is suggesting here do step 9. again, but then click on the tab "Checkout Options", midway down the dialog is "By Revision/Tag/Branch" - tick this and type into the edit box next to it "Release_1_3_1" (without the quotes). This will achieve the same thing.

1. Download WinCVS (as of 12th June 2005 this link www.wincvs.org/download.html works but as a back up you can navigate from here to find it www.wincvs.org )
You want to Download Installer from this line...
Latest Recommended Release: WinCvs 2.0.0.2 (released 2005-03-24)
2. Install on to computer when downloaded.
3. Open WinCVS and click on CVS Admin -> Preferences.

4. Change CVSROOT to :pserver:
The important thing to remember here is to replace
So for example I login as JoeBloggs my cvs login will be...
:pserver:JoeBloggs@cvs.garagegames.com:/cvs/torque login
... notice I have removed the <> brackets as well.

5. Next click on CVS Admin -> Preferences -> Login.
[image]www.drewfx.com/Torque/cvs_8.jpg[\image]
You will prompted for your actual GG password which is the same as you used to login to access these pages.
You should see a report like this...cvs -z3 -d :pserver:
\n (in directory C:\)
(Logging in to
*****CVS exited normally with code 0*****

If you get "with code 0" on any process / command in CVS you have done it without errors. If you ever get "with code 1" or something other than 0 you have to go back and check what you did wrong.
6. Now you are in you can get the latest build of Torque
7. Click on CVS Admin -> Checkout Module.

8. First you will be asked where to checkout your files to. Put it somewhere away from your main Torque stuff for now. I suggest "C:\CVSModules\Torque" especially if you use CVS for other repositories you might find on the net.

9. Next you will see the Checkout Setting dialog. The first tab is selected and is asking you to type in the "module name and path on the server". You want to enter "torque" as the module (no quotes). Proceeding from here you will end up version Torque 1.4 source.

Click on Okay and it will start downloading Torque to your computer. It will take about 20 mins on a 256K link as an example. You will start to see this kind of thing...
cvs -z9 checkout -P torque (in directory C:\CVSModules\TorquE)
cvs server: Updating torque
U torque/Makefile
U torque/ReadMe.html
cvs server: Updating torque/bin
cvs server: Updating torque/bin/nasm
U torque/bin/nasm/Licence
U torque/bin/nasm/Readme
U torque/bin/nasm/nasmw.exe
U torque/bin/nasm/ndisasmw.exe
cvs server: Updating torque/cw
U torque/cw/readme.txt
U torque/cw/torque_cw6.mcp
U torque/cw/torque_cw7.mcp
U torque/cw/torque_cw8.mcp
cvs server: Updating torque/cw/libs
U torque/cw/libs/ljpeg_cw6.mcp
U torque/cw/libs/ljpeg_cw7.mcp
U torque/cw/libs/ljpeg_cw8.mcp
Quote:Kevin -
The module name is always "torque". To get 1.4, you dont need anything extra, but if you want to get 1.3.1 for example, you would add "-r Release_1_3_1" (if you are doing it through a command line client), or use the gui with your client.
10. If would like to implement what Kevin is suggesting here do step 9. again, but then click on the tab "Checkout Options", midway down the dialog is "By Revision/Tag/Branch" - tick this and type into the edit box next to it "Release_1_3_1" (without the quotes). This will achieve the same thing.

#2
06/12/2005 (7:30 am)
"revision_1_3_1" should be "Release_1_3_1", without the quotes.
#3
www.planetquake.com/noescape/torque/CVS.htm
06/12/2005 (12:08 pm)
Thanks but this is not like my mine at all, i use 1.3 so i made my own pagewww.planetquake.com/noescape/torque/CVS.htm
#4
06/12/2005 (1:26 pm)
I dont see why you would really bother with the cvs at this time. Ever since the installer was released for 1.3 there has been little to no change to torque or is there plans to put in any cvs changes untell 1.4 last I checked. Most of the attention at this time is directed at TSE.
#5
06/12/2005 (1:29 pm)
Tom, an early 1.4 is on CVS (HEAD)
#6
06/12/2005 (2:35 pm)
So im finding out, cvs must be a real pain if they are trying to get rid of it! Ill hate to see it go.
#7
06/12/2005 (3:31 pm)
I find much much easier to use TortoiseCVS.
#8
Should I submit this as a resource then? It seems divided between members whether or not CVS is actually used that much.
06/12/2005 (5:31 pm)
I've update the branching part of the guide above. Should I submit this as a resource then? It seems divided between members whether or not CVS is actually used that much.
#9
06/13/2005 (1:59 pm)
Nah i wouldnt , not if they are trying to get away from it..
#10
06/14/2005 (12:15 pm)
While GG isn't using CVS as a distribution mechanism any longer, many projects will be (should be!) using some version of Source Control for their own requirements. A resource that explains how to use CVS in any form is always a good one, although you may want to make it more generic instead of directly tied to the old distribution mechanism that is no longer in use.
#11
06/14/2005 (4:21 pm)
In that case, maybe one of the GG employees might like to go ahead and create a CVS resource for the rest of us? I would do it, if given the appropriate information to generalise the process. Perhaps the TSE CVS instructions are more likely to be up-to-date, and maybe I could use those? Let me know what should be done.
#12
I think this is a fine post, and it would make a great resource as is.
06/14/2005 (5:07 pm)
We like resources, but we're not really in the business of writing general purpose manuals for specific tools.. The CVS Book is definitely the best place for that. :)I think this is a fine post, and it would make a great resource as is.
#13
Heh..not sure why this got turned around--that's exactly what we were asking you to do! As Ben mentioned, resources are normally created by the community..we take care of the tech (although some of the community donates to that as well, normally through resources!).
06/14/2005 (5:53 pm)
Quote:In that case, maybe one of the GG employees might like to go ahead and create a CVS resource for the rest of us? I would do it, if given the appropriate information to generalise the process. Perhaps the TSE CVS instructions are more likely to be up-to-date, and maybe I could use those? Let me know what should be done.
Heh..not sure why this got turned around--that's exactly what we were asking you to do! As Ben mentioned, resources are normally created by the community..we take care of the tech (although some of the community donates to that as well, normally through resources!).
#14
Is gg going to shut down cvs completely?
06/14/2005 (7:52 pm)
Now im lost, my page was just so next time i have to install cvs to get the torque head, i would know how to set it up and not have to wait a few days to find the link into gg cvs.Is gg going to shut down cvs completely?
#15
06/14/2005 (9:43 pm)
Okay I will add this as a resource.
#16
Andy - Great! Thank you.
06/14/2005 (10:11 pm)
Ace - we will probably keep access to a public code repository open for some time. But it's likely that we're not going to go out of our way to encourage people to use it. Since we stopped encouraging people to use CVS, the number of support requests we've gotten has dropped by a HUGE factor. The installers have saved us hours of time a week. CVS or SVN is great because it lets advanced users get ahold of the code immediately, so we can more closely work with them, and we're probably going to keep that. Make more sense now?Andy - Great! Thank you.
#17
06/15/2005 (10:06 pm)
All sounds cool to me too thanks
#18
CVS (in all forms I've ever encountered it) has such severe usability issues!
tone
06/28/2005 (8:56 am)
I'll check out TortoiseCVSCVS (in all forms I've ever encountered it) has such severe usability issues!
tone
#19
06/28/2005 (4:31 pm)
Be aware that TortoiseCVS just adds CVS functionality via context menus in Windows Explorer. You will still need to configure CVS to work properly before TortoiseCVS will work properly anyway.
#20
thanks
06/30/2005 (9:02 am)
Is there a svn repository available now we could access? The very first thing I did was drop the SDK into my SVN server so that I could track my changes and merge in updates. It would be nice to be able to generate diffs against the GG SVN server to merge changes into my tree easier thanks
Torque 3D Owner Stephen Zepp
Thanks!