Created
April 25, 2011 09:26
Revisions
-
Luka Napotnik revised this gist
Apr 25, 2011 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -17,4 +17,4 @@ then fi echo "SVN switching from $OLD to $NEW" svn switch --relocate https://$OLD/trunk https://$NEW/trunk -
Luka Napotnik created this gist
Apr 25, 2011 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ #!/bin/bash if [ $# -eq 0 ] then echo "$0 [home|office]" exit fi if [ $1 == "home" ] then OLD="XXX" NEW="YYY" elif [ $1 == "office" ] then OLD="YYY" NEW="XXX" fi echo "SVN switching from $OLD to $NEW" svn switch --relocate https://$old/trunk https://$new/trunk