<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -38,40 +38,30 @@ namespace :rails do
       end
     end
 
-    desc &quot;Lock to latest Edge Rails or a specific revision with REVISION=X (ex: REVISION=4021) or a tag with TAG=Y (ex: TAG=rel_1-1-0)&quot;
+    desc 'Lock to latest Edge Rails'
     task :edge do
-      $verbose = false
-      `svn --version` rescue nil
-      unless !$?.nil? &amp;&amp; $?.success?
-        $stderr.puts &quot;ERROR: Must have subversion (svn) available in the PATH to lock this application to Edge Rails&quot;
-        exit 1
-      end
-            
-      rm_rf   &quot;vendor/rails&quot;
-      mkdir_p &quot;vendor/rails&quot;
-      
-      svn_root = &quot;http://dev.rubyonrails.org/svn/rails/&quot;
-
-      if ENV['TAG']
-        rails_svn = &quot;#{svn_root}/tags/#{ENV['TAG']}&quot;
-        touch &quot;vendor/rails/TAG_#{ENV['TAG']}&quot;
-      else
-        rails_svn = &quot;#{svn_root}/trunk&quot;
-
-        if ENV['REVISION'].nil?
-          ENV['REVISION'] = /^r(\d+)/.match(%x{svn -qr HEAD log #{svn_root}})[1]
-          puts &quot;REVISION not set. Using HEAD, which is revision #{ENV['REVISION']}.&quot;
+      require 'open-uri'
+
+      chdir 'vendor' do
+        puts 'Downloading Rails'
+        File.open('rails_edge.zip', 'wb') do |dst|
+          open 'http://dev.rubyonrails.org/archives/rails_edge.zip' do |src|
+            while chunk = src.read(4096)
+              dst &lt;&lt; chunk
+            end
+          end
         end
 
-        touch &quot;vendor/rails/REVISION_#{ENV['REVISION']}&quot;
+        puts 'Unpacking Rails'
+        rm_rf 'rails'
+        `unzip rails_edge.zip`
+        %w(rails_edge.zip rails/Rakefile rails/cleanlogs.sh rails/pushgems.rb rails/release.rb).each do |goner|
+          rm_f goner
+        end
       end
 
-      for framework in %w(railties actionpack activerecord actionmailer activesupport activeresource)
-        system &quot;svn export #{rails_svn}/#{framework} vendor/rails/#{framework}&quot; + (ENV['REVISION'] ? &quot; -r #{ENV['REVISION']}&quot; : &quot;&quot;)
-      end
-      
-      puts &quot;Updating current scripts, javascripts, and configuration settings&quot;
-      Rake::Task[&quot;rails:update&quot;].invoke
+      puts 'Updating current scripts, javascripts, and configuration settings'
+      Rake::Task['rails:update'].invoke
     end
   end
 </diff>
      <filename>railties/lib/tasks/framework.rake</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ed99dda174da439a0947cdabea3babf027c672ac</id>
    </parent>
  </parents>
  <author>
    <name>Jeremy Kemper</name>
    <login>jeremy</login>
    <email>jeremy@bitsweat.net</email>
  </author>
  <url>http://github.com/rails/rails/commit/4b17082107aced980fc4b511028ee763247bc5ab</url>
  <id>4b17082107aced980fc4b511028ee763247bc5ab</id>
  <committed-date>2008-04-10T22:15:50-07:00</committed-date>
  <authored-date>2008-04-10T22:15:50-07:00</authored-date>
  <message>rake rails:freeze:edge using http://dev.rubyonrails.org/archives/rails_edge.zip instead of Subversion</message>
  <tree>39b070c260bef4e88b0bd42e1c2710ff40fa4ed9</tree>
  <committer>
    <name>Jeremy Kemper</name>
    <login>jeremy</login>
    <email>jeremy@bitsweat.net</email>
  </committer>
</commit>
