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

Re: Official revision syntax for Subversion URLs

From: John Peacock <jpeacock_at_rowman.com>
Date: 2003-08-05 21:58:12 CEST

SLOGEN wrote:

>
> Wouldn't http://slog.dk/~jensen/x;y.html and
> http://slog.dk/~jensen/x.html do for testing?
>

Except that those are the wrong form. The semicolon part has to appear at the
end, after the file extension:

        http://slog.dk/~jensen/y.html;x

and just guessing from what was being displayed with your example, that's not
going to work. However, it did give me an idea:

The ';revision' has to be applied to the path, not the file, in order to be
considered part of the base URL for browser purposes, hence this:

        http://slog.dk/~jensen;x/y.html

should correctly construct relative URL's, and all of these could be considered
equivalent, though only the last would be normalized:

        http://slog.dk/~jensen;x/deeper/and/deeper/y.html
        http://slog.dk/~jensen/deeper;x/and/deeper/y.html
        http://slog.dk/~jensen/deeper/and;x/deeper/y.html
        http://slog.dk/~jensen/deeper/and/deeper;x/y.html

The server would need to extract the revision from the URL prior to making up
the path/target.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 5 23:00:43 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.