Commit 550d22c8 authored by jplang's avatar jplang

Adjust reposman log messages.

git-svn-id: https://svn.redmine.org/redmine/trunk@16593 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 7dd4bcfe
......@@ -163,7 +163,7 @@ class Project < ActiveResource::Base
self.format = :json
end
log("querying Redmine for projects...", :level => 1);
log("querying Redmine for active projects with repository module enabled...", :level => 1);
$redmine_host.gsub!(/^/, "http://") unless $redmine_host.match("^https?://")
$redmine_host.gsub!(/\/$/, '')
......@@ -214,8 +214,6 @@ def mswin?
end
projects.each do |project|
log("treating project #{project.name}", :level => 1)
if project.identifier.empty?
log("\tno identifier for project #{project.name}")
next
......@@ -223,6 +221,7 @@ projects.each do |project|
log("\tinvalid identifier for project #{project.name} : #{project.identifier}");
next;
end
log("processing project #{project.identifier} (#{project.name})", :level => 1)
repos_path = File.join($repos_base, project.identifier).gsub(File::SEPARATOR, File::ALT_SEPARATOR || File::SEPARATOR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment