aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Agrawal <arun@fromjaipur.com>2011-07-23 13:58:23 +0530
committerArun Agrawal <arun@fromjaipur.com>2011-07-23 13:58:23 +0530
commit0fb09732488817fc7b3569817161d35b5636e54c (patch)
tree4aa625aee3c20b3bcd9bb1c21aab9303acfce2d6
parent7d9cf9a8463c21e115f3bd9509fa1c180a5512bf (diff)
downloadrails-0fb09732488817fc7b3569817161d35b5636e54c.tar.gz
rails-0fb09732488817fc7b3569817161d35b5636e54c.tar.bz2
rails-0fb09732488817fc7b3569817161d35b5636e54c.zip
For svn files also spilt required
-rw-r--r--railties/lib/rails/test_unit/testing.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/test_unit/testing.rake b/railties/lib/rails/test_unit/testing.rake
index eb8644d07f..33da2c0f5a 100644
--- a/railties/lib/rails/test_unit/testing.rake
+++ b/railties/lib/rails/test_unit/testing.rake
@@ -108,7 +108,7 @@ namespace :test do
Rake::TestTask.new(:uncommitted => "test:prepare") do |t|
def t.file_list
if File.directory?(".svn")
- changed_since_checkin = silence_stderr { `svn status` }.map { |path| path.chomp[7 .. -1] }
+ changed_since_checkin = silence_stderr { `svn status` }.split.map { |path| path.chomp[7 .. -1] }
elsif File.directory?(".git")
changed_since_checkin = silence_stderr { `git ls-files --modified --others` }.split.map { |path| path.chomp }
else