您可以使用 Subversion 进行部分结帐吗? [英] Can you do a partial checkout with Subversion?

查看:28
本文介绍了您可以使用 Subversion 进行部分结帐吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我在主干/下有 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屋!

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