From: Ian Jackson Date: Sat, 16 May 2015 23:10:11 +0000 (+0100) Subject: Infra: in dgit-repos-policy-debian actually call getpushinfo X-Git-Tag: debian/0.30~165 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=881383cd6717e22293b0c2a912afba2c6b421a94;hp=ec99fb2d75264668e6f7e6628bb3c87c1b69f332;p=dgit.git Infra: in dgit-repos-policy-debian actually call getpushinfo --- diff --git a/infra/dgit-repos-policy-debian b/infra/dgit-repos-policy-debian index dd2a9c80..8a105366 100755 --- a/infra/dgit-repos-policy-debian +++ b/infra/dgit-repos-policy-debian @@ -251,6 +251,8 @@ sub deliberately ($) { return $deliberately{$_[0]}; } sub action_push () { getpackage(); + getpushinfo(); + return 0 unless $pkg_exists; return 0 unless $pkg_secret; @@ -275,8 +277,9 @@ sub action_push () { sub action_push_confirm () { getpackage(); - die unless @ARGV >= 5; - my $freshrepo = $ARGV[4]; + getpushinfo(); + die unless @ARGV >= 1; + my $freshrepo = shift @ARGV; my $initq = $poldbh->prepare(<