Subversion filter
Posted by Prem on April 21st, 2010 filed in Linux, Tech topicsAs developers, we use some versioning system. We also come under situation, where we dont want to keep every files in the repo. Especially those that are created at runtime, as logs. We can create filters in the repo, so that we can ensure that these files are not saved in the repository. Here is how we do it in subversion:
svn propset svn:ignore "*.log" log
What this means is, we are telling subversion to ignore all the *.log files inside the log directory that is situated in the current folder. You run this command from within the repo.
You can run the following command to see what all properties are set in the current folder.
svn proplist
Leave a Comment
You must be logged in to post a comment.