Project

General

Profile

Actions

Feature #4877

open

Reposman.rb autocreate SVN default directories

Added by Bruno Prado almost 15 years ago. Updated almost 14 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
SCM extra
Target version:
-
Start date:
2010-02-18
Due date:
% Done:

0%

Estimated time:
Resolution:

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}: ");

Actions #1

Updated by Jean-Philippe Lang almost 15 years ago

  • Category set to SCM
Actions #2

Updated by Toshi MARUYAMA almost 14 years ago

  • Category changed from SCM to SCM extra
Actions

Also available in: Atom PDF