Difference between revisions of "WesnothRepository"

From The Battle for Wesnoth Wiki
 
Line 1: Line 1:
==  CVS  ==
+
==  SVN ==
  
Wesnoth development currently uses the Concurrent Versions System
+
Wesnoth development currently uses the Subversion
software tool to keep developers in synch with each other.  See the
+
software tool to keep developers in sync with each other.  See the
[http://www.cvshome.org/docs/manual/ CVS manual] for
+
[http://svnbook.org SVN book] for
more on how to use CVS.
+
more on how to use Subversion.
  
  
Line 11: Line 11:
 
You can use your web browser to navigate through the source code:
 
You can use your web browser to navigate through the source code:
  
http://savannah.nongnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/
+
http://svn.gna.org/viewcvs/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  ==
 
==  Download  ==
  
  cvs -z3 -d:ext:anoncvs@savannah.nongnu.org:/cvsroot/wesnoth co wesnoth
+
  svn co http://svn.gna.org/svn/wesnoth/trunk wesnoth
 
 
Note, you must run this command in the same terminal as you ran "export"
 
or "set".
 
  
 +
More info on: https://gna.org/svn/?group=wesnoth
  
 
==  Update  ==
 
==  Update  ==
  
Do this from one level above the "wesnoth" directory:
+
Do this from the "wesnoth" directory:
  cvs -z3 -d:ext:anoncvs@savannah.nongnu.org:/cvsroot/wesnoth update -dP wesnoth
+
  svn up
  
Or you can just go in checkout (download) directory and run:
+
Note that when you update from Subversion, you should always run 'autogen.sh' and
cvs -z3 update -dP
 
 
 
Note that when you update from CVS, you should always run 'autogen.sh' and
 
 
'make clean' before 'configure' and 'make'.
 
'make clean' before 'configure' and 'make'.
 
If you don't do this, the game may crash or behave strangely.
 
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''
 
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.
 
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 ==
 
== See Also ==
Line 61: Line 34:
 
* [[CompilingWesnoth]]
 
* [[CompilingWesnoth]]
 
* [[UsingAutotools]]
 
* [[UsingAutotools]]
 

Revision as of 10:17, 21 September 2005

SVN

Wesnoth development currently uses the Subversion software tool to keep developers in sync with each other. See the SVN book for more on how to use Subversion.


Browse the code

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

http://svn.gna.org/viewcvs/wesnoth/

Download

svn co http://svn.gna.org/svn/wesnoth/trunk wesnoth

More info on: https://gna.org/svn/?group=wesnoth

Update

Do this from the "wesnoth" directory:

svn up

Note that when you update from Subversion, 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.

See Also