### Eclipse Workspace Patch 1.0
#P Drupal HEAD
Index: modules/node/node.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.module,v
retrieving revision 1.1117
diff -u -r1.1117 node.module
--- modules/node/node.module	31 Aug 2009 17:06:09 -0000	1.1117
+++ modules/node/node.module	1 Sep 2009 16:29:24 -0000
@@ -849,7 +849,7 @@
       $node->log = '';
     }
   }
-  elseif (!empty($node->revision)) {
+  elseif (empty($node->revision)) {
     $node->old_vid = $node->vid;
     unset($node->vid);
   }
@@ -878,7 +878,7 @@
   }
   else {
     drupal_write_record('node', $node, 'nid');
-    if (!empty($node->revision)) {
+    if (empty($node->revision)) {
       _node_save_revision($node, $user->uid);
     }
     else {
Index: modules/node/node.pages.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.pages.inc,v
retrieving revision 1.78
diff -u -r1.78 node.pages.inc
--- modules/node/node.pages.inc	25 Aug 2009 10:27:14 -0000	1.78
+++ modules/node/node.pages.inc	1 Sep 2009 16:29:24 -0000
@@ -162,15 +162,15 @@
     '#weight' => 99,
   );
 
-  // Add a log field if the "Create new revision" option is checked, or if the
+  // Add a log field if the "Overwrite existing revision" option is checked, or if the
   // current user has the ability to check that option.
-  if (!empty($node->revision) || user_access('administer nodes')) {
+  if (empty($node->revision) || user_access('administer nodes')) {
     $form['revision_information'] = array(
       '#type' => 'fieldset',
       '#title' => t('Revision information'),
       '#collapsible' => TRUE,
-      // Collapsed by default when "Create new revision" is unchecked
-      '#collapsed' => !$node->revision,
+      // Collapsed by default when "Overwrite existing revision" is unchecked
+      '#collapsed' => $node->revision,
       '#group' => 'additional_settings',
       '#attached_js' => array(drupal_get_path('module', 'node') . '/node.js'),
       '#weight' => 20,
@@ -178,7 +178,7 @@
     $form['revision_information']['revision'] = array(
       '#access' => user_access('administer nodes'),
       '#type' => 'checkbox',
-      '#title' => t('Create new revision'),
+      '#title' => t('Overwrite existing revision'),
       '#default_value' => $node->revision,
     );
     $form['revision_information']['log'] = array(
Index: modules/node/content_types.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/content_types.inc,v
retrieving revision 1.91
diff -u -r1.91 content_types.inc
--- modules/node/content_types.inc	24 Aug 2009 19:26:46 -0000	1.91
+++ modules/node/content_types.inc	1 Sep 2009 16:29:23 -0000
@@ -176,7 +176,7 @@
       'status' => t('Published'),
       'promote' => t('Promoted to front page'),
       'sticky' => t('Sticky at top of lists'),
-      'revision' => t('Create new revision'),
+      'revision' => t('Overwrite existing revision'),
     ),
     '#description' => t('Users with the <em>administer nodes</em> permission will be able to override these options.'),
   );
