English 中文(简体)
Combining SVN repositories
原标题:Combining SVN repositories

I have multiple svn repositories, that i m trying to combine to one.

I did a couple of svnadmin dump {old-repo} | svnadmin load --parent-dir {new-subfolder} {new-repo} runs to combine them all. However is there a way to point the working copies to the new revision?

如果我填写了<条码>svnchange——repositione{old-repo}{new-repo}。 我发现错误:

svn: The repository at {new-repo} has uuid 70567957-ca9a-40a3-95c2-c7c7f5304040 , but the WC has e7f76c56-4d0d-472c-a1f0-6eac23a5d238

I don t think it is easy to an new clean checkout. Because most of the WC have some local changes (like DB credentials / user images). And one even has a (required) cache dir with millions image thumbnails, which take +/- 2 days to regenerate.

Can I force svn to ignore the uuid, and just accept the new location?

问题回答

新的中点交换点(Unix &osphere)的答案是:。 转接——搬迁:错误构造?,解释如何确定新存放处的UUID。 其后果如下:

  • You may only set 1 UUID, but you have n old repositories. You have to decide which one to use, and for this one, the change of UUID may work.
  • All other will have to a new checkout.

似乎没有完整的解决办法——职业介绍。

你可以制作你目前工作副本的拼凑文件,然后重新核对,最后使用分机。

创建发送档案:

$> svn diff > ~/old_repo.patch

检查:

$> svn co {new_repo}

Apply patch:

$> cd new_repo
$> patch -p0 -i ~/old_repo.patch




相关问题
Best practices for Subversion and Visual Studio projects

I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

ASP.NET MVC: How should it work with subversion?

So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...

How to search for file in subversion server?

Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...

热门标签