export certain revision of file from svn
Easier to just cat the revision you want and copy it over rather than try to check out a certain revision.
svn cat -r [REV] mydir/myfile > mydir/myfile
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
svn cat -r [REV] mydir/myfile > mydir/myfile
<IfModule mod_rewrite.c> RewriteRule ^(.*/)?\.svn/ - [F,L] ErrorDocument 403 "Access Forbidden" </IfModule>
<DirectoryMatch "^/.*/(\.svn|CVS)/"> Order deny,allow Deny from all </DirectoryMatch>
svnadmin create /var/svn/repository_name
svn import svn+ssh://myserver.com/var/svn/repository_name
cd .. mkdir bak_directory cp -R my_directory bak_directory cd my_directory rm -rf * svn co svn+ssh://myserver.com/var/svn/repository_name .
% svn co svn+ssh://mainuser@yourdomain.tld/home/mainuser/svn/repositoryname/
svn delete <dir> --force
svn delete http://cru.textdriven.com/svn/<project_dir>/<dir> -m "<reason for deletion>"
svn commit -m "<change description>"
#/bin/sh wdiff $6 $7
svn st | grep "^?" | awk -F " " '{print $2}' | xargs svn add
svn st | grep "^!" | awk -F " " '{print $2}' | xargs svn delete
svn propset svn:ignore "[!_]*" .
#!/bin/bash # sup -- a quick bash script to sync w/ various SCM tools # @author Jamie Wilkinson <jamie@tramchase.com> HERE=$(pwd) ## subversion if [ -e ".svn" ]; then svn up ## cvs elif [ -e "CVS" ]; then cvs up -dP ## darcs elif [ -e "_darcs" ]; then darcs pull --all ## svk elif [ -n "`grep $HERE ~/.svk/config`" ]; then svk up ## git elif [ -e ".git" ]; then git pull ## perforce # todo ## arch # todo ## bzr # todo fi