mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
Show message before registering repository in Redmine.
git-svn-id: http://svn.redmine.org/redmine/trunk@16592 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
42d3f7e504
commit
482345e642
@ -258,7 +258,7 @@ projects.each do |project|
|
||||
project.is_public ? File.umask(0002) : File.umask(0007)
|
||||
|
||||
if $test
|
||||
log("\tcreate repository #{repos_path}")
|
||||
log("\trepository #{repos_path} created")
|
||||
log("\trepository #{repos_path} registered in Redmine with url #{$svn_url}#{project.identifier}") if $svn_url;
|
||||
next
|
||||
end
|
||||
@ -275,6 +275,7 @@ projects.each do |project|
|
||||
log("\tunable to create #{repos_path} : #{e}\n")
|
||||
next
|
||||
end
|
||||
log("\trepository #{repos_path} created");
|
||||
|
||||
if $svn_url
|
||||
begin
|
||||
@ -284,6 +285,5 @@ projects.each do |project|
|
||||
log("\trepository #{repos_path} not registered in Redmine: #{e.message}");
|
||||
end
|
||||
end
|
||||
log("\trepository #{repos_path} created");
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user