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

Re: entry and wcprops stored in repository(!) (was: bug? "Delta source ended unexpectedly")

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-12-19 17:28:23 CET

Blair Zajac <blair@orcaware.com> writes:
> >
> > 1. Make sure everyone is running a post r4023 client, so nobody gets
> > bitten by issue 1012, accidentally creating bad props.
> I have a public Subversion repository that is used by people that
> don't have the time or the inclination to rebuild Subversion when
> something like this happens, and I'm concerned about a client doing
> something similar to my repository.

I think what we want to do is create a svn_repos_* wrapper around
svn_fs_change_node_prop(). This wrapper would automatically prevent
any svn:wc: or svn:entry: props from coming through (since we control
the svn: namespace anyway, it's easy to screen out the subspaces).

Then it's just a matter of making the libsvn_repos commit-editor (used
by ra_local and ra_svn) and mod_dav_svn always use
svn_repos_change_node_prop instead of svn_fs_change_node_prop().

I think cmpilato is making this change right now. When it's done,
it's just a matter of upgrading your server code, and your repository
will be "safe" from clients with bug #1012.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 19 17:30:57 2002

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