WesnothRepository

From The Battle for Wesnoth Wiki
Revision as of 14:54, 9 July 2005 by WikiSysop (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

CVS

Wesnoth development currently uses the Concurrent Versions System software tool to keep developers in synch with each other. See the CVS manual for more on how to use CVS.


Browse the code

You can use your web browser to navigate through the source code:

http://savannah.nongnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/


Setup

Savannah uses SSH to encrypt cvs. You will need to set your environment variable "CVS_RSH" to "ssh" before downloading or updating. Such as:

export CVS_RSH="ssh"

or

set CVS_RSH=ssh


Download

cvs -z3 -d:ext:anoncvs@savannah.nongnu.org:/cvsroot/wesnoth co wesnoth

Note, you must run this command in the same terminal as you ran "export" or "set".


Update

Do this from one level above the "wesnoth" directory:

cvs -z3 -d:ext:anoncvs@savannah.nongnu.org:/cvsroot/wesnoth update -dP wesnoth

Or you can just go in checkout (download) directory and run:

cvs -z3 update -dP

Note that when you update from CVS, you should always run 'autogen.sh' and 'make clean' before 'configure' and 'make'. If you don't do this, the game may crash or behave strangely. You may be able to skip the 'autogen.sh' if the makefiles and configure.ac have not changed, and 'make clean' is becoming less critical also.


CVSNT

Do this before you start downloading using Win32 CVSNT ( http://www.cvsnt.org/ ). Edit the file protocol_map.ini in your cvsnt directory and add the following line:

[cvsnt]
ext = ssh_protocol.dll


See Also