From 72ef2bed0105811022add4feef86021f1f820c36 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 11 Sep 2005 06:26:38 +0000 Subject: [PATCH] Fixed missing ds git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/lib/rails_generator/commands.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/railties/lib/rails_generator/commands.rb b/railties/lib/rails_generator/commands.rb index 9b8ca01ad2..5f37992d77 100644 --- a/railties/lib/rails_generator/commands.rb +++ b/railties/lib/rails_generator/commands.rb @@ -307,7 +307,7 @@ def file(relative_source, relative_destination, file_options = {}) unless options[:pretend] if options[:svn] # If the file has been marked to be added - # but has not yet been checked in, revert and elete + # but has not yet been checked in, revert and delete if options[:svn][relative_destination] system("svn revert #{destination}") FileUtils.rm(destination) @@ -343,7 +343,7 @@ def directory(relative_path) unless options[:pretend] if options[:svn] # If the directory has been marked to be added - # but has not yet been checked in, revert and elete + # but has not yet been checked in, revert and delete if options[:svn][relative_path] system("svn revert #{path}") FileUtils.rmdir(path) -- GitLab