diff -urp ../scanner_orig/scanner.module ./scanner.module
--- ../scanner_orig/scanner.module	2009-03-05 22:34:32.000000000 +0300
+++ ./scanner.module	2012-04-24 09:30:56.136609339 +0400
@@ -652,9 +651,10 @@ function scanner_undo_confirm_form_submi
       }
 
       $node = node_load($nid, $vid);
-
-      $node->revision = TRUE;
-      $node->log = t('Copy of the revision from %date via Search and Replace Undo', array('%date' => format_date($node->revision_timestamp)));
+      if (variable_get('scanner_disable_create_revision', 0)) {
+        $node->revision = TRUE;
+        $node->log = t('Copy of the revision from %date via Search and Replace Undo', array('%date' => format_date($node->revision_timestamp)));
+      }
 
       node_save($node);
       ++$count;
@@ -1007,6 +1007,13 @@ function scanner_admin_form() {
     '#default_value' => variable_get('scanner_rebuild_teasers', 1),
     '#description' => t('If this box is checked: The teasers for any nodes that are modified in a search-and-replace action will be rebuilt to reflect the replacements in other fields; you do not need to check any teaser fields for nodes in the "Fields" section below.  If this box is unchecked: Teasers will remain untouched; you can select specific teaser fields below to include in search-and-replaces.'),
   );
+  
+  $form['settings']['scanner_disable_create_revision'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Disable creating new revision on relace'),
+    '#default_value' => variable_get('scanner_disable_create_revision', 0),
+    '#description' => t('This option disable creating new revision of each node on replacing text. Warning: enabling this option will disable "Undo" functionality of module.'),
+  );
 
   if (module_exists('taxonomy')) {
     $vocabularies = taxonomy_get_vocabularies();
