r3728 - branches/nexuiz-2.0

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Jun 28 11:25:03 EDT 2008


Author: div0
Date: 2008-06-28 11:25:03 -0400 (Sat, 28 Jun 2008)
New Revision: 3728

Modified:
   branches/nexuiz-2.0/branch-manager
Log:
in system(), 0 means success


Modified: branches/nexuiz-2.0/branch-manager
===================================================================
--- branches/nexuiz-2.0/branch-manager	2008-06-28 15:23:47 UTC (rev 3727)
+++ branches/nexuiz-2.0/branch-manager	2008-06-28 15:25:03 UTC (rev 3728)
@@ -236,14 +236,14 @@
 	system 'vim .commitmsg';
 	print "Hit Enter if OK to commit, Ctrl-C otherwise...\n";
 	my $ok = <STDIN>;
-	if(system 'svn commit -F .commitmsg')
+	if(!system 'svn commit -F .commitmsg')
 	{
 		unlink '.commitmsg';
 	}
 }
 elsif($cmd eq 'revert')
 {
-	if(system 'svn revert -R .')
+	if(!system 'svn revert -R .')
 	{
 		unlink '.commitmsg';
 	}




More information about the nexuiz-commits mailing list