Sparse Update/Sparse Checkout   To easily select only the items you want for the checkout and force the resulting working copy to keep only those items, click the Choose items... button. This opens a new dialog where you can check all items you want in your working copy and uncheck all the items you don't want. The resulting working copy is then known as a sparse checkout. An update of such a working copy will not fetch the missing files and folders but only update what you already have in your working copy.

If you check out a sparse working copy (i.e., by choosing something other than fully recursive for the checkout depth), you can easily add or remove sub-folders later using one of the following methods.

4.3.1.1. Sparse Update using Update to Revision Right click on the checked out folder, then use TortoiseSVN → Update to Revision and select Choose items.... This opens the same dialog that was available in the original checkout and allows you to select or deselect items to include in the checkout. This method is very flexible but can be slow as every item in the folder is updated individually.

4.3.1.2. Sparse Update using Repo Browser Right click on the checked out folder, then use TortoiseSVN → Repo-Browser to bring up the repository browser. Find the sub-folder you would like to add to your working copy, then use Context Menu → Update item to revision....

4.3.1.3. Sparse Update using Check for Modifications In the check for modifications dialog, first shift click on the button Check repository. The dialog will show all the files and folders which are in the repository but which you have not checked out as remotely added. Right click on the folder(s) you would like to add to your working copy, then use Context menu → Update.

This feature is very useful when you only want to checkout parts of a large tree, but you want the convenience of updating a single working copy. Suppose you have a large tree which has sub-folders Project01 to Project99, and you only want to checkout Project03, Project25 and Project76/SubProj. Use these steps:

Checkout the parent folder with depth “Only this item” You now have an empty top level folder.

Select the new folder and use TortoiseSVN → Repo browser to display the repository content.

Right click on Project03 and Context menu → Update item to revision.... Keep the default settings and click on OK. You now have that folder fully populated.

Repeat the same process for Project25.

Navigate to Project76/SubProj and do the same. This time note that the Project76 folder has no content except for SubProj, which itself is fully populated. Subversion has created the intermediate folders for you without populating them.

最新文章

  1. 基于CkEditor实现.net在线开发之路(8)Vs开发怎么配置
  2. visio取消自动粘附
  3. js 事件绑定
  4. Javascript 笔记与总结(2-12)联动菜单
  5. Walkthrough: Arranging Controls on Windows Forms Using Snaplines
  6. 再起航,我的学习笔记之JavaScript设计模式17(模板方法模式)
  7. Java中的Calendar方法
  8. 学习 JavaScript (八) 引用类型之 Object
  9. Vue中ajax返回的结果赋值
  10. Java-HashMap、HashSet、hashTable
  11. 从零开始学安全(十六)● Linux vim命令
  12. 2018阿里云短信发送DEMO接入简单实例
  13. Codeforces Round #514 (Div. 2) C. Sequence Transformation
  14. centos7编译安装zabbix的错误
  15. 解题:SHOI 2014 概率充电器
  16. C++ map & set
  17. C# Base64Helper
  18. Bubbo的启动时检查
  19. NYOJ-61 传纸条(一)
  20. SMBUS的介绍与访问

热门文章

  1. [Android] Service服务详解以及如何使service服务不被杀死
  2. window下安装RabbitMQ
  3. c# 子窗体打开或者切换就最大化
  4. hashlib 简单的登录例子
  5. Visual Studio Code配置Python环境
  6. SQL Server 高并发Insert数据解析,实践
  7. 无法将数据库从SINGLE_USER模式切换回MULTI_USER模式(Error 5064),及查找SQL Server数据库中用户spid(非SQL Server系统spid)的方法
  8. mySQL 约束 (Constraints)
  9. [Python_6] Python 配置 MySQL 访问
  10. WPScan扫描Wordpress漏洞