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.
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 .
$ 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.
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
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With