Shaun Luttin
Shaun Luttin

Reputation: 141672

Ignore a directory

Context

We can add use Tortoise to ask subversion to ignore a directory by using the integration user interface as follows:

  1. Right click directory.
  2. TortoiseSVN.
  3. Add to ignore list.
  4. SomeDirectory (recursively).

TortoiseIgnore

When it's done there is an alert:

Done

Two questions:

  1. How can we do this through the standard subversion command line?
  2. Where does Tortoise persist the above ignore info for SomeDirectory. I.e., where is the global ignore list that contains this ignore entry?

What Have I Tried

 [PowerShell]
 svn proplist -R . | select-string ignore

Upvotes: 0

Views: 41

Answers (1)

S.Spieker
S.Spieker

Reputation: 7385

1) You can set the property, in your example:

svn propset svn:ignore "WebAnalytics" . 

If you have more than one property to add, you can use:

svn propedit svn:ignore .

2) It is stored at the properties of the according folder. The global ignore list is stored on your local machine at the registry:

 HKEY_CURRENT_USER\Software\Tigris.org\Subversion\Config\miscellany

Upvotes: 1

Related Questions