您可以使用Subversion进行部分结帐吗? [英] Can you do a partial checkout with Subversion?
问题描述
如果我在trunk/下有20个目录,每个目录中都有很多文件,并且只需要其中3个目录,那么是否有可能只对这3个目录进行Subversion检出?
If I had 20 directories under trunk/ with lots of files in each and only needed 3 of those directories, would it be possible to do a Subversion checkout with only those 3 directories under trunk?
推荐答案
Subversion 1.5引入了稀疏签出,这可能对您有用.从文档:
Subversion 1.5 introduces sparse checkouts which may be something you might find useful. From the documentation:
... 稀疏目录(或浅检出)...使您可以更轻松地检出工作副本(或工作副本的一部分)而不是完全递归,可以在以后的时间自由导入以前忽略的文件和子目录.
... sparse directories (or shallow checkouts) ... allows you to easily check out a working copy—or a portion of a working copy—more shallowly than full recursion, with the freedom to bring in previously ignored files and subdirectories at a later time.
这篇关于您可以使用Subversion进行部分结帐吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!