Some notes about SVN

General stuff

recursive deletion of .svn directories

find ./ -type d -name ".svn" -exec rm -Rf {} \;

find ./ -type d -name ".svn" recursively finds directories named ".svn". Adding -exec rm -Rf {} \; deletes the search results.

Guides

Quick guides: http://borkware.com/quickies/one?topic=Subversion

Extensive FAQ: http://subversion.apache.org/faq.html

manual: http://svnbook.red-bean.com/en/1.4/index.html

DESY SVN

browse: https://svnsrv.desy.de/k5viewvc/atlas/

info: https://svnsrv.desy.de/access.html

access possibilities:

unauthenticated

svn co https://svnsrv.desy.de/public/atlas

using kerberos auth

svn co https://svnsrv.desy.de/desy/atlas

using auth with certificate

svn co https://svnsrv.desy.de/svn/atlas

using basic authentication

svn co https://svnsrv.desy.de/basic/atlas

CERN SVN

Group SVN: svn+ssh://svn.cern.ch/reps/atlasgrp/Institutes/DESY-ZN

browse: https://svnweb.cern.ch/trac/atlasgrp/browser/Institutes/DESY-ZN

URLs for ATLAS repositories:

svn+ssh://svn.cern.ch/reps/atlasoff
svn+ssh://svn.cern.ch/reps/atlasusr
svn+ssh://svn.cern.ch/reps/atlasgrp

Miscellaneous

Automatically check out external packages while checking out another package

Use the svn:externals property: http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html

svn propedit svn:externals LocalPackageName

This will open your text editor where you should put something like that:

SubDirToCheckOutTo   svn+ssh://svn.cern.ch/reps/...PathToExternalPackage.../trunk

To check the properties do:

svn propget svn:externals LocalPackageName

Then do

svn update

Whenever you check out the local package, you will from then on also check out the external package.

ATLAS: ClemensLange/SVNNotes (last edited 2011-01-11 10:06:22 by ClemensLange)