Feature #4877
openReposman.rb autocreate SVN default directories
0%
Description
In my company, as we use only SVN, we modified reposman.rb so it creates the three default folders - tags, braches, trunk - as it's executed, so the structure created doesn't increment the revision.
Here's the modification:
101 $autodir = ["trunk", "tags", "branches"]
288 scm_module.create(repos_path)
289 raise "svn mkdir #{$svn_url}#{project.identifier}/#{$autodir.at(0)} #{$svn_url}#{project.identifier}/#{$autodir.at(1)} #{$svn_url}#{project.identifier}/#{$autodir.at(2)} failed" unless system("svn", "mkdir",$svn_url+project.identifier+"/"+$autodir.at(0),$svn_url+project.identifier+"/"+$autodir.at(1),$svn_url+project.identifier+"/"+$autodir.at(2),"-m \"Autocreate #{$autodir.at(1)}\"")
290 log("\tautocreating directory for repository #{repos_path}: ");
Updated by Toshi MARUYAMA over 13 years ago
- Category changed from SCM to SCM extra