Home > Computer Stuff > Script that filters SVN DIFF output, removing entires based on metadata or file names

Script that filters SVN DIFF output, removing entires based on metadata or file names

I wrote a script that allows you to filter svn diff output to exclude changes based on metadata and file names (or anything else on the first line that can be greped).

I wrote it to remove all of the “properties” changes and filter out the output files, so all that was left was the code changes and a list of binary files that were modified.

Just pipe the output of svn diff to the script, after you set the parameters at the top of the script. I put the filters in the script instead of parameters because I always run the same filters.

It is released under the GPLv2 (the licensing details is longer than the script itself).

clean_svn_diff.bash



CC-GNU GPL

This software is licensed under the CC-GNU GPL version 2.0 or later.

Share
Categories: Computer Stuff Tags:
  1. No comments yet.
  1. No trackbacks yet.