#svnadmin create projectname

#vi projectname/conf/svnserve.conf

anon-access = none
auth-access =write

password-db = ../../conf/passwd

authz-db = ../../conf/authz

realm = projectname

 

同步

#cp -r projectname/hooks/post-commit.tmpl post-commit

#vi post-commit

export LANG=en_US.UTF-8
svn update /web/projectname --username svnusername --password svnpassword

#chmod a+x post-commit

 

初始导入

#svn import /data/projectname  file:///home/svndata/repository/projectname/ -m "Initial import"

 

#cd /web/

#svn co svn://ip/projectname

 

#killall svnserve
#ps aux | grep svnserve
#svnserve -d -r /home/svndata/repository/

 

相关文章:

  • 2021-10-22
  • 2021-04-19
  • 2021-09-02
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-14
猜你喜欢
  • 2021-05-04
  • 2022-03-13
  • 2022-01-21
  • 2021-10-20
  • 2021-07-11
  • 2021-09-22
  • 2021-05-20
相关资源
相似解决方案