Difference between revisions of "Subversion"

From NikiWiki
Jump to: navigation, search
(More)
(Working with trunks and branches)
Line 20: Line 20:
  
 
* http://svnbook.red-bean.com/en/1.1/ch04s02.html
 
* http://svnbook.red-bean.com/en/1.1/ch04s02.html
 +
* [http://svn.collab.net/repos/svn/trunk/doc/user/svn-best-practices.html Subversion Best Practices]
 +
 
===More===
 
===More===
  

Revision as of 13:01, 13 November 2006

netlabs.org Subversion repositories

Basic setup

For new projects we provide Subversion repositories instead of CVS as so far. To access that you need a subversion client:

There are also versions for Linux, BSD, Mac & Windows.

The OS/2 version seems to have a bug right now, you have to SET LANG=en_US to get it to work properly at the moment.

Simple checkout

After you installed subversion you can do a checkout of a project like this:

svn co --username <myuser> http://svn.netlabs.org/repos/projectname

Where projectname needs to be replaced by one of our projects for sure :)

Working with trunks and branches

More

We will show some more examples later, feel free to add more yourself :)

svn: Can't recode string

If you get this error you might change the following variables:

export LC_CTYPE="de_CH.UTF-8"
export LANG="de_CH.UTF-8"

(use SET on OS/2 instead of export)

instead of de_CH you should choose your correct value like en_US or so. Note that it's in general a bad idea to use umlauts in filenames and this problem definitely has to do something with such chars in filenames.

netlabs.org TRAC

TRAC is a very nice bugtracking software combined with much more, like a Wiki, a SVN Webinterface and so on. We will write more about TRAC soon, so far you can check the current repositories: