Re: Access file through URL
On 2/17/06, Martijn Reuvers <firstname.lastname@example.org> wrote:
> Hi Milan
> >> svn://svn.twotribes.com/REPOS/text.txt
> >> Typing that in your browser would, ideally, make Tortoise go the latest
> >> "text.txt" on the SVN server. If I type that now I just see the
> >> Browser.
> > The TSVN's Repo-browser is the tool for the job - use it.
> I know that if you enter this URL you end up with the Repo browser, but I
> don't want to use that. That's the whole point :)
> If I go to that specific URL I'd like to get the text file (in this case)
> directly. I don't want any GUI I need to click through, just the content
> the file I entered in the URL.
> So in short: I don't want to use the repo-browser and I'd like to access
> files (of different revisions) DIRECTLY through the use of a URL. How to
> do it?
You need a client and server that communicate using the same protocol.
You're asking a browser that speaks "http" to communicate directly with a
server that speaks "svn." There is a solution: use apache's mod_svn which
serves subversion files via http. It will do exactly what you want: allow
anonymous users to retrieve files from svn using only their browser.
Received on Fri Feb 17 18:53:55 2006
This is an archived mail posted to the TortoiseSVN Users