@@ -44,7 +44,8 namespace :test do | |||||
44 | task :mercurial => :create_dir do |
|
44 | task :mercurial => :create_dir do | |
45 | repo_path = "tmp/test/mercurial_repository" |
|
45 | repo_path = "tmp/test/mercurial_repository" | |
46 | bundle_path = "test/fixtures/repositories/mercurial_repository.hg" |
|
46 | bundle_path = "test/fixtures/repositories/mercurial_repository.hg" | |
47 |
system "hg |
|
47 | system "hg init #{repo_path}" | |
|
48 | system "hg -R #{repo_path} pull #{bundle_path}" | |||
48 | end |
|
49 | end | |
49 |
|
50 | |||
50 | (supported_scms - [:subversion, :mercurial]).each do |scm| |
|
51 | (supported_scms - [:subversion, :mercurial]).each do |scm| |
General Comments 0
You need to be logged in to leave comments.
Login now