Tag Archive ‘svn’

 

CharlyBr on May 28th, 2008Deny access to .svn directories with Apache2 / lighttpd

If you’re using SVN to control your web application, your certainly need to deny access to .svn sub-directories.
With Apache2
<DirectoryMatch “^/.*/\.svn/”>
Order allow,deny
Deny from all
</DirectoryMatch>
With [...]

CharlyBr on May 23rd, 2008Retrieve file from svn

Sometimes you need to retrieve a single file from SVN without doing a checkout on the repository.
SVN provides the svn cat to output the content of a file. You can redirect the output to get the file as :
svn cat https://svn.mydomain.com/project/folder/file.ext > file.ext
You can also use a simple shell script to do the work :
$ [...]