[PATCH 4/4] notmuch-restore: implement --match functionality

2011-10-29 Thread David Bremner
From: David Bremner notmuch restore --match= will for each message in the dump file, delete any tags from the database matching and add any from the dump file matching . I tried to keep this simple, so in particular turning on regex matching disables one of the

[PATCH 4/4] notmuch-restore: implement --match functionality

2011-10-28 Thread David Bremner
From: David Bremner brem...@debian.org notmuch restore --match=regex will for each message in the dump file, delete any tags from the database matching regex and add any from the dump file matching regex. I tried to keep this simple, so in particular turning on regex matching disables one of the