Fixed paths in svnpush.pl ... trunk
authorRyan C. Gordon <icculus@icculus.org>
Mon, 07 Apr 2008 20:06:27 -0400
branchtrunk
changeset 125 9d7952ff149d
parent 124 63fb1b69fda5
child 126 556779e8a6d7
Fixed paths in svnpush.pl ...
svnpush.pl
--- a/svnpush.pl	Mon Apr 07 20:04:24 2008 -0400
+++ b/svnpush.pl	Mon Apr 07 20:06:27 2008 -0400
@@ -4,10 +4,10 @@
 use warnings;
 
 print("Making sure svn working copy is up to date...\n");
-system("cd ../mojoshader ; svn update");
-my $svnver = `cd ../mojoshader ; svnversion`;
+system("cd ../svn-mojoshader ; svn update");
+my $svnver = `cd ../svn-mojoshader ; svnversion`;
 chomp($svnver);
-my $hgver = `cd ../mojoshader ; svn log -r${svnver} |grep 'changeset:'`;
+my $hgver = `cd ../svn-mojoshader ; svn log -r${svnver} |grep 'changeset:'`;
 chomp($hgver);
 $hgver =~ s/^changeset:\s+(\d+):.*\Z/$1/;
 my $min = $hgver;
@@ -39,9 +39,9 @@
     print("Getting diff...\n");
     system("hg diff -r${p}:${i} > patch.diff");
     print("Patching svn working copy...\n");
-    system("cd ../mojoshader ; patch -p1 < ../hg-mojoshader/patch.diff");
+    system("cd ../svn-mojoshader ; patch -p1 < ../mojoshader/patch.diff");
     print("Committing svn working copy...\n");
-    system("cd ../mojoshader ; svn commit -F ../hg-mojoshader/commit.txt");
+    system("cd ../svn-mojoshader ; svn commit -F ../mojoshader/commit.txt");
     print("Cleaning up...\n");
     system("rm -rf commit.txt patch.diff");
     print("...revision committed!\n");