[Bps-public-commit] Test-Chimps-Client branch, master, updated. 82d9f29b881911c87f378f052a8c8b14be865e14

Alex M Vandiver alexmv at bestpractical.com
Mon Dec 14 14:18:29 EST 2009


The branch, master has been updated
       via  82d9f29b881911c87f378f052a8c8b14be865e14 (commit)
       via  21db91f579eb02f48b374595d78a05dea51f3559 (commit)
      from  101986be50b86344291f7dad307d4f59438e22e9 (commit)

Summary of changes:
 lib/Test/Chimps/Smoker/Git.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 21db91f579eb02f48b374595d78a05dea51f3559
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Dec 14 14:18:06 2009 -0500

    Support older gits who lack --format=

diff --git a/lib/Test/Chimps/Smoker/Git.pm b/lib/Test/Chimps/Smoker/Git.pm
index a672c69..cbe8bda 100644
--- a/lib/Test/Chimps/Smoker/Git.pm
+++ b/lib/Test/Chimps/Smoker/Git.pm
@@ -58,7 +58,7 @@ sub clone {
         # Default is that we've tested all parents of the current
         # revision, but not the current revision itself.
         my $branch = $self->branch;
-        my $rev = `git log $branch --format='\%P' -n 1`; chomp $rev;
+        my $rev = `git log $branch --pretty='format:\%P' -n 1`; chomp $rev;
         $self->revision($rev);
     }
 

commit 82d9f29b881911c87f378f052a8c8b14be865e14
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Dec 14 14:18:19 2009 -0500

    Clean _everything_ out, including ignored files

diff --git a/lib/Test/Chimps/Smoker/Git.pm b/lib/Test/Chimps/Smoker/Git.pm
index cbe8bda..c366815 100644
--- a/lib/Test/Chimps/Smoker/Git.pm
+++ b/lib/Test/Chimps/Smoker/Git.pm
@@ -67,7 +67,7 @@ sub clone {
 
 sub clean {
     my $self = shift;
-    $self->run_cmd(qw(clean -fd));
+    $self->run_cmd(qw(clean -fxd));
     $self->run_cmd('checkout', $self->branch);
 }
 

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



More information about the Bps-public-commit mailing list