Game Development Community

Grrr... CVS....

by Leo "kingDUCTtape" Altmann · in Torque Game Engine · 03/02/2004 (7:04 pm) · 7 replies

Alright, well, the CVS server is giving me a major headache. i can "successfully" download torque, and even compile it OK, but the problem is that it never downloads all the files. it makes the directory structure, but no files. so basically, the majority of the directories in the example direfctory are empty. is there anywhere i could get these files w/o dealing with CVS?

#1
03/02/2004 (8:59 pm)
Depending on your settings, CVS may create a lot of empty directories. This is due to old files in the SDK that have been removed. If you downloaded HEAD, and you can compile and run Torque, you almost certainly have everything there is to get.
#2
03/02/2004 (9:07 pm)
Arn't there supposed to be things in the example/racing directory, for example? (besides empty directories) of what about example/fps? why i think things are missing is that there is a directory structure there, but no files.
#3
03/02/2004 (9:35 pm)
You need to compiile the source code to get these things to appear.

This is not a CVS problem. Everything is working as it should. Remember that thousands of Torque owners are successfully using CVS. Most open source projects use CVS or Subversion.

It is very cool to be able to get future updates by simply checking out the new source with CVS.

-Jeff Tunnell GG
#4
03/03/2004 (1:30 pm)
Weren't those directories removed from the repository, replaced with the 'starter pack' things?

Leo, try using the -P flag to cvs, from the command line. It prunes away any local cvs controlled directories that are emtpy on the cvs server.

I don't think anything gets moved to example/fps or example/racing, after a compile, but I could be wrong.
#5
03/03/2004 (4:58 pm)
I have successfully compiled the engine, and used it with some of the examples avalable. It just seemed weird to me that there would be an existing directory structure with no files inside it.
#6
03/03/2004 (5:16 pm)
The thing you have to remember about CVS is no files are ever deleted. This is how CVS works, because it is based on a revision system. Throughout Torque's life on CVS files have been deleted and maybe even whole folders but they are really not deleted as far as CVS is concerned.

So while CVS is downloading from HEAD, or whatever branch you are getting at the time, folders will appear that are completely empty. If you have "Prune empty folders" unchecked in the CVS settings then it will not delete these folders on your system, so make sure that option is turned on. Once you have that option turned on, once CVS is completely done downloading the updates it will remove those empty folders for you and you will be left with a directory structure that is representative of the directory structure currently in use for that particular branch.
#7
03/03/2004 (5:18 pm)
Ok thanks!