Skip to content

Instantly share code, notes, and snippets.

@andy-cline
Created June 13, 2011 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andy-cline/1023715 to your computer and use it in GitHub Desktop.
Save andy-cline/1023715 to your computer and use it in GitHub Desktop.
Change the author on a local Subversion repository.
#!/bin/sh
AUTHOR=$1
FIRSTREV=$2
LASTREV=$3
for (( i = $FIRSTREV ; i <= $LASTREV; i++ ))
do
svn propset --revprop -r $i svn:author $AUTHOR
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment