--- /dev/null
+Return-Path: <wking@tremily.us>\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 7D668431FD5\r
+ for <notmuch@notmuchmail.org>; Sun, 6 Jul 2014 13:41:09 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001]\r
+ 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 y3U-dTZKNLNR for <notmuch@notmuchmail.org>;\r
+ Sun, 6 Jul 2014 13:41:03 -0700 (PDT)\r
+Received: from qmta14.westchester.pa.mail.comcast.net\r
+ (qmta14.westchester.pa.mail.comcast.net [76.96.59.212])\r
+ by olra.theworths.org (Postfix) with ESMTP id 6C7F5431FBD\r
+ for <notmuch@notmuchmail.org>; Sun, 6 Jul 2014 13:41:03 -0700 (PDT)\r
+Received: from omta23.westchester.pa.mail.comcast.net ([76.96.62.74])\r
+ by qmta14.westchester.pa.mail.comcast.net with comcast\r
+ id P8RP1o0051c6gX85E8h2wW; Sun, 06 Jul 2014 20:41:02 +0000\r
+Received: from odin.tremily.us ([24.18.63.50])\r
+ by omta23.westchester.pa.mail.comcast.net with comcast\r
+ id P8h01o00C152l3L3j8h1ir; Sun, 06 Jul 2014 20:41:02 +0000\r
+Received: from mjolnir.tremily.us (unknown [192.168.0.140])\r
+ by odin.tremily.us (Postfix) with ESMTPS id 41AA512700E3;\r
+ Sun, 6 Jul 2014 13:40:59 -0700 (PDT)\r
+Received: (nullmailer pid 1893 invoked by uid 1000);\r
+ Sun, 06 Jul 2014 20:40:27 -0000\r
+From: "W. Trevor King" <wking@tremily.us>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 0/4] nmbug without an upstream repository (and init)\r
+Date: Sun, 6 Jul 2014 13:40:18 -0700\r
+Message-Id: <cover.1404678709.git.wking@tremily.us>\r
+X-Mailer: git-send-email 1.9.1.353.gc66d89d\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
+ s=q20140121; t=1404679262;\r
+ bh=+cvP3cYrvsGHloVpSmmVfUpoZxNmetpSLWzFLIH6iW0=;\r
+ h=Received:Received:Received:Received:From:To:Subject:Date:\r
+ Message-Id;\r
+ b=i+EBZdrUqp68ZzXQw9ziZcYHtyZUW/BNzFHrwosKE87oysbGP+o48WtKuf2Y3/Cdr\r
+ 3ESp91Qil4yl2GoNhP3ORluE5DfnwR+IE0H7WbNHfh4G46r6nKLHt3zf50KDem4NLa\r
+ vRSQBeIWxInJGiw5VpmWkPc2vSM1IXSP3GOyqE80uhbnQECIZYDpB3ZSGmEvMVt+r4\r
+ kU8jeMKpUo9GJBVrR7UDwckBmBh16KKtP+ho33iVgl6SQrNt4g9YKYQETliFYy0/xv\r
+ 0BwyislI3pJZHXRW9mEbUX9W1fHNZAelvmtP4iwu5ZNA7F7nTWIaVj5b91A1QWWQJe\r
+ p2IEgFH8380sQ==\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, 06 Jul 2014 20:41:09 -0000\r
+\r
+Currently 'nmbug status' errors out if there is no @{upstream} branch.\r
+To support folks who are just using nmbug locally, add exit code\r
+checking and stderr catching to handle this case appropriately. The\r
+final commit isn't closely related, but it allows folks to easily\r
+initialize nmbug repositories (e.g. if they want to version-controll\r
+*all* their tags, or tags for a different project). After this\r
+series, you can run something like:\r
+\r
+ export NMBGIT=/tmp/nmbug\r
+ nmbug init\r
+ export NMBPREFIX=''\r
+ nmbug status\r
+ nmbug commit\r
+\r
+to create a new repository with all your tags. Replace the NMBPREFIX\r
+with something else (e.g. NMBPREFIX='myproject::') to only track tags\r
+for a particular project. You could also define aliases to set the\r
+appropriate environment variables on the fly:\r
+\r
+ $ alias mpbug='NMBGIT=/tmp/nmbug NMBPREFIX="myproject::" nmbug'\r
+ $ mpbug status\r
+\r
+W. Trevor King (4):\r
+ nmbug: Add a git_with_status helper function\r
+ nmbug: Handle missing @upstream in is_unmerged\r
+ nmbug: Catch stderr in is_unmerged\r
+ nmbug: Add an 'init' command\r
+\r
+ devel/nmbug/nmbug | 49 +++++++++++++++++++++++++++++++++++++++++++------\r
+ 1 file changed, 43 insertions(+), 6 deletions(-)\r
+\r
+-- \r
+1.9.1.353.gc66d89d\r
+\r