From: David Bremner Date: Thu, 14 Jun 2012 22:08:42 +0000 (+0300) Subject: notmuch-dump: add --format=(batch-tag|sup) X-Git-Tag: 0.15_rc1~114 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=bfe66da4321ce63b6fb3693eddf809e2e0532888;hp=bfe66da4321ce63b6fb3693eddf809e2e0532888 notmuch-dump: add --format=(batch-tag|sup) sup is the old format, and remains the default, at least until restore is converted to parse this format. Each line of the batch-tag format is modelled on the syntax of notmuch tag: - "notmuch tag" is omitted from the front of the line - The dump format only uses query strings of a single message-id. - Each space seperated tag/message-id is 'hex-encoded' to remove trouble-making characters. - It is permitted (and will be useful) for there to be no tags before the query. In particular this format won't have the same problem with e.g. spaces in message-ids or tags; they will be round-trip-able. ---