Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I list a Subversion repository's ignore settings?

Tags:

svn

I have an SVN repository I set up a long time ago. I don't remember exactly what files I specified to be ignored, and I can't find documentation on how to display the ignore settings I set.

How can I find these settings?

This is on my CentOS server.

like image 509
dunxd Avatar asked Dec 22 '10 13:12

dunxd


People also ask

How do I ignore target folder in svn?

To ignore files in subversion you want to set the svn:ignore property. You can see more here http://svnbook.red-bean.com/en/1.8/svn.advanced.props.special.ignore.html about half way down. svn propset svn:ignore target . svn propedit svn:ignore .

How remove svn added files?

$ svn delete -m "Deleting file 'yourfile'" \ file:///var/svn/repos/test/yourfile Committed revision 15. Use the --keep-local option to override the default svn delete behavior of also removing the target file that was scheduled for versioned deletion.


3 Answers

List all properties recursively on all files:

svn proplist -v -R [TARGET]  

You could also send the output in a file to find any svn:ignore property:

svn proplist -v -R [TARGET] > file.log 
like image 131
yvoyer Avatar answered Oct 06 '22 09:10

yvoyer


svn proplist -v -R mylocalfolder/ | grep svn:ignore -B 1

This is your answer dunxd. Left hand side will list all props. Right hand side grep will filter them.

like image 32
csonuryilmaz Avatar answered Oct 06 '22 07:10

csonuryilmaz


Use:

svn pg -R svn:ignore .

See Stack Overflow question How do I view all ignored patterns set with svn:ignore recursively in an SVN repository?

This shows the relative path with all files ignored by SVN in a working copy of a folder structure. It shows everything recursively.

like image 43
steve johnson Avatar answered Oct 06 '22 07:10

steve johnson