diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2013-08-25 16:13:36 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2013-08-25 16:14:59 +0100 |
commit | a17b1a3b36a31ac8def26e0a5aeca865873c9374 (patch) | |
tree | 61a55b67003a3ee0e5a9afdf2d2e078dc484839e /dgit | |
parent | 7c379b92923ec62699b0943831c9085c2e8e1821 (diff) |
Better error message for use of UNRELEASED suite. Closes: #720523.
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |