From b0695b1e9ee4cf70feab16181cc74127b99b9812 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Fri, 24 Jan 2014 09:02:46 +2000 Subject: [PATCH] [PATCH 1/2] notmuch dump: default to batch-tag format. --- dc/913720dbc7e8e065947ba9678cf801926af032 | 89 +++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 dc/913720dbc7e8e065947ba9678cf801926af032 diff --git a/dc/913720dbc7e8e065947ba9678cf801926af032 b/dc/913720dbc7e8e065947ba9678cf801926af032 new file mode 100644 index 000000000..8fb08bd99 --- /dev/null +++ b/dc/913720dbc7e8e065947ba9678cf801926af032 @@ -0,0 +1,89 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 223B6431FBD + for ; Thu, 23 Jan 2014 05:03:02 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id VVKV3+9pS0up for ; + Thu, 23 Jan 2014 05:02:56 -0800 (PST) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id F3423431FAF + for ; Thu, 23 Jan 2014 05:02:55 -0800 (PST) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1W6Jvr-0006gi-Iy; Thu, 23 Jan 2014 09:02:55 -0400 +Received: (nullmailer pid 10511 invoked by uid 1000); Thu, 23 Jan 2014 + 13:02:52 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: [PATCH 1/2] notmuch dump: default to batch-tag format. +Date: Thu, 23 Jan 2014 09:02:46 -0400 +Message-Id: <1390482167-10473-1-git-send-email-david@tethera.net> +X-Mailer: git-send-email 1.8.5.2 +In-Reply-To: +References: +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Thu, 23 Jan 2014 13:03:02 -0000 + +Although we didn't formally deprecate the old format, the new one has +been available for a year. +--- + NEWS | 10 ++++++++++ + notmuch-dump.c | 2 +- + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/NEWS b/NEWS +index 28788d8..65679eb 100644 +--- a/NEWS ++++ b/NEWS +@@ -1,3 +1,13 @@ ++Notmuch 0.18 (UNRELEASED) ++========================= ++ ++Command-Line Interface ++---------------------- ++ ++`notmuch dump` now defaults to `batch-tag` format. ++ ++ The old format is still available with `--format=sup`. ++ + Notmuch 0.17 (2013-12-30) + ========================= + +diff --git a/notmuch-dump.c b/notmuch-dump.c +index f8edda7..158142f 100644 +--- a/notmuch-dump.c ++++ b/notmuch-dump.c +@@ -40,7 +40,7 @@ notmuch_dump_command (notmuch_config_t *config, int argc, char *argv[]) + char *output_file_name = NULL; + int opt_index; + +- int output_format = DUMP_FORMAT_SUP; ++ int output_format = DUMP_FORMAT_BATCH_TAG; + + notmuch_opt_desc_t options[] = { + { NOTMUCH_OPT_KEYWORD, &output_format, "format", 'f', +-- +1.8.5.2 + -- 2.26.2