--- /dev/null
+Return-Path: <aclements@csail.mit.edu>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 11802431FBF\r
+ for <notmuch@notmuchmail.org>; Sun, 12 Oct 2014 23:20:17 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id kXIkCnAYkEzi for <notmuch@notmuchmail.org>;\r
+ Sun, 12 Oct 2014 23:20:09 -0700 (PDT)\r
+Received: from dmz-mailsec-scanner-7.mit.edu (dmz-mailsec-scanner-7.mit.edu\r
+ [18.7.68.36])\r
+ (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 7D4CA431FAE\r
+ for <notmuch@notmuchmail.org>; Sun, 12 Oct 2014 23:20:09 -0700 (PDT)\r
+X-AuditID: 12074424-f79346d000004923-3f-543b6f1898fc\r
+Received: from mailhub-auth-1.mit.edu ( [18.9.21.35])\r
+ (using TLS with cipher AES256-SHA (256/256 bits))\r
+ (Client did not present a certificate)\r
+ by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP\r
+ id C9.BA.18723.81F6B345; Mon, 13 Oct 2014 02:20:08 -0400 (EDT)\r
+Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])\r
+ by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id s9D6K81H009802\r
+ for <notmuch@notmuchmail.org>; Mon, 13 Oct 2014 02:20:08 -0400\r
+Received: from drake.dyndns.org ([73.162.189.21]) (authenticated bits=0)\r
+ (User authenticated as amdragon@ATHENA.MIT.EDU)\r
+ by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s9D6K5u9031969\r
+ (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT)\r
+ for <notmuch@notmuchmail.org>; Mon, 13 Oct 2014 02:20:07 -0400\r
+Received: from amthrax by drake.dyndns.org with local (Exim 4.84)\r
+ (envelope-from <aclements@csail.mit.edu>) id 1XdYzF-0000U5-7B\r
+ for notmuch@notmuchmail.org; Mon, 13 Oct 2014 02:20:05 -0400\r
+From: Austin Clements <aclements@csail.mit.edu>\r
+To: notmuch@notmuchmail.org\r
+Subject: [WIP PATCH 0/4] Add message revision tracking\r
+Date: Mon, 13 Oct 2014 02:19:59 -0400\r
+Message-Id: <1413181203-1676-1-git-send-email-aclements@csail.mit.edu>\r
+X-Mailer: git-send-email 2.1.0\r
+X-Brightmail-Tracker:\r
+ H4sIAAAAAAAAA+NgFprNIsWRmVeSWpSXmKPExsUixCmqrCuRbx1i0LBQz+L6zZnMDowez1bd\r
+ Yg5gjOKySUnNySxLLdK3S+DK6Ll3g7HgAUvFoenHmRsY3zB3MXJySAiYSJw99I0JwhaTuHBv\r
+ PRuILSQwm0ni31S+LkYuIPs8o8SMLZfYIZyjTBLLHl5ghnAOMUo8ufKWBaSFTUBfYsXaSawg\r
+ toiAtMTOu7PBbGEBM4mpfw6BrWARUJVYfvISWD2vgJtE87aHLBCr5SQ27P7POIGRZwEjwypG\r
+ 2ZTcKt3cxMyc4tRk3eLkxLy81CJdc73czBK91JTSTYwgf7O7qOxgbD6kdIhRgINRiYf3wU+r\r
+ ECHWxLLiytxDjJIcTEqivAFp1iFCfEn5KZUZicUZ8UWlOanFQBdzMCuJ8L61AcrxpiRWVqUW\r
+ 5cOkpDlYlMR5N/3gCxESSE8sSc1OTS1ILYLJynBwKEnwdmYDNQoWpaanVqRl5pQgpJk4OEGG\r
+ 8wANlwKp4S0uSMwtzkyHyJ9i1OVoaXrbyyTEkpeflyolzns1C6hIAKQoozQPbg4sTl8xigO9\r
+ JcwbCDKKBxjjcJNeAS1hAlpytMscZElJIkJKqoGxrfBr0rUpiVfj9knIyKuI6U5axmk/XX5X\r
+ p2u30sfTzTmL9Q7lLdLa9l7/5qSooHssYqVq3DctO9tyuhzOfSlbX/WbYcMth/fT5tgcrnTt\r
+ 3diYsVpJdk/mo+OpvncLNwnyfw0xVdsSIxDWs3CRg1E+72f/BfmJwVJT5X+JvebZ6R2rUlR0\r
+ sEyJpTgj0VCLuag4EQBe7PLnrgIAAA==\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 13 Oct 2014 06:20:17 -0000\r
+\r
+This implements message revision tracking. This is definitely a\r
+work-in-progress, but I wanted to post it since I don't know when I'll\r
+be able to work on it next (and maybe someone else can run with it in\r
+the mean time). I think this makes all of the necessary library-side\r
+changes, but doesn't do anything in the CLI to expose current revision\r
+information other than adding support for a "lastmod" query.\r
+\r
+This series applies on top of the ghost message series, but only\r
+because of trivial conflicts in the lists of features in database.cc\r
+and database-private.h. There's no code dependency.\r
+\r