简体   繁体   English

从SVN服务器窗口中提取最新的1000个修订

[英]Extract the last 1000 revisions from svn server windows

We have windows 2008 server with SVN repository, i would like to move this to new windows 2008 server but to new Visual SVN server. 我们有带有SVN存储库的Windows 2008服务器,我想将其移至新的Windows 2008服务器,但移至新的Visual SVN服务器。

Our SVN repository has grown really big and it contains few projects. 我们的SVN信息库已经变得非常庞大,并且包含很少的项目。 Im planning to extract the last 1000 revisions from the repository and then separate the projects. 我计划从存储库中提取最近的1000个修订,然后分离项目。 Once i have these i would like to load these projects on to a new SVN server as separate repositories. 一旦有了这些,我想将这些项目作为单独的存储库加载到新的SVN服务器上。 At the same time i do not want to lose the history. 同时我不想失去历史。 When i get people to relocate their repository checkout to new server, i want the users to be still be able to see the history. 当我让人们将他们的存储库结帐重新定位到新服务器时,我希望用户仍然能够看到历史记录。

First of all is this possible and if so whats the best way to do this. 首先这是可能的,如果可以的话,这样做的最佳方法是什么。

If this is not possible, then what is closest to my target that i can achieve? 如果这不可能,那么最接近我可以实现的目标的是什么?

Many Thanks Shoaib 非常感谢Shoaib

Read SVN Book, ask SVN-admin to perform his job 阅读SVN书籍,要求SVN管理员执行工作

Anyway 无论如何

svnrdump dump URL/OF/ROOT/OF/PROJECT -r $HEAD-1000:$HEAD > dumpfile

for every project in the old repo 对于旧仓库中的每个项目

svnadmin load --force-uuid < dumplfile

in every new empty repository 在每个新的空存储库中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM