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 47ce6c2..cff48d1 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 843c7ec..f9e6d1b 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 () {