SVNAdmin Load is not working

主宰稳场 提交于 2019-12-11 04:12:31

问题


So I created dump files for my old repositories. Now moving these to new server.

When I use VisualSVN admin interface to import using

Import Existing Repository --> Load Repository from a dump file

Then it is fine. I am able to access new repository on new server.

But if I use command line

svnadmin create test
svnadmin load test < test.dump

Then I am not able to access this test repository from Tortoise SVN ( it won't show up)


回答1:


Use the Import-SvnRepository PowerShell cmdlet to import the dump. You can also use the New-SvnRepository PowerShell cmdlet to create new repositories.

Standard svnadmin create does not add authorization files /conf/VisualSVN-WinAuthz.ini or /conf/VisualSVN-SvnAuthz.ini to the repository. These files must be in place for the authorization to work.



来源:https://stackoverflow.com/questions/49411925/svnadmin-load-is-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!