Re: [PATCH 1/2] nmbug-status: Clarify errors for illegible configs
authorDavid Bremner <david@tethera.net>
Sun, 15 Mar 2015 08:32:13 +0000 (09:32 +0100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:48:28 +0000 (14:48 -0700)
17/94ab8ddb72b277bacedc2247f0beb005718073 [new file with mode: 0644]

diff --git a/17/94ab8ddb72b277bacedc2247f0beb005718073 b/17/94ab8ddb72b277bacedc2247f0beb005718073
new file mode 100644 (file)
index 0000000..f2a75db
--- /dev/null
@@ -0,0 +1,69 @@
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 3090F431FC4\r
+       for <notmuch@notmuchmail.org>; Sun, 15 Mar 2015 01:33:35 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 2.438\r
+X-Spam-Level: **\r
+X-Spam-Status: No, score=2.438 tagged_above=-999 required=5\r
+       tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id vMcXNGtqJi7o for <notmuch@notmuchmail.org>;\r
+       Sun, 15 Mar 2015 01:33:32 -0700 (PDT)\r
+Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net\r
+       [87.98.215.224])\r
+       (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id DE1F8431FC2\r
+       for <notmuch@notmuchmail.org>; Sun, 15 Mar 2015 01:33:31 -0700 (PDT)\r
+Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim\r
+       4.80) (envelope-from <david@tethera.net>)\r
+       id 1YX3yF-0004mO-4J; Sun, 15 Mar 2015 08:32:27 +0000\r
+Received: (nullmailer pid 7922 invoked by uid 1000); Sun, 15 Mar 2015\r
+       08:32:13 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: "W. Trevor King" <wking@tremily.us>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH 1/2] nmbug-status: Clarify errors for illegible configs\r
+In-Reply-To:\r
+ <1c786e115a812384a8b397583027cf89316253cb.1399749244.git.wking@tremily.us>\r
+References: <cover.1399749244.git.wking@tremily.us>\r
+       <1c786e115a812384a8b397583027cf89316253cb.1399749244.git.wking@tremily.us>\r
+User-Agent: Notmuch/0.19+67~gdbe9924 (http://notmuchmail.org) Emacs/24.4.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Sun, 15 Mar 2015 09:32:13 +0100\r
+Message-ID: <87ioe23ble.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 15 Mar 2015 08:33:35 -0000\r
+\r
+"W. Trevor King" <wking@tremily.us> writes:\r
+\r
+> are not particularly clear.  With this commit, we'll get output like:\r
+>\r
+>   $ ./nmbug-status\r
+>   fatal: Not a git repository: '/home/wking/.nmbug'\r
+>   No local branch 'config' in /home/wking/.nmbug.  Checkout a local\r
+>   config branch or explicitly set --config.\r
+>\r
+> which is much more accessible.  I've also added user-friendly messages\r
+\r
+pushed this one. The second patch touches the perl version of nmbug, so\r
+I'm guessing you rolled it into the python rewrite.\r
+\r
+d\r