Created
March 16, 2009 14:03
-
-
Save greut/79890 to your computer and use it in GitHub Desktop.
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
| $ svn propget svn:externals -R | ruby -pe 'if $_.length() > 2; v = $_[0,$_.length-1].split(" ", 3); v[2] = v[2].gsub("/old_directory/", "/new_directory/"); $_ = "propset svn:externals \"#{v[2]}\" #{v[0]}"; end;' | xargs svn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment