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

Re: Better way to get the full rule of the last commit?

From: Tech Geek <techgeek12345_at_gmail.com>
Date: Sun, 10 Oct 2010 20:37:25 -0700

Daniel,
>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.
That not a problem. I can always prefix the protocol like file:///, http://,
https:// or svn:// to the full URL.

For example if somehow svnlook can somehow return this:
/var/lib/svn/projectA/PartA/tags/DEV-1.00_RC5
say in variable called URL then I do this:

URL="file:///$URL"
Received on 2010-10-11 05:38:05 CEST

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.