svnadmin

How can I dump all svn data while I lost some revisions in the repository?

一个人想着一个人 提交于 2019-12-10 11:05:25
问题 I want to dump my old svn source and load it to my new computer. My old svn repository is about 100GB huge. When I use svnadmin dump /xx/Repositoryfile > mydump to dump svn file, I got a 512Mb sized file. Finally, I found why: because the revision 302 has been lost. I can only get 1-301 revision's data. Even if use svnadmin dump /xx/Repositoryfile -r 303:90000--incremental > mydump to get the other source. It can't be loaded. How can I move all my svn data to the new location? 回答1: If you

How do i dump a specific subversion path from a berkeley db?

时间秒杀一切 提交于 2019-12-10 10:49:29
问题 I'm trying to migrate one specific branch from a windows subversion berkeley db installation, however I cant seem to be able to work out how to pass a "path" to it as its a db structure and not a flat file system. Can anyone give me any pointers, with preferably an example? Thanks 回答1: svnadmin dump [PATH_TO_REPO] | svndumpfilter include [PATH_OF_BRANCH] > output.dmp svnadmin create [PATH_TO_NEW_REPO] svnadmin load [PATH_TO_NEW_REPO] < output.dmp Remarks: [PATH_TO_REPO] and [PATH_TO_NEW_REPO]

Why is a SVN dump of a single revision larger than a full dump?

自古美人都是妖i 提交于 2019-12-08 18:18:25
问题 My repository is 2.5G. A dump via svnadmin dump myrepos > dumpfile is 5G. But when I do a dump like svnadmin dump myrepos -r 23785 > rev-23785.dumpfile where 23785 is the youngest revision the dump goes beyond 15G and at that point I stop the dump. When requesting a dump for just the one revision, why is the result far larger than the entire dump? 回答1: This page explains: http://linuxtopia.org/online_books/programming_tool_guides/version_control_with_subversion/svn.reposadmin.maint_8.html "To

How to migrate a codebase from one svn repo to another preserving history?

一个人想着一个人 提交于 2019-12-07 03:46:06
问题 I have a branch in a badly structured svn repo that needs to be stripped out and moved to another svn repository. (I'm trying to clean it up some). If I do an svn log and not stop on copy/rename I can see all 3427 commits that I care about. Is there some way to dump the revisions out, short of writing some major scripts? I would follow the advice in this question but this branch has been moved all over the place and I would like to preserve the moves as well. 回答1: I guess this might be

svndumpfilter --drop-empty-revs keeps padding revision

↘锁芯ラ 提交于 2019-12-07 02:15:02
问题 We are splitting a big svn repository (100k+ revs) into several smaller repos. I am using svndumpfilter (v1.7.2) to split the dump and svndumptool/sed to filter the big dump. Everything works fine, except that there are still some "padding revisions" in my filtered dump, even though I used the option "drop-empty-revs". This is not too problematic when we have less than 10% of useless "padding revisions" but sometimes, the new repo has only a few hundreds real revisions that are buried in 30k+

TortoiseSVN svnadmin

倖福魔咒の 提交于 2019-12-06 20:43:21
问题 Currently im setting up TortoiseSVN and reading through docs etc. The manual often mentions svnadmin. I figured out, that I have to download it seperatly. But the link seems to be old. After some browsing I got here. But I can't find a version 1.6.7, like my TortoiseSVN installation. Also I'm a little bit lost, because of the many files. So where can I get svnadmin from? Update: To clarify things. I am setting this up as a single user, without a server. I was searching for svnadmin, because

How can I dump all svn data while I lost some revisions in the repository?

做~自己de王妃 提交于 2019-12-06 11:03:21
I want to dump my old svn source and load it to my new computer. My old svn repository is about 100GB huge. When I use svnadmin dump /xx/Repositoryfile > mydump to dump svn file, I got a 512Mb sized file. Finally, I found why: because the revision 302 has been lost. I can only get 1-301 revision's data. Even if use svnadmin dump /xx/Repositoryfile -r 303:90000--incremental > mydump to get the other source. It can't be loaded. How can I move all my svn data to the new location? If you have a backup of the repository when it's not in corrupted state (i.e. when it has those lost revisions) then

How do i dump a specific subversion path from a berkeley db?

霸气de小男生 提交于 2019-12-06 04:19:21
I'm trying to migrate one specific branch from a windows subversion berkeley db installation, however I cant seem to be able to work out how to pass a "path" to it as its a db structure and not a flat file system. Can anyone give me any pointers, with preferably an example? Thanks svnadmin dump [PATH_TO_REPO] | svndumpfilter include [PATH_OF_BRANCH] > output.dmp svnadmin create [PATH_TO_NEW_REPO] svnadmin load [PATH_TO_NEW_REPO] < output.dmp Remarks: [PATH_TO_REPO] and [PATH_TO_NEW_REPO] is the local Filesystempath to your repository, not the URL [PATH_OF_BRANCH] is a repository relative path

svndumpfilter --drop-empty-revs keeps padding revision

别说谁变了你拦得住时间么 提交于 2019-12-05 07:19:14
We are splitting a big svn repository (100k+ revs) into several smaller repos. I am using svndumpfilter (v1.7.2) to split the dump and svndumptool/sed to filter the big dump. Everything works fine, except that there are still some "padding revisions" in my filtered dump, even though I used the option "drop-empty-revs". This is not too problematic when we have less than 10% of useless "padding revisions" but sometimes, the new repo has only a few hundreds real revisions that are buried in 30k+ "padding revisions". Here is the command I use and the revisions that are included svndumpfilter -

how to use svndumpfilter to exclude a certain revision

守給你的承諾、 提交于 2019-12-05 04:43:28
问题 I have an SVN repository with a bad revision or two. I need to get rid of them! I was planning on using the svndumpfilter tool, which has an exclude command. However, I cannot figure out how to use it to exclude a revision. Everytime I use it, I end up with a Malformed dumpfile header error. See the command below; I want to exclude revision 23, and code is the directory containing the repository. >svndumpfilter exclude 23 code Excluding prefixes: '/23' '/code' SVN-fs-dump-format-version: 2