chiark / gitweb /
Print better message for lack of configuration settings.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 3 Aug 2014 17:37:46 +0000 (18:37 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 3 Aug 2014 17:37:46 +0000 (18:37 +0100)
debian/changelog
dgit

index 47ce6c2d46bbb556cb1eaad3ef9f76558ee54b0b..cff48d172cca2e1d530ab140319ecc81b649655a 100644 (file)
@@ -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 843c7ec614f36289a3a06526e6a06c666852d598..f9e6d1bc7d9443c3c866e45d3cdf81f000a6e9d9 100755 (executable)
--- 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 () {