Use GIT instead of svn

This commit is contained in:
Jamie Cameron 2009-10-12 16:24:35 -07:00
parent fb212f10e2
commit 514be1b3b1

View File

@ -2,7 +2,8 @@
# Convert words in lang/en files from UK to US spelling.
# Create lang/en_GB files containing words that are different.
if ($ARGV[0] eq "--svn" || $ARGV[0] eq "-svn") {
if ($ARGV[0] eq "--svn" || $ARGV[0] eq "-svn" ||
$ARGV[0] eq "--git" || $ARGV[0] eq "-git") {
shift(@ARGV);
$svn = shift(@ARGV);
}
@ -57,7 +58,7 @@ foreach $f (@rv) {
print $f,"\n";
if ($svn) {
($dir, $rest) = split(/\//, $f, 2);
system("cd $dir ; svn add $rest ; svn commit -m '$svn' $rest");
system("cd $dir ; git add $rest ; git commit -m '$svn' $rest ; git push");
}
}