# svncreate is part of the repo_shell distribution.
-eval $(sed -e 's| ||g' < /etc/repo_shell.cfg)
+eval $(sed -e 's| ||g' < /etc/repo_shell.conf)
if [ -z "$owner" -o -z "$svn_root" ]; then
- echo "$0: please configure /etc/repo_shell.cfg"
+ echo "$0: please configure /etc/repo_shell.conf"
fi
svndir=$svn_root/..
mv $svn_root/$1/hooks $svn_root/$1/hooks.orig
ln -s ../../hooks $svn_root/$1/hooks
if [ ! -d $svndir/hooks ]; then
- echo "$0: WARNING: no hooks directory $svndir/hooks" >&2v
+ mkdir $svndir/hooks
fi
echo "Repository created.