How To Install Subversion-1.3.2-2
How To Install Subversion-1.3.2-2
2 Installation:
Use the following command to enter a password for each user (-c to create the
file)
htpasswd -n username
[/mes_audit_tool]
amol = rw
B. Apache Configuration:
2.Add the following lines to httpd.conf somewhere AFTER the LoadModule commands to
tell Apache where you keep your Subversion repositories:
<Location /svn>
DAV svn
SVNParentPath /svn/projects
AuthzSVNAccessFile /svn/svn_access
Require valid-user
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /svn/svn_auth
</Location>
<VirtualHost 192.168.0.161:80>
ServerAdmin [email protected]
DocumentRoot /svn
ServerName 192.168.0.161
ErrorLog /svn/logs/dummy-host.example.com-error_log
CustomLog /svn/logs/dummy-host.example.com-access_log common
</VirtualHost>
/etc/rc.d/init.d/httpd restart
C. Initial Import:
e.g.
svn import /home/amol.ghosalkar/amol/stpi file:///svn/test_repos -m "Initial
import"
OR
1. For Linux
2. For VS.NET
#!/bin/sh -e
###########################################################
# Back up Subversion repositories
###########################################################
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Subversion config
###########################################################
# My config
#SVN_DIR="/var/svn"
#BACKUP_DIR="."
SVN_DIR="/svn"
BACKUP_DIR="/tmp/svnbkup"
SVN_REPOS=`ls $SVN_DIR`
# Dump repositories
###########################################################
exit 0
In Tortoise SVN
Import should be done by using Only authenticated person who has rights to create
a repository for e.g. Vaibhav In our SVN.
SVN Checkout:
After changes in Exported folder for changes reflect on the server we have to do
SVN checkout
right click the mouse on exported folder click SVN Checkout.
Then ener URL repository and the Checkout Directory.
Changes will automatically reflected on the server.