Feature #2201
Add feature auto create struct directory for svn
0%
Description
Hi,
A standard directory svn include :
- trunk
- branches
- tags
Please add a option enable create struct directory for svn
Thanks.
History
#1 Updated by Andriy Lesyuk about 11 years ago
- Status changed from New to Incomplete
- Target version deleted (
0.4.3)
Minh Thien, do you know which svn option should be used to create such directory structure?
#2 Updated by Terence Miller about 11 years ago
We just execute a script to create repos from template
$SVN_REP/ is our base folder for all scn repos
$SVN_REP/.repoTemplate/ is our svn template folder
$SVN_REP/.repoTemplate/hooks is our hooks template folder
$SVN_REP/.repoTemplate/initail is oir template scn folder structure
#!/bin/sh if [ "$1" == "" ] then echo "missing project name" else SVN_REP=/srv/svn svnadmin create "$1" rm -r "$1/hooks" ln -s "$SVN_REP/.repoTemplate/hooks" "$1/hooks" chown wwwrun.www "$1" -R chmod 775 "$1" -R svn import "$SVN_REP/.repoTemplate/initial" file://$1 --message "Initial directories" fi
This script is triggered by reposman.rb which should be too by this plugin, but on a remote svn server