Nasrul Hazim Bin Mohamad

SVN: Editor & Ignore List

Apr
20

Set SVN Text Editor

$ export SVN_EDITOR=joe

Add Directory to Ignore List

$ svn propset svn:ignore /path/to/ignore .

SVN: Create new SVN user in Ubuntu

Mar
26


sudo htpasswd /etc/subversion/passwd username
New password: *******
Re-type new password: *******
Adding password for user username

OS: Ubuntu 12.04 LTS

SVN: Create New Repository in Ubuntu

Dec
15

Check SVNParentPath at /etc/apache2/mods-available/dav_svn.conf

Go to the [SVNParentPath]:

$ cd [SVNParentPath]

Create the project directory:

$ sudo mkdir myproject

The SVN repository can be created using the following command:

$ sudo svnadmin create [SVNParentPath]/myproject

And use the following commands to correct file permissions:

$ cd [SVNParentPath]
$ sudo chown -R www-data:subversion myproject
$ sudo chmod -R g+rws myproject