svnadmin

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 export a part of an SVN repository with dependencies?

◇◆丶佛笑我妖孽 提交于 2019-12-01 01:09:03
I am trying to migrate a part of an SVN repository using svnadmin dump . The provided svndumpfilter tool doesn't manage copy/move/rename dependencies from directories not included in the export. Is there a tool which can manage these dependencies? I found a Python script by Simon Tatham called svndumpfilter2 , which tries to cope with simple dependencies (I found some limitations, though). You can also check an article about his migration to Subversion and the motivation for the script. With dependencies you mean those specified by the property svn:external? If yes, I think you should pass to

How do I export a part of an SVN repository with dependencies?

旧街凉风 提交于 2019-11-30 19:44:30
问题 I am trying to migrate a part of an SVN repository using svnadmin dump . The provided svndumpfilter tool doesn't manage copy/move/rename dependencies from directories not included in the export. Is there a tool which can manage these dependencies? 回答1: I found a Python script by Simon Tatham called svndumpfilter2, which tries to cope with simple dependencies (I found some limitations, though). You can also check an article about his migration to Subversion and the motivation for the script.

svndumpfilter fails with “Invalid copy source path…” error

我只是一个虾纸丫 提交于 2019-11-30 08:40:54
I want to move part of my SVN repo offsite, onto an AWS instance & am following this page ( Repository Maintenance ) I have taken a dump of the whole repo (Windows commands): svnadmin dump c:\repo > all_repo Next is to filter it, to include only the project I am interested in (which is called "M1"). type all_repo | svndumpfilter include M1 --drop-empty-revs > m1 I know this is correct, as I have done it on some of the other projects already. On this project, it breaks with the error indicated in the title of this post. The exact wording is: svndumpfilter: Invalid copy source path '/Personal

Svnadmin load from dumpfile causes “file not found error”. Help?

半腔热情 提交于 2019-11-30 04:30:00
Given: Repository_1 - source Repository_2 - destination I created a dump file of Repository_1/Folder1 using combination of svnadmin and svndumpfilter When loading from the dump file from Repository_1/Folder1 into Repository_2/Trunk everything is fine BUT When loading from Repository_1/Folder1/Sub-folder (created another dump for this) into Repository_2/trunk i get the following error: svnadmin: File not found: transaction '267-89', path 'trunk/Folder1/Sub-folder' Can anyone explain? Turns out that structure(empty folders) in destination needs to pre-created. So, If you want to do this: When

SVN move single directory into other repository (with history)

旧城冷巷雨未停 提交于 2019-11-29 20:37:37
Related question: Moving repository trunk to another’s branch (with history) I know that one can dump a complete SVN repository with history and load it into a user-defined (sub)directory of the target repository using: // in source repo > svnadmin dump . > mydumpfilename // in destination repo (backslashes because I'm using Windows) > svnadmin load . < mydumpfilename --parent-dir some\sub\directory But this will import the full repository into the target repository's sub-directory. What I want is to define a sub-directory in the source repository that should be exported. Something like

CentOS下搭建SVN服务器

妖精的绣舞 提交于 2019-11-29 10:09:03
一,介绍SVN SVN是Subversion的简称,是一个开放源代码的版本控制系统,相较于RCS、CVS,它采用了分支管理系统,它的设计目标就是取代CVS。互联网上很多版本控制服务已从CVS迁移到Subversion。说得简单一点SVN就是用于多个人共同开发同一个项目,共用资源的目的。 ----百度百科 二,安装SV 官网下载: http://subversion.apache.org/packages.html SVN客户端TortoiseSVN : https://tortoisesvn.net/downloads.html 1,yum install subversion安装 [root@localhost conf]# yum install subversion 2,新建一个目录用于存储SVN目录 [root@localhost]mkdir /svn 3,新建一个测试仓库 [root@localhost svn]# svnadmin create /svn/test/ [root@localhost svn]# ll /svn/test/ total 24 drwxr-xr-x. 2 root root 4096 Jul 28 18:12 conf drwxr-sr-x. 6 root root 4096 Jul 28 18:12 db -r--r--r--. 1

Piping data on Windows command prompt

▼魔方 西西 提交于 2019-11-29 03:53:38
I need to get a backup dump of a large (~8gb) svn repository. My current method involves using svnadmin dump to a file and then using 7-Zip to compress and split the file. > svnadmin dump c:\path\to\myrepo > c:\svndump.svn > 7z svndump.svn svndump.7z // or whatever the correct syntax is I was wondering if there would be a way to skip the middle-man here, and get the svn dump data to be compressed in one go by using pipes or something? Is this possible? What would the syntax be? Dave Webb svnadmin dump dumps to standard out by default and the 7z command line can read from standard input using

Svnadmin load from dumpfile causes “file not found error”. Help?

扶醉桌前 提交于 2019-11-29 01:48:01
问题 Given: Repository_1 - source Repository_2 - destination I created a dump file of Repository_1/Folder1 using combination of svnadmin and svndumpfilter When loading from the dump file from Repository_1/Folder1 into Repository_2/Trunk everything is fine BUT When loading from Repository_1/Folder1/Sub-folder (created another dump for this) into Repository_2/trunk i get the following error: svnadmin: File not found: transaction '267-89', path 'trunk/Folder1/Sub-folder' Can anyone explain? 回答1:

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