ssh -p 10022 username@svn.ma.ic.ac.uk
jbloggs@svn:~ $ passwd Changing password for user jbloggs. Changing password for jbloggs. (current) UNIX password: New password: Retype new password: passwd: all authentication tokens updated successfully.
scp -P 10022 /path/to/archive_file/archive_file username@svn.ma.ic.ac.uk:
svnadmin create --fs-type fsfs /srv/svn/username
cd /srv/svn/username mkdir repos1 repos2 repos3
cd /srv/svn/username
mkdir repos1/{branches,tags,trunk}
mkdir repos2/{branches,tags,trunk}
mkdir repos3/{branches,tags,trunk}
svn list file:///srv/svn/username
svn list file:///srv/svn/username repos1 repos2 repos3
svn list file:///srv/svn/username/repos2 trunk
cd $HOME svn import my_project4 file:///srv/svn/username/repos1/trunk/My_Project_4 -m "initial import"
You can verify the import has been successful with:
svn list file:///srv/svn/username/repos1/My_Project_4/trunk go_down_btn.gif go_next_btn.gif go_prev_btn.gif go_top_btn.gif go_up_btn.gif help_btn.gif index.html
/repos1/My_Project_4/trunk
|
|---/images
| |
| |---/photos
| |---/icons
| |---/line_drawings
|
|---/text
| |
| |---/chapter1
| |---/chapter2
|
|---/PDF
| |
| |---/section1
| |---/section2
| |---/section3
|
|---/code
|
|---/headers
|---/main
|---/drivers
|---/modules
|---/optional
Research Computing Officer, Department of Mathematics
last updated: 19.09.2012