Created
November 11, 2014 20:38
-
-
Save chrisisbeef/48a0b3bf38ee923b9944 to your computer and use it in GitHub Desktop.
SVN/Maven: Get a list of changed files for a specified range of revisions relative to the target directory of a compiled maven project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in $(svn diff --summarize -r16044:16045 | grep -v "/test/" | awk '{print $2}'); do printf "classes/"; if [[ "$f" =~ "/java/" ]]; then printf "$f" | cut -b 15- | sed 's/.java/*.class/'; elif [[ "$f" =~ "/resources/" ]]; then printf "$f" | cut -b 20-; fi; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment