开发者

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

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 settin开发者_如何转开发g "working copy", but I wonder what the difference between "working copy" and "recursive" is. Can someone explain?


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.

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


I think the "working copy" options means "take option with which working copy is checked out". If working copy is checked out with "immediate children", then only immediate children will be merged.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜