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

Re: Post commit script doesn't get protocol

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-03-15 19:39:57 CET

On Mar 15, 2006, at 19:31, Young, Jason (GE Indust, GE Fanuc) wrote:

> When you have a post commit script using svnserve, you get something
> like this in your post commit script:
> Svn://myserver/myrepo
>
> However, when it's accessed using "file:///d:/svn/myrepo", you get the
> following:
> d:/SVN/Repo1
>
> Is it supposed to drop the protocol for the local file system? I'm
> running into problems because I wanted to call "svn log" in the post
> commit script, and it fails without the "file:///" in the second case.

All hooks should be receiving the filesystem path to the repo, not
the URL.

You use these with the svnlook program, not the svn program.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 15 19:43:23 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.