]> source.dussan.org Git - redmine.git/commitdiff
Show message before registering repository in Redmine.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 1 Jun 2017 20:14:49 +0000 (20:14 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 1 Jun 2017 20:14:49 +0000 (20:14 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@16592 e93f8b46-1217-0410-a6f0-8f06a7374b81

extra/svn/reposman.rb

index 4e2f53a28e7ce23612f8121605226a4d64f54fe1..bc5d64bd3243b0044f85b97895053e38aac6604c 100755 (executable)
@@ -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