This is an automated email from the git hooks/post-receive script. kanashiro-guest pushed a commit to branch master in repository carton.
commit 1ec1147c2e56f07b751637f44787900d03398f9e Author: Tatsuhiko Miyagawa <miyag...@bulknews.net> Date: Fri Jun 24 19:49:03 2011 -0700 dedupe based on the module name --- lib/App/Carton.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/App/Carton.pm b/lib/App/Carton.pm index 0914adb..0a0c268 100644 --- a/lib/App/Carton.pm +++ b/lib/App/Carton.pm @@ -204,9 +204,10 @@ sub _build_tree { my($self, $children, $node, $index, $cached) = @_; require Module::CoreList; for my $child (@$children) { - next if $child eq 'perl' or $cached->{$child}++; + next if $child eq 'perl'; if (my $mod = $index->{$child}) { $mod = $mod->{module}; + next if $cached->{$mod->{name}}++; push @$node, [ $mod, [] ]; my %deps = (%{$mod->{requires}{configure}}, %{$mod->{requires}{build}}); $self->_build_tree([ keys %deps ], $node->[-1][-1], $index, $cached); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/carton.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits