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

Subversion's "magic" URLs

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-02-21 08:16:10 CET

Greg,

I just had a brainstorm (caused by lack of sleep, no doubt).

When accessing a repository over WebDAV, we store all sorts of private
URLs into the WC. These are supposed to be opaque, and their form (iirc,
the $svn component) can be configured on the server.

Now, I wondered, could we instead create those URLs in the form of a
/query/ against the repository? E.g., instead of writing

    http://svn.collab.net/repos/svn/$svn/ver/13.22/trunk/HACKING

could we instead write

    http://svn.collab.net/repos/svn/?ver=13.22&path=trunk/HACKING

The thing is, DAV allowes this, there's a) one less thing to configure
on the server, and b) we could actually define a way to work with a
specific revision of a path, that's independent of the server
configuration. Then we could write

    svn switch http://svn.collab.net/repos/svn?rev=1302&path=trunk/

Bingo -- instant sticky tags.

I'm probably hallucinating, aren't I.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
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:37:09 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.