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

Setting sticky depth without grabbing content immediately

From: OBones <obones_at_free.fr>
Date: Mon, 04 Nov 2013 11:16:12 +0100


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
Received on 2013-11-04 11:16:55 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.