背景:
之前的服务器项目《杀戮链条》,服务器工程中的common目录需要在多个子工程中共享,为了统一,所以只保留一个common目录,在子工程中采用外部链接的方法共享到工程中
1. 打开工程所在的本地文件夹
2. 如下图在一个空白地方右键选择TortoisSVN下面的Properties
3. 这时候会进入属性界面,如下图所示
4. 如下图点击New选择Externals
5. 这时候出现下图界面
6. 点击New,将进入下图创建External界面
7. 在Local Path中输入本地文件夹的名称,在URL中输入要链接到svn路径,点击OK,返回到上一级界面全部点击OK,回到文件夹。
8. 在文件夹中更新svn就能把刚才添加的链接中内容更新下来了。
9. 提交文件夹就能把刚才创建的链接同步到svn服务器了,这时候在svn服务器上可以看到刚才创建的文件夹,左下角带一个箭头,就像一个快捷方式的图标一样。以后直接check out 就能把链接中的内容直接更新下来了,而且提交的内容也会提交到链接到的文件夹,链接所在的svn位置只是保存了一个超链接而已。
该的内容是网上的转载,非原创