[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Re: Re: shout to Enthusi fritzophrenic "update to revision"window "make depth sticky" checkbox how use it?

From: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Sun, 23 Jun 2013 18:27:40 +0100

Are you aware that the manual (and the whole website) is available in Chinese?
http://tortoisesvn.net/index.zh.html

The language selection is at the top right corner of the page,
although perhaps not very obvious.

To understand 'make depth sticky' you first need to understand sparse
checkouts. Read that section in the manual first. Most of the time you
will not need to use sparse checkouts, so you can always leave this
box checked. Sorry but there are a lot of words in the description
below.

'Make depth sticky' is not a very good description. What is actually
means is 'Allow working copy depth to be changed'. Here are two
different times you might use it.

1. Checkout a sparse working copy where you only have some of the
subfolders present.
2. Another day you decide you really want all the subfolders
3. Update to revision and select 'fully recursive'.

Now you have a choice. If you make the depth sticky then your working
copy depth will be permanently set to fully recursive and you will get
all the missing folders populated. All future updates will work on the
whole tree. If you do NOT make the depth sticky then nothing much will
happen. The sparse checkout will be updated, but because you have not
allowed working copy depth to be changed you will not see the other
folders.

1. Checkout a working copy using the default 'fully recursive'
2. Another day you want to update the working copy, but only the files
at the top level
3. Update to revision, change depth to 'immediate children only'

Now you have a choice. If you do NOT make the depth sticky, then the
top level files will be updated and everything else below is left
unchanged.
If you DO make it sticky then the top level files are updated, but
everything else is removed from your working copy because you just
told subversion you are ONLY interested in the top level files.

There are 4 combinations of depth change and sticky checkbox.

1. Increase the working copy depth, sticky: Permanently depth increase.
2. Decrease working copy depth, sticky: Permanent depth decrease.
3. Decrease working copy depth, non-sticky: Restricted update depth.
Nothing removed.
4. Increase working copy depth, non sticky: Exactly the same as a
normal update. No new items added.

The 4th combination is not much use to anyone.

Simon

On 23 June 2013 10:13, gaohongyan <ghyghost_at_sohu.com> wrote:
> jeanmarc ~!
> Can use operation steps to teach me?
> Such as the:
> (1)
> (2)
> (3)
>
> Simple words I still look at don't understand, operation steps can tell~~
>
> thank all~~
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3058845
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3058862

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-06-23 19:27:46 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.