tisdag 26 oktober 2010

Checkout folder without children with Subversion

Sometimes you need to checkout a child directory without checking out other children. For doing this you need to checkout the parent folder with the -N argument, which means that the folder will be checked out without any content. After that you can just make a update for the specific child folder.

1. svn co -N "parentFolder"
2. cd "parentFolder"
3. svn update "childFolder"

One other option is to directly checkout the actual folder without parent, but that would be too easy. ;)

1. svn co "projectParent/parentFolde/childFolder/"