Index: head2head.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/head2head/head2head.module,v
retrieving revision 1.25
diff -u -p -r1.25 head2head.module
--- head2head.module	6 Jul 2010 19:08:51 -0000	1.25
+++ head2head.module	14 Jul 2010 12:42:19 -0000
@@ -291,3 +376,27 @@ function head2head_837832() {
   );
   db_change_field('sessions', 'ssid', 'ssid', $spec);
 }
+
+/**
+ * Registry now uses hash not file timestamps to identify changes.
+ */
+function head2head_819388() {
+  if (!db_field_exists('registry_file', 'hash')) {
+    db_drop_field('registry_file', 'filectime');
+    db_drop_field('registry_file', 'filemtime');
+    $hashfield = array(
+      'description' => "sha-256 hash of the file's contents when last parsed.",
+      'type' => 'varchar',
+      'length' => 64,
+      'not null' => TRUE,
+      'default' => '',
+    );
+    db_add_field('registry_file', 'hash', $hashfield);
+    unset($hashfield['default']);
+    db_change_field('registry_file', 'hash', 'hash', $hashfield);
+    // When this is included in a regular update batch, update_finished() will
+    // run drupal_flush_all_caches() which will fill in the proper hash values
+    // and refresh the registry properly. Make sure to do that if not running
+    // this as part of a regular update process.
+  }
+}
Index: alpha2alpha/alpha2alpha.install
===================================================================
RCS file: /cvs/drupal/contributions/modules/head2head/alpha2alpha/alpha2alpha.install,v
retrieving revision 1.11
diff -u -p -r1.11 alpha2alpha.install
--- alpha2alpha/alpha2alpha.install	6 Jul 2010 19:08:51 -0000	1.11
+++ alpha2alpha/alpha2alpha.install	14 Jul 2010 12:42:20 -0000
@@ -169,3 +169,20 @@ function alpha2alpha_update_7603() {
  * @} End of "defgroup updates-alpha-5-to-6"
  * The next series of updates should start at 7700.
  */
+
+/**
+ * @defgroup updates-alpha-6-to-7 Drupal updates from 7.0-alpha6 to 7.0-alpha7 (or beta1)
+ * @{
+ */
+
+/**
+ * Registry now uses hash not file timestamps to identify changes.
+ */
+function alpha2alpha_update_7700() {
+  alpha2alpha_update_helper('head2head_819388', 7);
+}
+
+/**
+ * @} End of "defgroup updates-alpha-6-to-7"
+ * The next series of updates should start at 7800.
+ */
