SVN Quick Reference

Having followed these instructions to set up Subversion I thought I would keep a note of frequently used commands. Recommended Reading – http://svnbook.red-bean.com/en/1.7/index.html

Creating a new repository

Login to your Synology Box and:

Under /volume1/svn/test/conf edit the passwd file to have following contents:

Also chmod 600 passwd to limit chances of it being read.  Edit also the svnserve.conf to have following contents:

Checking out a repository

Adding a file

From inside a repository i.e.  you must cd into the local repository folder

or for all files use

and for files added since the first commit

Committing Files

Updating local repository with remote version

Use svn update to bring your working copy into sync with the latest revision in the repository:

 

 

About CDB 361 Articles
Self-Employed Software Developer, Spark, Property Management, Hobby Forestry, Ex-Teacher, Engineering - Wood, Metal, Electrics & Computers. Outdoors - Walk, Cycle, Kitesurf,

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.