diff options
author | David Bremner <bremner@debian.org> | 2012-11-11 10:13:48 -0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-12-09 13:33:34 -0400 |
commit | 33434d76f3fdb6f0602ab50bd9e72f5f12ce3e4b (patch) | |
tree | 19ea75a19f6e26d2025a793509436de196ecfe87 /debian | |
parent | fb50cc41fe6f508118697d65a44e8f742a466ca0 (diff) |
notmuch-restore: add support for input format 'batch-tag'
This can be enabled with the new --format=batch-tag command line
option to "notmuch restore". The input must consist of lines of the
format:
+<tag>|-<tag> [...] [--] id:<msg-id>
Each line is interpreted similarly to "notmuch tag" command line
arguments. The delimiter is one or more spaces ' '. Any characters in
<tag> and <search-terms> MAY be hex encoded with %NN where NN is the
hexadecimal value of the character. Any ' ' and '%' characters in
<tag> and <msg-id> MUST be hex encoded (using %20 and %25,
respectively). Any characters that are not part of <tag> or
<search-terms> MUST NOT be hex encoded.
Leading and trailing space ' ' is ignored. Empty lines and lines
beginning with '#' are ignored.
Commit message mainly stolen from Jani's batch tagging commit, to
follow.
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions