简体   繁体   English

如何在存储库中更改SVN外部

[英]How can I change a svn external in the repository

We have a number of externals in our project and I wish to create an additional branch within them. 我们的项目中有许多外部组件,我希望在其中创建一个额外的分支。

I have gone in and modified the svn:external properties on my local copy and all is good there and have attempted to commit these to the repository (doing an svn ci -m "external", I also tried svn ci --depth empty -m "external") but when another user updates their dev, they still have the old external reference. 我进入并修改了本地副本上的svn:external属性,并且在那里一切都很好,并尝试将它们提交到存储库(执行svn ci -m“ external”,我也尝试了svn ci --depth空- m(“外部”)),但是当另一个用户更新其dev时,他们仍然拥有旧的外部参考。

Doing an SVN export also returns the old external. 进行SVN导出也会返回旧的外部。

Is there anything I'm missing? 有什么我想念的吗?

Let me get this straight, you have an svn external: something http://example.com/something/tag/1.2 让我说清楚,您有一个svn外部:一些http://example.com/something/tag/1.2

and you want to change it to something http://example.com/something/branch/1.2 并且您想要将其更改为http://example.com/something/branch/1.2

then you need to 1.edit the svn externals which you have already done, 2. do an svn up (if you cant svn up then you might need to delete the branch you already have in your repo) 4. then you will be able to check in the new branch.. 那么您需要1.编辑已经完成的svn外部,2.做一个svn(如果您不能svn,那么您可能需要删除仓库中已经存在的分支)4.那么您将能够签入新分支。

best Jeff 最好的杰夫

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM