On Thu Jul 29 13:28:33 2010, JQUELIN wrote:
Show quoted text> On Thu Jul 29 12:48:20 2010, CHORNY wrote:
> > t/2-commit-build-custom.t hangs on Windows XP at the line
> "$zilla->build;".
>
> are you using the latest version?
sure
Problem is in Dist::Zilla::Plugin::Git::CommitBuild->_commit_build own
git call
I replaced some of code with this:
my @args=('commit-tree', $tree, map { ( -p => $_ ) } @parents);
my $in=_format_message( $self->message, $src );
open my $file,'>','git_commit_txt';
print $file $in;
close $file;
push @args,"<git_commit_txt";
print STDERR "git ",join(' ',@args),"\n";
print STDERR "git input: $in\n";
IPC::Open3::open3(my $wtr, my $rdr, my $err, 'git', @args);
#print {$wtr} $in;
close $wtr;
Now it dies with error:
unhandled: initial commit at
C:/strawberry/perl/site/lib/Git/Wrapper.pm line 110.
result of `git log --pretty=medium --no-color build-dev`:
----------------
commit ea56801e3ca3719f980b482881e0e56f64b08c33
Author: dzp-git test <dzp-git@test>
Date: Sat Aug 7 09:33:14 2010 +0300
commit b2d00d945ee2c7400e911df584dd31cca302890e
Author: dzp-git test <dzp-git@test>
Date: Sat Aug 7 09:33:11 2010 +0300
initial commit
----------------
--
Alexandr Ciornii,
http://chorny.net