summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2014-08-03 18:37:46 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2014-08-03 18:37:46 +0100
commit282db732c877da890e55e5664e43636f8a9647ad (patch)
treebc95f13ae8308d5786ee119552d4632bf38686e2
parent6f3d4836d4e9aedbaf929a231db64e5536631c95 (diff)
Print better message for lack of configuration settings.
-rw-r--r--debian/changelog1
-rwxr-xr-xdgit3
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 47ce6c2..cff48d1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ dgit (0.22~experimental1) experimental; urgency=low
* New script tests/using-intree for running tests on the source tree.
* Do not spew diff output to terminal (by default). Print sensible
message instead. Closes:#736526.
+ * Print better message for lack of configuration settings.
Major new feature, currently stalled awaiting server infrastructure:
* dgit-repos-server: New program for receiving signed-tag-based
diff --git a/dgit b/dgit
index 843c7ec..f9e6d1b 100755
--- a/dgit
+++ b/dgit
@@ -500,7 +500,8 @@ sub cfg {
my $dv = $defcfg{$c};
return $dv if defined $dv;
}
- badcfg "need value for one of: @_";
+ badcfg "need value for one of: @_\n".
+ "$us: distro or suite appears not to be (properly) supported";
}
sub access_basedistro () {