<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -371,7 +371,7 @@ module Rake
         ],
         ['--top-level-dsl', '-X', &quot;Put Rake DSL commands in the top level scope.&quot;,
           lambda { |value|
-            Rake::DSL.include_in_top_scope
+            options.top_level_dsl = value
           }
         ],
         ['--trace', '-t', &quot;Turn on invoke/execute tracing, enable full backtrace.&quot;,
@@ -417,6 +417,8 @@ module Rake
         opts.environment('RAKEOPT')
       end.parse!
 
+      Rake::DSL.include_in_top_scope if options.top_level_dsl
+
       # If class namespaces are requested, set the global options
       # according to the values in the options structure.
       if options.classic_namespace</diff>
      <filename>lib/rake/application.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0b11f0fada3e9a4cf11eb5cde78b91eff42741fe</id>
    </parent>
  </parents>
  <author>
    <name>Jim Weirich</name>
    <email>jim.weirich@gmail.com</email>
  </author>
  <url>http://github.com/jimweirich/rake/commit/4e8233da4da833f357616001677f3ee32f5c6d27</url>
  <id>4e8233da4da833f357616001677f3ee32f5c6d27</id>
  <committed-date>2009-06-29T22:22:02-07:00</committed-date>
  <authored-date>2009-06-29T22:22:02-07:00</authored-date>
  <message>Top level DSL is make the default (for now).</message>
  <tree>e8f4399b537e34c4bf1e05610aba404a5281eada</tree>
  <committer>
    <name>Jim Weirich</name>
    <email>jim.weirich@gmail.com</email>
  </committer>
</commit>
