[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: Bert Huijben <bert_at_qqmail.nl>
Date: Wed, 6 Nov 2013 12:33:21 +0100

> -----Original Message-----
> From: OBones [mailto:obones_at_free.fr]
> Sent: dinsdag 5 november 2013 14:06
> To: Subversion Users
> Subject: Re: Setting sticky depth without grabbing content immediately
>
> Johan Corveleyn wrote:
> > I think this would be a useful feature. Whether or not someone will
> > have time to work on it, or someone steps up to write a patch for it,
> > is another matter. But I'd suggest that you enter this into the issue
> > tracker in any case. Can you please file an issue for this?
> Done: http://subversion.tigris.org/issues/show_bug.cgi?id=4445

Currently the Subversion working only stores one depth value and this depth
must match what is known about the children.

If you would update this depth to infinity it would imply that all the
children are known in the working copy and a further update would not bring
them in. Fixing this requires keeping a second depth value just to allow
this UI in one of many Subversion clients, with all kind of backwards
compatibility concerns.

What you could do is update/checkout the directory as r0 / the revision in
which it was created. In that revision it most likely doesn't have any
children. The further update would then go to the HEAD revision in which the
children are there.

If you are going to re-use that working copy as template (as I guess from
your question) I would recommend running 'svn cleanup' on it before storing,
to remove unneeded data in the .svn directory.

        Bert
>
> Regards
Received on 2013-11-06 12:34:15 CET

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