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

Re: Setting sticky depth without grabbing content immediately

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 4 Nov 2013 11:21:51 +0100

On Mon, Nov 04, 2013 at 11:16:12AM +0100, OBones wrote:
> Hello,
> When using the update command with subversion 1.8, one can set the sticky
> depth with the --set-depth option.
> When changing from emtpy to infinity, all the files that were not retrieved
> yet are retrieved immediately.
> While this is fine in most cases, I am in a situation where I'd like to
> prepare the working copy setting the depths but would like to have the files
> retrieved later on when doing an option-less update.
> To sum up, based on svnbook sparse dirs example, here is what I'd like to be
> able to do:
> $ svn checkout file:///var/svn/repos mom-empty --depth empty
> Checked out revision 1.
> $ svn update --set-depth infinity --record-only mom-empty/daughter
> Updating 'mom-empty/daughter': depth recorded
> $ svn update mom-empty
> Updating 'mom-empty':
> A mom-empty/daughter
> A mom-empty/daughter/granddaughter1
> A mom-empty/daughter/granddaughter1/bunny1.txt
> A mom-empty/daughter/granddaughter1/bunny2.txt
> A mom-empty/daughter/granddaughter2
> A mom-empty/daughter/fishie.txt
> Is this something that can be done? If yes, how can I achieve this?
> Thanks for your help

Perhaps this can help you:
Received on 2013-11-04 11:22:29 CET

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

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