From 007fbc00cf08d3343878037b9da84715246f9bb6 2011-01-11 08:46:27 From: Toshi MARUYAMA Date: 2011-01-11 08:46:27 Subject: [PATCH] Merged r4687 from trunk (fix setup mercurial test repository). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.1-stable@4689 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/tasks/testing.rake b/lib/tasks/testing.rake index 5462847..1f43a11 100644 --- a/lib/tasks/testing.rake +++ b/lib/tasks/testing.rake @@ -44,7 +44,8 @@ namespace :test do task :mercurial => :create_dir do repo_path = "tmp/test/mercurial_repository" bundle_path = "test/fixtures/repositories/mercurial_repository.hg" - system "hg clone -U #{bundle_path} #{repo_path}" + system "hg init #{repo_path}" + system "hg -R #{repo_path} pull #{bundle_path}" end (supported_scms - [:subversion, :mercurial]).each do |scm|