====== Subversion ======
===== Basic Commands =====
If using this guide, be sure to replace "user" with actual user name.
Create svn repository.
%%
[user@highenergy ~]$ svnadmin create --fs-type fsfs /home/user/svn
%%
Lists directory.
%%
[user@highenergy ~] svn ls file:///home/user/svn
%%
View repository log.
%%
[user@highenergy ~]$ svn log file:///home/user/svn
%%
Create a directory.
%%
[user@highenergy ~]$ svn mkdir file:///home/user/svn/my_project
%%
===== How to import a project or group of files. =====
Change directory to the project path.
[user@highenergy ~]$ cd /path/to/my/project
View the directory structure with the tree command.
You may need to install tree in order to do this.
//tree -a//
Get rid of any compiled files, binary executables and so forth. This will leave just the source code files to keep in our repository.
[user@highenergy ~]$ rm -f bin/main
Import project into repository.
%%
[user@highenergy ~]$ svn import /path/to/my/project/ file:///home/user/svn/my_project -m 'Initial import'
%%
===== Checkout a Project =====
Now to make use of svn
# Coming soon