svndump

Moving SVN repositories data with history as subfolders into another repository

我的梦境 提交于 2019-11-27 13:46:23
I have some repositories, and I need to transform the content of each one in subfolders of another repository preserving their history log ... How can I do that? There are two ways to accomplish the task. Depending on Subversion server distribution and task complexity you may find one of them easier or more convenient than the other. Filtering repository history with svndumpfilter tool The solution is quite tricky because Subversion repository history filtering works based on paths you specify to include or exclude in a repo dump output. In short you should do the following: Dump your current

Subversion Obliterate feature

↘锁芯ラ 提交于 2019-11-27 07:27:28
I was just thinking of writing a shell script to implement the obliterate functionality in an easy to do way (externally, using the suggested way, but automated). Here's what I had in mind: On the client svn list -R > file-list . filter file-list in several ways like grep to create a file "files-to-delete", something like a set of grep XXX file-list>>files-to-delete . transfer files-to-delete to the server using scp. On the server Dump the repository svnadmin dump /path/to/repos > repos-dumpfile , this can be kept as a backup too. Filter the dump file, for each word in "files-to-delete", do:

How do I migrate an SVN repository to another SVN repository?

♀尐吖头ヾ 提交于 2019-11-27 05:06:20
问题 Is there a simple way to copy a directory from one repository into another repository with copying all of the history? 回答1: The simplest way is using: svnadmin dump path/to/repos > repos.out This will create a portable format for your repository (with history) in the file repos.out . You can then use svnadmin load path/to/newrepos < repos.out to load your 'dumped' repository to the new or existing one. Chapter 5. Repository Maintenance -> Migrating Repository Data Elsewhere has this note

How do I dump one project out of an SVN repository which contains multiple projects?

[亡魂溺海] 提交于 2019-11-26 19:11:40
问题 I am working with an SVN repository with many projects. I need to move a few of the projects out of that repository into individual repositories, one for each project, keeping the history. I've been able to use svnadmin dump to dump the entire repository and svnadmin load it into another repository, but I can't find a way of dumping only one project from the original repository so I can load it into the new one. Is this possible? If so how? 回答1: You can use the svndumpfilter utility to do

Moving SVN repositories data with history as subfolders into another repository

亡梦爱人 提交于 2019-11-26 16:31:50
问题 I have some repositories, and I need to transform the content of each one in subfolders of another repository preserving their history log ... How can I do that? 回答1: There are two ways to accomplish the task. Depending on Subversion server distribution and task complexity you may find one of them easier or more convenient than the other. Filtering repository history with svndumpfilter tool The solution is quite tricky because Subversion repository history filtering works based on paths you

Subversion Obliterate feature

微笑、不失礼 提交于 2019-11-26 13:17:42
问题 I was just thinking of writing a shell script to implement the obliterate functionality in an easy to do way (externally, using the suggested way, but automated). Here's what I had in mind: On the client svn list -R > file-list . filter file-list in several ways like grep to create a file "files-to-delete", something like a set of grep XXX file-list>>files-to-delete . transfer files-to-delete to the server using scp. On the server Dump the repository svnadmin dump /path/to/repos > repos