From 31db02a8c1afdb025da6e0e7e62630ffffc69eb7 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 26 Oct 2009 22:25:45 -0700 Subject: notmuch restore: Fix to remove all tags before adding tags. This means that the restore operation will now properly pick up the removal of tags indicated by the tag just not being present in the dump file. We added a few new public functions in order to support this: notmuch_message_freeze notmuch_message_remove_all_tags notmuch_message_thaw --- TODO | 7 ------- 1 file changed, 7 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 8f9a1a98..baec040d 100644 --- a/TODO +++ b/TODO @@ -3,10 +3,3 @@ Write a "notmuch show" that displays a single thread. Fix to use the *last* Message-ID header if multiple such headers are encountered, (I noticed this is one thing that kept me from seeing the same message-ID values as sup). - -Fix "notmuch restore" to delete the old tags from a message/thread -before adding new ones. This will require someway to temporarily -'disconnect' a notmuch_message_t from the database, (that it, disable -automatic sync for add_tag, etc.), and then reconnect it. That is, the -removal and subsequent addition of tags to the message/thread needs to -be transactional. -- cgit v1.2.3