Sha256: 662f85fe4652aacfd9549ee8c958378294ede553e2999bd5b2d88af2cba988e4

Contents?: true

Size: 1.61 KB

Versions: 1

Compression:

Stored size: 1.61 KB

Contents

elathan:

Navel SVN Server: http://morfeas.navel.gr/
Central Repository: navel

FOR COMMITS: Don't forget to set up SVN_EDITOR:
export SVN_EDITOR=vim

Some Tips for the SubVersion System

1. Install a server

[elathan@velka elathan]$ cat /etc/services | grep svn
svn             3690/tcp                        # Subversion
svn             3690/udp                        # Subversion

For xinetd-based systems:

[elathan@velka elathan]$ cat /etc/xinetd.d/svn 

service svn
{
        disable         = no
        socket_type     = stream
        wait            = no    
        port            = 3690
        protocol        = tcp
        user            = svn 
        server          = /usr/local/bin/svnserve
        server_args     = -i -r /home/svn/
}

For inetd-based systems:

elathan@morfeas:~> cat /etc/inetd.conf | grep svn
svn stream tcp nowait svn /usr/local/bin/svnserve svnserve -i -r /home/svn

In all the above the creation of a user 'svn' is implied. Also, all
the repositories will be created under his home directory.

2. Create a repository

% svnadmin create /home/svn/navel

3. Checking Out

[elathan@velka navel]$ svn checkout svn://morfeas.navel.gr/navel

svn://morfeas.navel.gr is the SVN Server.
navel is the repository

4. Updating

svn update

5. Adding

svn add foo

6. Committing

svn commit foo

7. Seeing the changes

svn status [--verbose]

8. Id tag use

Put these in your .subversion/config:

[miscellany]
enable-auto-props = yes

[auto-props]
*.rb = svn:keywords=Id 
*.rx = svn:keywords=Id 
*.sx = svn:keywords=Id 
*.si = svn:keywords=Id
*.ss = svn:keywords=Id
*.xsl = svn:keywords=Id
*.css = svn:keywords=Id

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nitro-0.1.2 doc/svn.txt