Use GIT instead of svn
This commit is contained in:
+3
-2
@@ -2,7 +2,8 @@
|
|||||||
# Convert words in lang/en files from UK to US spelling.
|
# Convert words in lang/en files from UK to US spelling.
|
||||||
# Create lang/en_GB files containing words that are different.
|
# 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);
|
shift(@ARGV);
|
||||||
$svn = shift(@ARGV);
|
$svn = shift(@ARGV);
|
||||||
}
|
}
|
||||||
@@ -57,7 +58,7 @@ foreach $f (@rv) {
|
|||||||
print $f,"\n";
|
print $f,"\n";
|
||||||
if ($svn) {
|
if ($svn) {
|
||||||
($dir, $rest) = split(/\//, $f, 2);
|
($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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user