Skip to content

Instantly share code, notes, and snippets.

@mathewpeterson
Created June 9, 2011 21:00
Show Gist options
  • Save mathewpeterson/1017732 to your computer and use it in GitHub Desktop.
Save mathewpeterson/1017732 to your computer and use it in GitHub Desktop.
Get the files that were changed in trunk in the svn repo since revision for user
#!/bin/bash
SVN_USERNAME=$1
SVN_REVISION=$2
svn log -v -r $SVN_REVISION:HEAD | awk "/^r[0-9]+ / {user=\$3} /trunk/ {if (user==\"$SVN_USERNAME\") {print \$2}}" | sort | uniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment