[interchange-docs] [SCM] Interchange XML documentation branch, master, updated. d8cabd3e9a9996ae6323a29f40524a958be5e374

Davor Ocelic interchange-cvs at icdevgroup.org
Mon Jan 25 18:27:58 UTC 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Interchange XML documentation".

The branch, master has been updated
       via  d8cabd3e9a9996ae6323a29f40524a958be5e374 (commit)
      from  54dfa0aab2141877a5233e5f0cb54360ed0c6e9d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d8cabd3e9a9996ae6323a29f40524a958be5e374
Author: Davor Ocelic <docelic at bouli.neaspec.de>
Date:   Mon Jan 25 19:27:49 2010 +0100

    Fix bad fd number messages

-----------------------------------------------------------------------

Summary of changes and diff:
 bin/coup |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/bin/coup b/bin/coup
index 7eb99d9..0439450 100755
--- a/bin/coup
+++ b/bin/coup
@@ -34,8 +34,8 @@ if ( -d ($_ = "sources/$rev") ) { # Source is here, only update
 	if ( $update ) {
 		chdir $_;
 		print STDERR "CUP   $rev\n";
-		DEBUG and print "DBG $ENV{PWD}: git pull >& ../../tmp/cup.$rev\n";
-		system("git pull >& ../../tmp/cup.$rev");
+		DEBUG and print "DBG $ENV{PWD}: git pull > ../../tmp/cup.$rev 2>&1\n";
+		system("git pull > ../../tmp/cup.$rev 2>&1");
 	}
 }
 else { # Need to perform checkout
@@ -45,7 +45,9 @@ else { # Need to perform checkout
 	system("git clone git://git.icdevgroup.org/interchange $rev > ../tmp/co.$rev 2>&1");
 
 	chdir "$rev" or die "Can't chdir $rev ($!)";
-	DEBUG and print "DBG $ENV{PWD}: git checkout --track -b '$git_r' > ../../tmp/co.$rev 2>&1";
-	system("git checkout --track -b '$git_r'");
+	if (length($git_r)) {
+		DEBUG and print "DBG $ENV{PWD}: git checkout --track -b '$git_r' > ../../tmp/co.$rev 2>&1";
+		system("git checkout --track -b '$git_r'");
+	}
 }
 


hooks/post-receive
-- 
Interchange XML documentation



More information about the docs mailing list