Subversive: Difference between depth 'working copy' and 'recursive' when merging?

Sylar picture Sylar · Nov 22, 2010 · Viewed 18.1k times · Source

When doing a merge using the Subversive plugin for Eclipse, there is an dropdown box named "depth" where, besides other options, "working copy" and "recursive" can be selected.

I always use the default setting "working copy", but I wonder what the difference between "working copy" and "recursive" is. Can someone explain?

Answer

VonC picture VonC · Nov 22, 2010

It must be similar to the depth options presented in TortoiseSVN (also in merge options):

  • recursive: entire tree, including all child folders and sub-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.

Note: The --depth option is new in 1.5 and restricts operation of Subversion subcommands to a certain depth within the target working copy or URL.

This is more detailed than the Subversion documentation on merge.

alt text