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

Re: CVS update: MODIFIED: libsvn_wc ...

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-08-29 21:38:35 CEST

kfogel@collab.net writes:

> Ben Collins-Sussman <sussman@collab.net> writes:
> > Greg Hudson <ghudson@MIT.EDU> writes:
> > > 2. Fix the editor interface to allow changes (properties and removal)
> > > to the root directory.
> > >
> > > The second option has the advantage that it lets us set properties on
> > > the repository root directory, something I guess we just can't do now.
> >
> > Yeah, this might be the key. In addition to the editor having a
> > "replace_root()" (which gives you back a dir_baton for editing
> > children), we could add "delete_root()" and "add_root()". :-)
>
> Huh? Why can't we set properties on the repository root directory?
>
> replace_root(&root_baton);
> change_prop(root_baton);
>
> Looks good to me. :-)
>
> I don't see anything good about being able to delete the root dir, and
> note that it can't be done in regular Unix filesystems either...

Sorry, I misread Greg's mail. I thought he wrote "editor root
directory", not "repository root directory". Karl is right, we can
set properties on any editor-root, and therefore if we set editor-root
equal to repository-root, we can do what we want.

But I was simply advocating that we be able to delete an editor-root
too. We can put a safeguard in the fs to avoid deleting
repository-roots.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:37 2006

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.