> From: John Locke [mailto:mail@freelock.com]
> Sent: Thursday, August 14, 2003 7:04 AM
> Greg Stein wrote:
>> The original question was about a URL that would "just work", which I don't
>> think is doable. But the redirect idea... that definitely has merit. Good
>> one; I hadn't thought of it.
>
> Must've not read too closely--several of us were discussing it earlier ;-)
Given the amount of posts I'm not surprised. I completely missed it earlier
aswell.
[...]
>> No need to invent a new format. Just redirect to the baseline collection.
>>
>> http://svn.example.com/repos/path/to/file?rev=123
>>
>> redirects to:
>>
>> http://svn.example.com/repos/!svn/bc/123/path/to/file
>>
>> If the file doesn't exist in that rev, we could return a 404 rather than a
>> redirect, if wanted to optimize round trips. Otherwise, we could blindly do
>> the redirect and wait for the BC to return the 404.
>>
> Sounds fine to me... I was voting for the .../repos;234/... format, but
> I didn't think the /!svn/bc/ references were stable.
>
> From your earlier mail (gstein):
>
>> In this case, we're assuming that the repository will not have an item named
>> "!svn" in the top-level directory. A pretty darned safe assumption. But we
>> *still* allow for that by providing the SVNSpecialURI directive to alter the
>> "!svn" string to be anything that the local admin desires. And note that
>> this definitely complicates the client problem -- they don't know if the
>> admin has left the default, or configured something special.
>
> So does this mean that the /!svn/bc/ format is stable, unless the server
> administrator chooses to over-ride it?
No.
> If I start using this syntax in web development now, on servers I control, can
> I trust that it won't change out from under me (without lots of notice, anyway)?
No.
You missed the point. The suggestion was to make the format proposed above,
http://svn.example.com/repos/path/to/file?rev=123, supported by mod_dav_svn.
When it encounters such a URL it will send back a redirect. IOW, mod_dav_svn
composes the baseline (== !svn/bc/...) URL for you. It will always know what
the correct format is.
Sander
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 14 08:58:26 2003