
Initial Setup
configuration
<Location /repos>
DAV svn
SVNPath /var/www/svn/repos
# Limit write permission to list of valid users.
<LimitExcept GET PROPFIND OPTIONS REPORT>
# Require SSL connection for password protection.
# SSLRequireSSL
AuthType Basic
AuthName "Subversion repos"
AuthUserFile /etc/svn-auth-conf
Require valid-user
</LimitExcept>
</Location>
cd /var/www sudo mkdir svn cd svn sudo svnadmin create repos sudo chown -R apache.apache repos sudo service httpd restart Setting up repository and importing
mkdir myproj cd myproj mkdir trunk mkdir branches mkdir tags cd trunk <put all main files here>
svn import myproj file:///var/www/svn/repos/myproj -m "Initial layout and import for myproj" to checkout repository
to commit changes to repository
to add or remove files from svn logging
to make sure programs and scripts are executable
to update local file with contents of the repository
| ||||||||
| Added: | ||||||||
| > > | to ask about status of local files
| |||||||
to tunnel to svn server
moving repository to new server:
sudo svnadmin dump /var/www/svn/repos >current_repo_backup
cd /var/www sudo mkdir svn cd svn svnadmin create repos sudo chown apache.apache repos
sudo svnadmin load /var/www/svn/repos <current_repo_backup telling your client that the server has movedsvn switch --relocate http://cem100/repos/myrepo http://cronus/repos/myrepo .
| ||||||||
Initial Setup
configuration
<Location /repos>
DAV svn
SVNPath /var/www/svn/repos
# Limit write permission to list of valid users.
<LimitExcept GET PROPFIND OPTIONS REPORT>
# Require SSL connection for password protection.
# SSLRequireSSL
AuthType Basic
AuthName "Subversion repos"
AuthUserFile /etc/svn-auth-conf
Require valid-user
</LimitExcept>
</Location>
cd /var/www sudo mkdir svn cd svn sudo svnadmin create repos sudo chown -R apache.apache repos sudo service httpd restart Setting up repository and importing
mkdir myproj cd myproj mkdir trunk mkdir branches mkdir tags cd trunk <put all main files here>
svn import myproj file:///var/www/svn/repos/myproj -m "Initial layout and import for myproj" to checkout repository
to commit changes to repository
to add or remove files from svn logging
to make sure programs and scripts are executable
to update local file with contents of the repository
to tunnel to svn server
moving repository to new server:
sudo svnadmin dump /var/www/svn/repos >current_repo_backup
cd /var/www sudo mkdir svn cd svn svnadmin create repos sudo chown apache.apache repos
sudo svnadmin load /var/www/svn/repos <current_repo_backup | ||||||||
| Added: | ||||||||
| > > | telling your client that the server has movedsvn switch --relocate http://cem100/repos/myrepo http://cronus/repos/myrepo . | |||||||
| ||||||||
Initial Setup
configuration
<Location /repos>
DAV svn
SVNPath /var/www/svn/repos
# Limit write permission to list of valid users.
<LimitExcept GET PROPFIND OPTIONS REPORT>
# Require SSL connection for password protection.
# SSLRequireSSL
AuthType Basic
AuthName "Subversion repos"
AuthUserFile /etc/svn-auth-conf
Require valid-user
</LimitExcept>
</Location>
cd /var/www sudo mkdir svn cd svn sudo svnadmin create repos sudo chown -R apache.apache repos sudo service httpd restart Setting up repository and importing
mkdir myproj cd myproj mkdir trunk mkdir branches mkdir tags cd trunk <put all main files here>
svn import myproj file:///var/www/svn/repos/myproj -m "Initial layout and import for myproj" to checkout repository | ||||||||
| Changed: | ||||||||
| < < | ||||||||
| > > | ||||||||
to commit changes to repository
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
to add or remove files from svn logging
to make sure programs and scripts are executable
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
to update local file with contents of the repository
| ||||||||
| Deleted: | ||||||||
| < < | to setup repository
| |||||||
to tunnel to svn server | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
moving repository to new server:
sudo svnadmin dump /var/www/svn/repos >current_repo_backup
cd /var/www sudo mkdir svn cd svn svnadmin create repos sudo chown apache.apache repos
sudo svnadmin load /var/www/svn/repos <current_repo_backup
| ||||||||
| ||||||||
| Added: | ||||||||
| > > | Initial Setup
configuration
<Location /repos>
DAV svn
SVNPath /var/www/svn/repos
# Limit write permission to list of valid users.
<LimitExcept GET PROPFIND OPTIONS REPORT>
# Require SSL connection for password protection.
# SSLRequireSSL
AuthType Basic
AuthName "Subversion repos"
AuthUserFile /etc/svn-auth-conf
Require valid-user
</LimitExcept>
</Location>
cd /var/www sudo mkdir svn cd svn sudo svnadmin create repos sudo chown -R apache.apache repos sudo service httpd restart Setting up repository and importing
mkdir myproj cd myproj mkdir trunk mkdir branches mkdir tags cd trunk <put all main files here>
svn import myproj file:///var/www/svn/repos/myproj -m "Initial layout and import for myproj" | |||||||
to checkout repository
to commit changes to repository
to add or remove files from svn logging
to make sure programs and scripts are executable
to update local file with contents of the repository
to setup repository
to tunnel to svn server
| ||||||||
| Added: | ||||||||
| > > | moving repository to new server:
sudo svnadmin dump /var/www/svn/repos >current_repo_backup
cd /var/www sudo mkdir svn cd svn svnadmin create repos sudo chown apache.apache repos
sudo svnadmin load /var/www/svn/repos <current_repo_backup | |||||||
| ||||||||
to checkout repository
to commit changes to repository
| ||||||||
| Added: | ||||||||
| > > |
| |||||||
to add or remove files from svn logging
to make sure programs and scripts are executable
to update local file with contents of the repository
to setup repository
to tunnel to svn server
| ||||||||
to checkout repository | ||||||||
| Changed: | ||||||||
| < < | ||||||||
| > > | ||||||||
to commit changes to repository
to add or remove files from svn logging
| ||||||||
| Changed: | ||||||||
| < < | to update local file relative to repository | |||||||
| > > | to make sure programs and scripts are executable | |||||||
| Added: | ||||||||
| > > |
to update local file with contents of the repository | |||||||
to setup repository
to tunnel to svn server
| ||||||||
| Changed: | ||||||||
| < < | ||||||||
| > > | ||||||||
| Added: | ||||||||
| > > |
| |||||||
| ||||||||
to checkout repository
to commit changes to repository
to add or remove files from svn logging
to update local file relative to repository
to setup repository
to tunnel to svn server
|