From: Ian Jackson Date: Sun, 3 Aug 2014 17:37:46 +0000 (+0100) Subject: Print better message for lack of configuration settings. X-Git-Tag: debian/0.22~29 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=282db732c877da890e55e5664e43636f8a9647ad Print better message for lack of configuration settings. --- diff --git a/debian/changelog b/debian/changelog index 47ce6c2d..cff48d17 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 843c7ec6..f9e6d1bc 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 () {