views:

54

answers:

3

Hi, I'm running Linux and i put some files in svn's ignore list. Now i want to remove it. How could I do that? Command line svn... Thank you

+1  A: 

Use the svn propdel command

Directory:

svn propdel svn:ignore .

Recursive:

svn propdel svn:ignore -R

Nix
this will remove all ignores in the directory, if you just want one use the propedit by @virtualblackfox
Paul Rubel
+3  A: 

Using propedit start the default text editor to edit a property, in this case it's the one named svn:ignore :

svn propedit svn:ignore .
VirtualBlackFox
A: 

If you just want to remove one file out of several others from svn ignore, do as @virtualblackfox says to get to your svn:delete property in a text editor. If you see the actual file listed, e.g. (file2.txt):

file1.txt
file2.txt
file3.txt

Then simply remove it, e.g.:

file1.txt
file3.txt

But if you have a filter like *.txt, then you will need to create a black list.

Then 'svn stat' and you should see something like

?    file2.txt

Then you can 'svn add file2.txt' back in to the repository.

Reuben Peter-Paul