如何在SVN中保留内容 [英] How to keep includes in SVN

查看:92
本文介绍了如何在SVN中保留内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从clearcase-lite(CC-LT)迁移到SVN。

I am moving from clearcase-lite (CC-LT) to SVN.

在clearcase中,我们链接中央文件夹(包括)中的每个C ++头文件,以便简化生成文件的配置。
例如:

In clearcase we link every C++ header file in central folder (Include) in order to simplify the make-file configuration. For example:

Folder1/a.h
Folder2/b.h
Folder3/c.h
Include/
        a.h --> ../Folder3/a.h
        b.h --> ../Folder3/b.h
        c.h --> ../Folder3/c.h

并制作文件包含:

-I../../Include

目前,在明显的情况下,包含文件夹下的每个链接都是一个元素。

Currently, in clearcase, each link under Include folder is an element.

现在我们要转到SVN,我想知道这是否是

Now that we are moving to SVN I wonder if that is the best way to handle this.

我是否需要保持相同的概念并导入符号链接文件?

Do I need to keep the same concept and import also the symlink files?

推荐答案


我是否需要保持相同的概念

Do I need to keep the same concept

考虑到SVN可以保留相同的目录结构,因此从这些符号链接获得的简化也将应用于相同的makefile。

是的,您应该考虑保留那些。

Considering that SVN can keep the same directory structure, the simplification you got from those symlinks will apply as well for the same makefile.
So yes, you should consider keeping those.


也导入符号链接文件吗?

import also the symlink files?

是,但是请检查它们的状态进口的。如果还将它们转换为元素,则需要导入后的步骤才能删除它们/使用适当的符号链接替换

Yes, but check how they are imported. If they are converted as element as well, you will need a post-import step in order to delete them/replace them with proper symlinks.

这篇关于如何在SVN中保留内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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