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

Re: mod_dav_svn backward compatibility broken?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-03-04 20:12:54 CET

Karl Fogel <kfogel@newton.ch.collab.net> writes:

> Ben Collins-Sussman <sussman@collab.net> writes:
> > But we can't retroactively change released clients. mbk, we need to
> > come up with a solution here. Perhaps a different, more compatible
> > way to marshal the UUID from server to client. We can't release a
> > 0.19 server that chokes earlier clients. :-(
>
> I'm not sure about "can't" (we can always warn people to upgrade
> clients before servers, this being alpha and all). But it would sure
> be nice to avoid it!
>
> MBK, one solution might be to add a header to the client requests,
> something like
>
> X-repository-uuid-accepted
>
> ...or whatever. The server would never send UUIDs unless this header
> were present. But is this veering dangerously close to a full
> features exchange, implying that we should come up with a more general
> mechanism for that?

Or even easier: have a UUID-aware server add an X-SVN-Repository-UUID:
header to its responses. An ignorant client will just ignore the
header. A new client will explicitly look for the header.

Note that this means the UUID is global to the server repsonse, not
attached to individual files. That's fine for the moment. We can
teach 0.19 to not choke on per-file UUID properties, but we won't send
them just yet. In the future, they can be used to 'override' the
global value, much like the way our entries file works.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 4 18:14:08 2003

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.