简体   繁体   中英

SubVersion switch to depth

When switching from for example trunk to a branch, I get 5 different depth options.

  • Only a folder
  • Files in a folder
  • Direct children
  • Recursively
  • Working copy

What's the difference between these? The first two should be fairly obvious, but not sure I get the difference between for example the last two.

Have a look at this nice documentation . It explains all the depth options pretty well, for example:

  • Fully recursive -- Checkout the entire tree, including all child folders and sub-folders.
  • Immediate children, including folders -- Checkout the specified directory, including all files and child folders, but do not populate the child folders.
  • Only file children -- Checkout the specified directory, including all files but do not checkout any child folders.
  • Only this item -- Checkout the directory only. Do not populate it with files or child folders.
  • Working copy -- Retain the depth specified in the working copy. This option is not used in the checkout dialog, but it is the default in all other dialogs which have a depth setting.
  • Exclude -- Used to reduce working copy depth after a folder has already been populated. This option is only available in the Update to revision dialog.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM