Created
November 7, 2017 12:58
-
-
Save cpelley/ea8644cb16cab43d1aa16b7a8c238c5f to your computer and use it in GitHub Desktop.
svn diff of file renames (moves)
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
REPO_BRANCH_PATH=<relative_url> | |
OLD_REV=<old_revision> | |
NEW_REV=<new_revision> | |
OLD_PATH=("<file_path>" \ | |
"<file_path2>" \ | |
) | |
NEW_PATH=("<file_path_new>" \ | |
"<file_path2_new>" \ | |
) | |
i=0 | |
while [ $i -lt ${#OLD_PATH[*]} ]; do | |
svn diff --old ${REPO_BRANCH_PATH}/${OLD_PATH[$i]}@${OLD_REV} --new ${REPO_BRANCH_PATH}/${NEW_PATH[$i]}@${NEW_REV} | |
i=$(( $i + 1)); | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment