Re: Better way to get the full rule of the last commit?
From: Ryan Schmidt <subversion-2010d_at_ryandesign.com>
Date: Sun, 10 Oct 2010 22:50:00 -0500
On Oct 10, 2010, at 22:37, Tech Geek wrote:
>> That is not possible for SVN to determine, as it does not know *how* you are serving the repository (HTTP, HTTPS, svn+ssh, svn, etc). $REPOS will give you the physical path to the repository, not necessarily the publicly accessible path.
I think you can see that that would only work for the file: protocol, and maybe the svn+ssh: protocol.
For svn:, http: and https:, you extremely likely will not actually have "/var/lib/svn" as part of the URL; you'll configure your Subversion server to restrict repositories to exist within that directory, and expose them under a different URL.
So, it's up to you to prepend what you want to the path-within-repository part returned by svnlook.
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.