有没有办法在为客户端(tortoisesvn)创建新的 SVN 存储库时自动创建分支、标签和主干文件夹? [英] Is there a way when creating new SVN repositories for the client (tortoisesvn) to create the branches, tags and trunk folders automaticlly?
问题描述
我正在使用 tortoisesvn 创建存储库,并想知道是否有一种方法可以在存储库中自动创建框架目录结构?
I'm using tortoisesvn to create the repositories and wondered if there was a way it could automatically create a skeleton directory structure within the repository?
我需要这个,因为我将允许团队中的其他人设置新的存储库,我需要使其尽可能简单并尽量减少错误.我希望自动创建标签、分支和主干目录.
I need this as I'm going to allow other people in the team to set-up new repositories and I need to make it as simple as possible and minimise mistakes. I would like the tags, branches and trunk directories to be created automatically.
推荐答案
您可以使用 svn
命令行客户端.
You can write a script (in the language of your choice) that creates the repository and commits the predefined directory structure, using the svn
command line client.
这篇关于有没有办法在为客户端(tortoisesvn)创建新的 SVN 存储库时自动创建分支、标签和主干文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!