Restore scm rake task.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8649 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-01-15 14:23:38 +00:00
parent fb1a2fd7cd
commit d996cc0584
1 changed files with 2 additions and 2 deletions

View File

@ -51,8 +51,8 @@ namespace :test do
(supported_scms - [:subversion, :mercurial]).each do |scm|
desc "Creates a test #{scm} repository"
task scm => :create_dir do
system "gunzip < test/fixtures/repositories/#{scm}_repository.tar.gz | tar -xv -C tmp/test"
#system "tar -xvz -C tmp/test -f test/fixtures/repositories/#{scm}_repository.tar.gz"
# system "gunzip < test/fixtures/repositories/#{scm}_repository.tar.gz | tar -xv -C tmp/test"
system "tar -xvz -C tmp/test -f test/fixtures/repositories/#{scm}_repository.tar.gz"
end
end