From b9c9a1f4bc7a38ea789a3e5ae7c8a8b80d74689a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 22 Aug 2013 15:41:05 +0100 Subject: [PATCH] fix new packages --- dgit | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dgit b/dgit index 7fd7f0d6..8132b8fc 100755 --- a/dgit +++ b/dgit @@ -915,8 +915,9 @@ sub cmd_push { if (fetch_from_archive()) { is_fast_fwd(lrref(), 'HEAD') or die; } else { - fail "package appears to be new in this suite;". - " if this is intentional, use --new"; + $new_package or + fail "package appears to be new in this suite;". + " if this is intentional, use --new"; } dopush(); } -- 2.30.2