How do I remove one svn:ignore rule?

4.8k views Asked by At

Let's say I have a directory under SVN control and I have a LOT of svn:ignore rules defined for this directory. I want to remove only one of those rules. How can I achieve this?

I only found a command line solution to remove all rules, but this is not for me :)

PS: any solution will do: command line, eclipse, Tortoise

3

There are 3 answers

1
Tomasz Kowalczyk On BEST ANSWER

If tou are using TortoiseSVN you probably expect some graphical interface to do this, so:

click Right Mouse Button on the directory you want to edit, then TortoiseSVN > Properties

And use the buttons and list there.

0
Ned Batchelder On
svn propedit svn:ignore .

will open an editor with all your rules. Delete the one you don't want any more. Save the file.

0
Jeremy Whitlock On
svn propedit svn:ignore PATH

That will let you edit the value. If you want the long version, you could:

svn propget svn:ignore PATH

Then create your own version, as you see fit, and then do an:

svn propset svn:ignore YOUR_NEW_VALUE PATH