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

Re: HOOK Script Question: how can I determine url from a transaction with SVNlook

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: 2006-08-02 23:45:54 CEST

On Wed, 2006-08-02 at 15:57 -0400, Peter Kahn wrote:
> How can I add custom text to the error output for a commit?
>
> I run a repository with http access for browsing and svnserve access
> for commits. I keep on having users checkout with http, not be able
> to check in, and then I direct them to my "svn switch --relocate" doc.
> I'd like to have the svn failure message for the commit return text
> that directs the users to that doc (so I don't have to). I already do
> this for other situations (like no checkin comment) via hook scripts.
> So, I'd like to add this one to the hook script as well.
>
> My problem is that in the hook script I can get at the local path to
> the repository and the transaction name.
> What I'd like is the url that was used.
>
> Is there any way for me to get at that or am I trying to reach my goal
> via the wrong path?

Wouldn't it be easier to allow writes via http (or https and use that
for browsing too)?

-- 
  Les Mikesell
    lesmikesell@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 2 23:47:25 2006

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.