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

Re: depth of the operation vs. depth of the WC

From: David Glasser <glasser_at_davidglasser.net>
Date: Fri, 4 Apr 2008 09:22:07 -0700

On Fri, Apr 4, 2008 at 9:20 AM, David Glasser <glasser_at_davidglasser.net> wrote:
> On Fri, Apr 4, 2008 at 9:02 AM, Rui, Guo <timmyguo_at_mail.ustc.edu.cn> wrote:
> > > IMHO, "check out this directory except for this subdirectory" is a
> > > reasonable request to make. And it's very easy to implement on the
> > > server side; the client side suffers from the general "anything
> > > involving the wc is painful" symptom.
> > >
> > > --dave
> > Thanks, Dave.
> > This function request does make sense. However, it may be really tricky in
> > the client side. There will be no .svn/entries to store the depth value if
> > the directory in question does not exist in advance. Current design may have
> > to be modified to store a list of excluded sub-directories in the
> > .svn/entries of the parent directory.
> > There is a possible alternative way to implement this. Setting the depth of
> > root to "files" and cut off the sub-directory in question may satisfy this
> > request. However, the side effect is that, the root will not receive new
> > added sub-directories in future update, which may be unexpected by user.
> I implemented it more for the sake of non-'svn' clients doing various
> operations with the reporter. I figure we can build in "exclude"
> capability to wc-ng. (And it would be fine to implement it in the
> current wc model too, similarly to "absent" directories.)

Er, and also you're right that this is pretty important for the
deselection interface when you're deselecting a child of something
that isn't depth-empty (or a directory child of something that is


David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-04 18:22:22 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.