你可以使用 'svnadmin hotcopy' 与远程 SVN 存储库
Can you use 'svnadmin hotcopy' with a remote SVN repository
根据 SVN 文档 (http://svnbook.red-bean.com/en/1.7/svn.ref.svnadmin.c.hotcopy.html),您只能 运行 svnadmin hotcopy
使用本地存储库。
有什么方法可以使用远程 SVN 存储库 运行 此命令,使用 URL?
我基本上想制作我庞大的 SVN 存储库(超过 6000 个版本)的完整副本,包括所有历史记录、标签、版本等,并将其存储在我的本地机器上,完全独立于远程存储库。
Subversion 1.7 引入了 svnrdump
,这是一种可以远程创建存储库转储文件的方法。然后,您可以使用 svnadmin load
.
将该转储文件加载到本地存储库中
我尝试了很多不同的方法,包括 svnadmin hotcopy
但毫无疑问,最终最好的方法就是 svn dump,例如从 svn 书中获取的这个。 svnadmin dump /var/svn/repos > full.dump
link here once you have done that pack it up and send it to where you want the repository. I tried pretty much everything else and this was the simplest and the best for me. I seem to remember that it automatically set the UUID which is the unique identification number of your Subversion project. If you want to use it as the original then it needs to be the same UUID, if it is different use the setuuid command such as svnadmin setuuid /var/svn/repos-new 2109a8dd-854f-0410-ad31-d604008985ab
http://svnbook.red-bean.com/en/1.6/svn.ref.svnadmin.c.setuuid.html
根据 SVN 文档 (http://svnbook.red-bean.com/en/1.7/svn.ref.svnadmin.c.hotcopy.html),您只能 运行 svnadmin hotcopy
使用本地存储库。
有什么方法可以使用远程 SVN 存储库 运行 此命令,使用 URL?
我基本上想制作我庞大的 SVN 存储库(超过 6000 个版本)的完整副本,包括所有历史记录、标签、版本等,并将其存储在我的本地机器上,完全独立于远程存储库。
Subversion 1.7 引入了 svnrdump
,这是一种可以远程创建存储库转储文件的方法。然后,您可以使用 svnadmin load
.
我尝试了很多不同的方法,包括 svnadmin hotcopy
但毫无疑问,最终最好的方法就是 svn dump,例如从 svn 书中获取的这个。 svnadmin dump /var/svn/repos > full.dump
link here once you have done that pack it up and send it to where you want the repository. I tried pretty much everything else and this was the simplest and the best for me. I seem to remember that it automatically set the UUID which is the unique identification number of your Subversion project. If you want to use it as the original then it needs to be the same UUID, if it is different use the setuuid command such as svnadmin setuuid /var/svn/repos-new 2109a8dd-854f-0410-ad31-d604008985ab
http://svnbook.red-bean.com/en/1.6/svn.ref.svnadmin.c.setuuid.html