SubVersion switch to depth
Asked Answered
P

1

12

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.

Pontifex answered 29/8, 2011 at 11:17 Comment(0)
H
15

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.
Hexachlorophene answered 29/8, 2011 at 14:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.