如何更改存储库中的 svn external
我们的项目中有许多外部组件,我希望在其中创建一个额外的分支。
我已经进入并修改了本地副本上的 svn:external 属性,一切都很好,并尝试将这些提交到存储库(执行 svn ci -m "external",我还尝试了 svn ci --深度空 - m“外部”),但是当另一个用户更新他们的开发时,他们仍然拥有旧的外部引用。
执行 SVN 导出也会返回旧的外部。
我有什么遗漏的吗?
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.
Doing an SVN export also returns the old external.
Is there anything I'm missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
让我说清楚,
你有一个 svn 外部:
某些 http://example.com/something/tag/1.2
并且您想将其更改为
某些 http://example.com/something/branch/1.2
那么你需要
1.编辑你已经完成的svn externals,
2. 执行 svn up (如果您无法 svn up 那么您可能需要删除存储库中已有的分支)
4.然后你就可以签入新的分支了..
最好
杰夫
Let me get this straight,
you have an svn external:
something http://example.com/something/tag/1.2
and you want to change it to
something 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..
best
Jeff