This is an automated email from the git hooks/post-receive script.

kanashiro-guest pushed a commit to branch master
in repository carton.

commit 51b550cf0c1830dbb91846d5aada56eb191275fb
Author: Tatsuhiko Miyagawa <miyag...@bulknews.net>
Date:   Wed Jun 5 11:13:53 2013 +0900

    rename use_darkpan
---
 lib/Carton/Builder.pm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/Carton/Builder.pm b/lib/Carton/Builder.pm
index 1e6ed62..5f3a3f3 100644
--- a/lib/Carton/Builder.pm
+++ b/lib/Carton/Builder.pm
@@ -14,13 +14,13 @@ sub effective_mirrors {
     # TODO don't pass fallback if --cached is set?
 
     my @mirrors = ($self->mirror);
-    push @mirrors, Carton::Mirror->default if $self->use_darkpan;
+    push @mirrors, Carton::Mirror->default if $self->custom_mirror;
     push @mirrors, Carton::Mirror->new('http://backpan.perl.org/');
 
     @mirrors;
 }
 
-sub use_darkpan {
+sub custom_mirror {
     my $self = shift;
     ! $self->mirror->is_default;
 }
@@ -50,7 +50,7 @@ sub install {
         "--skip-satisfied",
         ( $self->index ? ("--mirror-index", $self->index) : () ),
         ( $self->cascade ? "--cascade-search" : () ),
-        ( $self->use_darkpan ? "--mirror-only" : () ),
+        ( $self->custom_mirror ? "--mirror-only" : () ),
         "--with-develop",
         "--installdeps", ".",
     ) or die "Installing modules failed\n";

-- 
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

Reply via email to