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

RE: Advisory depth property for sparse directories

From: Ian Brockbank <Ian.Brockbank_at_wolfsonmicro.com>
Date: Wed, 1 Oct 2008 10:48:09 +0100

Hi Michael,

> I've considered this enhancement in the past, but I usually
> find myself back
> at "If most folks don't need the deep stuff in the tree,
> maybe that stuff
> should go live elsewhere in the repository and be explicitly
> checked out by
> folks that care." That said, I'm not opposed to this advisory depth
> property idea.

Unfortunately we're constrained by our tools as to the macro
structure of our file tree. Things have to be in certain
places if they're present.

> I do wonder (aloud, apparently) how we'd implemented such a
> thing in the
> checkout logic, since we currently do checkouts as one giant
> negotiation:
> C> "I need a checkout of a tree"; S> "Here ya go" *boom*. We
> don't really
> have in place today a way to negotiate at each directory
> level what the
> server transmits. I mean, we can kinda do it when we know up
> front at what
> depth every tree item should be fetched, but we'd need to
> first crawl the
> whole repository tree looking for advisory depths in order to
> make use of that.

Hmmm. Yes, I was sort of wondering that. Do the directory
properties get sent over with the tree? If so, it might be
possible to do a naïve implementation along the lines of a 1.5
client with a 1.4 server, where the server just obeys the
depth on the command, and the client does any advisory filtering.
I think this would be acceptable here, certainly as a first pass
- initial checkout is a slow process anyway...

Or maybe I'm talking out of the back of my head - I have only
a cursory familiarity with the protocol.

Cheers,

Ian Brockbank
Principal Applications Software Engineer
e: ian.brockbank_at_wolfsonmicro.com / apps_at_wolfsonmicro.com
scd: ian_at_scottishdance.net
t: +44 131 272 7145
** I am running the Great North Run for my disabled nephew Matthew. Please sponsor me at www.justgiving.com/ianbrockbank **

Privacy & Confidentiality Notice
-------------------------------------------------
This message and any attachments contain privileged and confidential information that is intended solely for the person(s) to whom it is addressed. If you are not an intended recipient you must not: read; copy; distribute; discuss; take any action in or make any reliance upon the contents of this message; nor open or read any attachment. If you have received this message in error, please notify us as soon as possible on the following telephone number and destroy this message including any attachments. Thank you.
-------------------------------------------------
Wolfson Microelectronics plc
Tel: +44 (0)131 272 7000
Fax: +44 (0)131 272 7001
Web: www.wolfsonmicro.com

Registered in Scotland

Company number SC089839

Registered office:

Westfield House, 26 Westfield Road, Edinburgh, EH11 2QB, UK

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-10-01 11:48:24 CEST

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

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