Working copy locked
- Occasionally a project will get interrupted committing a file and a project will get locked:
- To unlock the project, goto the command line and run:
Export - exclude .svn
- To export from local working copy, excludes .svn files.
- Useful to prepare an archive to promote to website.
- This will export the website to tmp, without any of the .svn files.
- Reference: http://svnbook.red-bean.com/en/1.0/re10.html
Create subversion project
- Assumes that subversion has been installed on Ubuntu Linux.
- Example user name is 'juser'.
- Example project name is 'my-project'.
- The subversion server is on the localhost.
- The subversion repo is '/home/svn'.
1. Create repository directory and set the permissions:
2. Edit the subversion configuration file:
- Add the following to the bottom of the file:
| Shared password file This is going to create a shared password file /etc/subversion/svn-passwords, used by all projects. If you want to create a new password file for each project, specify a new password file in the AuthUserFile and create it in the next step. |
3. Create the password file, this has to be done only once per user.
4. Create the new authorization file and add the users that are allowed to use the project:
- NOTE: A shortcut is to copy an existing conf file with the correct permissiosn.
5. Restart the server:
6. Test the url, should prompt for password:
Labels:
None
