From a17b1a3b36a31ac8def26e0a5aeca865873c9374 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 25 Aug 2013 16:13:36 +0100 Subject: Better error message for use of UNRELEASED suite. Closes: #720523. --- dgit | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dgit') diff --git a/dgit b/dgit index 77a9bb6..55c2b24 100755 --- a/dgit +++ b/dgit @@ -415,6 +415,8 @@ sub canonicalise_suite_madison ($$) { } sub canonicalise_suite () { + return if defined $csuite; + fail "cannot operate on $isuite suite" if $isuite eq 'UNRELEASED'; $csuite = archive_query('canonicalise_suite'); if ($isuite ne $csuite) { # madison canonicalises for us -- cgit v1.2.3