summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/testing.rake3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tasks/testing.rake b/lib/tasks/testing.rake
index 546284767..1f43a1156 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|