SVN 外部文件解决方法 [英] SVN external file workaround

查看:64
本文介绍了SVN 外部文件解决方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 SVN.我想在我的工作副本中有外部文件.我有一个文件夹,里面有我的存储库中的文件.而且我还想从外部第三方存储库中获得一个文件.

I am using SVN. I want to have external file in my working copy. I have a folder with files from my repository. And I also want to have one file from external third party repository.

SVN externals 只能用于文件夹.

自 1.6 版起支持文件外部, 但仅适用于同一存储库中的文件.

Since version 1.6 externals for files are supported, but for the files in the same repository only.

如何解决此限制?在这种情况下可以使用哪些方法、实践、技巧?

How to workaround this limitation? Which approaches, practices, tricks whatsoever could be used for this situation?

推荐答案

svn:externals 可以用于文件自 Subversion 1.6 起:

如果 svn:externals 描述中的 URL 引用一个文件,它将作为版本化项目添加到工作副本中.

If the URL in a svn:externals description refers to a file, it will be added into the working copy as a versioned item.

注意与directoy externals的区别[1, 2].

note the differences to directoy externals [1, 2].

这篇关于SVN 外部文件解决方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆