There are many reasons that you might want to disregard a directory in your Subversion repository. My particular reason happens to be the various cache directories that are used with CakePHP. I have setup 3 areas (dev, stage, live) for my website and update them from a Subversion repository, so I don’t need/want any of the cached files from one server going to the next. My development area is on my local box where I use Windows/TortioseSVN. To add a directory not already in the repo to the ignore list with TortioseSVN:
Right click on folder -> TortioseSVN -> Add to ignore list
To add a directory already in the repo, I believe it is something like:
Right click on folder -> TortioseSVN -> Properties -> Add... -> Property name: svn:ignore -> Property value: * -> Check 'Apply property recursively'
My staging and live areas are on a Linux box, and those directories can be handled with:
svn propset svn:ignore '*' Directory
1 response so far ↓
1 j taylor // Sep 21, 2007 at 8:10 am
i was skeptical of subversion at first, but now i’m really liking it. subversion is totally sweet.
Leave a Comment