I am fairly new to Subversion and was wondering how exactly to ignore all folders by a specific name. From what I have read, I think I need to use the svn:ignore function, but I have no clue on how to actually do this. Some places mention a config file.. some say command prompt.

I have my subversion repo set up on a windows 2008 server. I tried to go to command prompt and type svn:ignore name but that didnt work. The tutorial I used to set up my repo (with apache 2.2) had me create an etc folder in c:/. There I have subversion.conf, svn-acl and svn-auth-file.

My subversion.conf file includes this:

<Location /btp>
  DAV svn
  SVNPath C:/Files/Work/Repositories/btp

  AuthType Basic
  AuthName "By The Pixel Repo"
  AuthUserFile c:/etc/svn-auth-file

  Require valid-user

  AuthzSVNAccessFile c:/etc/svn-acl

The client I use for my development machines is tortoisesvn.

Im a bit of a noob so any help is appreciated it! Thanks.

Accepted Answer

In TortoiseSVN the way to do it is

  1. Right-click on working copy
  2. TortoiseSVN --> Properties
  3. New
  4. svn:ignore

The above is for a particular folder that you have checked out. If you want to globally ignore something all the time for your Subversion installation go to

  1. TortoiseSVN Settings
  2. General
  3. Global ignore pattern
Written by Michael Hackner
This page was build to provide you fast access to the question and the direct accepted answer.
The content is written by members of the stackoverflow.com community.
It is licensed under cc-wiki