From 282db732c877da890e55e5664e43636f8a9647ad Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 3 Aug 2014 18:37:46 +0100 Subject: Print better message for lack of configuration settings. --- debian/changelog | 1 + dgit | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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 () { -- cgit v1.2.3