Skip to content

Instantly share code, notes, and snippets.

@trevershick
Last active August 29, 2015 14:27
Show Gist options
  • Save trevershick/97a079e967e28d2d6af9 to your computer and use it in GitHub Desktop.
Save trevershick/97a079e967e28d2d6af9 to your computer and use it in GitHub Desktop.
Subversion - Lists out all files that have changes when compared to trunk
# Lists out all files that have changes when compared to trunk
# this assumes the name of the current directory
# is the name of the folder in ^/trunk/<<folder>>
BASE=$(pwd); BASE=$(basename $BASE); svn diff ^/trunk/$BASE . | grep Index | grep "\." | cut -d " " -f2 | xargs basename | sort | uniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment