svndump

cvs2svn crash before end

不羁岁月 提交于 2020-01-06 05:35:07
问题 I ran cvs2svn a couple of times successfully. Now I ran it and it crashed just before the end, at pass 16. I'm using dumpfile. I get the following error : alt text http://img90.imageshack.us/img90/1079/73784110.jpg What can it be? 回答1: Try the current version of cvs2svn, namely release 2.3.0. Under Windows, you also have to make sure you have the correct locale set, as described in this bug report. If you still have problems, you should report this as a bug to the cvs2svn users mailing list.

Difference between svnrdump dump & svnadmin dump

徘徊边缘 提交于 2020-01-01 04:08:10
问题 I need a dump of a svn repository. I found two solutions svnrdump dump And svnadmin dump svnrdump dump is the same of svnadmin dump ? If not, what are the differences between these two commands ? 回答1: svnrdump generates the same dump as svnadmin dump . According to the red book: The svnrdump program is, to put it simply, essentially just network-aware flavors of the svnadmin dump and svnadmin load subcommands, rolled up into a separate program. The only difference between the two is that

Move Subversion repository without history

会有一股神秘感。 提交于 2019-12-12 12:35:49
问题 There are a lot of posts on moving a Subversion history with version history but i am looking to do something different. Basically we have a repository that has been used as a proof of concept and we want to archive this. However we want to create a new repository with the latest version of some the code but with author histroy saved but it's a fresh start so we aren't interested in keeping the version history. Plus we are trying to keep the repository size down as there were binaries saved

How to extract an SVN dump?

非 Y 不嫁゛ 提交于 2019-12-10 16:44:56
问题 I received an SVN dump file with a lot of pages (all HTML pages, and all server-side code as well) in the file. I'd to separate them out, but have no clue how to do this. I'm on windows and I don't get SVN at all. 回答1: The answer by Adam Butler is nearly perfect, but I got a few problems with it, so here is my working solution : In a DOS windows (Use ConEmu for a better one) First cd to your svn folder tools mkdir d:\dumpRepo svnadmin create d:\dumpRepo type [PATH TO DUMP].dump | svnadmin

SVNDumpFilter changing paths before adding them?

☆樱花仙子☆ 提交于 2019-12-10 11:27:37
问题 I'm using svndumpfilter to extract single projects from a larger repo and import them into their own repo. Something like this: svndumpfilter include --drop-empty-revs --renumber-revs Trunk/Source/Project1 < full.dump > Project1.dump It worked okay with one project, but on the second one, I notice that the resulting filtered dump does not start by adding a path. See the first two revisions (renumbered): SVN-fs-dump-format-version: 2 UUID: c6612063-4e6b-459c-a579-78605fb1e4b5 Revision-number:

Recalculate checksum in SVN dump after manual changes

北城以北 提交于 2019-12-10 09:14:40
问题 As we are migrating with a project to a public source hosting, I wanted to remove some “personal” information from the SVN repository. I did fine so far with removing paths or revisions using svndumptool and svndumpfilter . However I want to remove some text from a particular file in the repository as well. I removed the text manually by regex’ing the dump and that worked fine, but when I want to use the dump, I get a checksum mismatch. This is obviously because I changed the file but didn't

SVNDumpFilter changing paths before adding them?

纵饮孤独 提交于 2019-12-06 07:30:47
I'm using svndumpfilter to extract single projects from a larger repo and import them into their own repo. Something like this: svndumpfilter include --drop-empty-revs --renumber-revs Trunk/Source/Project1 < full.dump > Project1.dump It worked okay with one project, but on the second one, I notice that the resulting filtered dump does not start by adding a path. See the first two revisions (renumbered): SVN-fs-dump-format-version: 2 UUID: c6612063-4e6b-459c-a579-78605fb1e4b5 Revision-number: 0 Prop-content-length: 56 Content-length: 56 K 8 svn:date V 27 2010-05-11T20:45:07.903005Z PROPS-END

Merging a part of SVN repository to another repository with history

╄→гoц情女王★ 提交于 2019-12-04 01:28:43
问题 I have to svn repositories , lets say A and B . I want to add some of the directories of the B into A along with history.Is it possible to do that. To make more clear, following is the scenario. repo A repo B \branches \branches \sub-branch1 \sub-branch B1 \sub-branch2 \sub-branch B2 \trunk \trunk What i would like to do is, add sub-branch2 in the branches of repo A. How could do it? thanks in advance 回答1: Get the dump of sub-branch2 of repoB: svnadmin dump /location/of/repoB | svndumpfilter

Merging a part of SVN repository to another repository with history

时光总嘲笑我的痴心妄想 提交于 2019-12-01 06:02:48
I have to svn repositories , lets say A and B . I want to add some of the directories of the B into A along with history.Is it possible to do that. To make more clear, following is the scenario. repo A repo B \branches \branches \sub-branch1 \sub-branch B1 \sub-branch2 \sub-branch B2 \trunk \trunk What i would like to do is, add sub-branch2 in the branches of repo A. How could do it? thanks in advance Get the dump of sub-branch2 of repoB: svnadmin dump /location/of/repoB | svndumpfilter include subbranch2 > my.dump Merge the dump into branches of repoA: svnadmin load /location/of/repoA -

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

主宰稳场 提交于 2019-11-28 03:18:50
Is there a simple way to copy a directory from one repository into another repository with copying all of the history? Adam 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 about using svnadmin dump as of version 1.7: The Subversion repository dump format describes versioned