[Bps-public-commit] Shipwright branch, master, updated. 6763208c0939b8ab301a1606b17cd02f566f5cbe

sunnavy at bestpractical.com sunnavy at bestpractical.com
Sun Apr 26 04:53:58 EDT 2009


The branch, master has been updated
       via  6763208c0939b8ab301a1606b17cd02f566f5cbe (commit)
      from  cdd0f18d8b1d918dd0f59d34685988d08e9f7801 (commit)

Summary of changes:
 lib/Shipwright/Backend/Git.pm |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)

- Log -----------------------------------------------------------------
commit 6763208c0939b8ab301a1606b17cd02f566f5cbe
Author: sunnavy <sunnavy at gmail.com>
Date:   Sun Apr 26 16:53:48 2009 +0800

    comment

diff --git a/lib/Shipwright/Backend/Git.pm b/lib/Shipwright/Backend/Git.pm
index f564b74..4f723f5 100644
--- a/lib/Shipwright/Backend/Git.pm
+++ b/lib/Shipwright/Backend/Git.pm
@@ -143,15 +143,14 @@ sub DESTROY {
     my $cwd  = getcwd;
     chdir $self->cloned_dir;
 
-    Shipwright::Logger->_initialize_log4perl(
-        log_level => $self->{log_level},
-        log_file  => $self->{log_file}
-    );
-    Shipwright::Util->run( [ $ENV{'SHIPWRIGHT_GIT'}, 'add', '.' ] );
-    #TODO comment need to be something special
-    Shipwright::Util->run(
-        [ $ENV{'SHIPWRIGHT_GIT'}, 'commit', '-m', 'comment', '-a' ], 1 );
-    Shipwright::Util->run( [ $ENV{'SHIPWRIGHT_GIT'}, 'push' ] );
+#    Shipwright::Util->run( [ $ENV{'SHIPWRIGHT_GIT'}, 'add', '.' ] );
+#    TODO comment need to be something special
+#    Shipwright::Util->run(
+#        [ $ENV{'SHIPWRIGHT_GIT'}, 'commit', '-m', 'comment', '-a' ], 1 );
+#    Shipwright::Util->run( [ $ENV{'SHIPWRIGHT_GIT'}, 'push' ] );
+    system( $ENV{'SHIPWRIGHT_GIT'}, 'add', '.' );
+    system( $ENV{'SHIPWRIGHT_GIT'}, 'commit', '-m', 'comment', '-a' );
+    system( $ENV{'SHIPWRIGHT_GIT'}, 'push' );
     chdir $cwd;
 }
 

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



More information about the Bps-public-commit mailing list