? test.php
? includes/table.inc
Index: examples/policy.drush.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/examples/policy.drush.inc,v
retrieving revision 1.5
diff -u -p -r1.5 policy.drush.inc
--- examples/policy.drush.inc	3 Feb 2011 22:29:58 -0000	1.5
+++ examples/policy.drush.inc	4 Feb 2011 05:38:54 -0000
@@ -38,7 +38,7 @@ function drush_policy_sql_sync_validate(
 function drush_policy_updatedb_validate() {
   // Check for a token in the request. In this case, we require --token=secret.
   if (!drush_get_option('token') == 'secret') {
-    drush_log(dt('Per site policy, you must add a secret --token complete this command. See examples/policy.drush.inc'), 'warning');
+    drush_log(dt('Per site policy, you must add a secret --token complete this command. See examples/policy.drush.inc.  If you are running a version of drush prior to 4.3 and are not sure why you are seeing this message, please see http://drupal.org/node/1024824.'), 'warning');
     drush_set_context('DRUSH_AFFIRMATIVE', FALSE);
     drush_set_context('DRUSH_NEGATIVE', TRUE);
   }
Index: includes/command.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/includes/command.inc,v
retrieving revision 1.109
diff -u -p -r1.109 command.inc
--- includes/command.inc	2 Feb 2011 04:42:22 -0000	1.109
+++ includes/command.inc	4 Feb 2011 05:38:55 -0000
@@ -912,7 +912,7 @@ function _drush_add_commandfiles($search
     // Scan for drush command files; add to list for consideration if found.
     foreach (array_unique($searchpath) as $path) {
       if (is_dir($path)) {
-        $files = drush_scan_directory($path, '/\.drush\.inc$/');
+        $files = drush_scan_directory($path, '/\.drush\.inc$/', array('.', '..', 'examples'));
         foreach ($files as $filename => $info) {
           $module = basename($filename, '.drush.inc');
           // Only try to bootstrap modules that we have never seen before, or that we
