我们的subversion存储库已移至新主机,并且我们有连接到该主机的旧应用程序.我们无法为旧服务器添加旧名称的别名,我们如何将已检出的客户端重新连接到新的存储库?
Mau*_*uli 15
例:
svn switch --relocate \
http://svn.example.com/path/to/repository/path/within/repository \
http://svnnew.example.com/new/repository/path/within/repository
Run Code Online (Sandbox Code Playgroud)
有一点需要记住,让我们假设您检查了项目"path/within/repository",然后您必须转到工作副本的根目录,然后执行上述命令.这是不足够的只是使用的存储库根(如在SVN开关--relocate http://svn.example.com/path/to/repository/ http://svnnew.example.com/new/repository/),因为那不行.