summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2013-08-25 16:13:36 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2013-08-25 16:14:59 +0100
commita17b1a3b36a31ac8def26e0a5aeca865873c9374 (patch)
tree61a55b67003a3ee0e5a9afdf2d2e078dc484839e /dgit
parent7c379b92923ec62699b0943831c9085c2e8e1821 (diff)
Better error message for use of UNRELEASED suite. Closes: #720523.
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit2
1 files changed, 2 insertions, 0 deletions
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