如果我在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进行部分结帐吗?
发布评论