[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: Young, Jason \(GE Indust, GE Fanuc\) <Jason.Young_at_ge.com>
Date: 2006-03-15 20:03:13 CET

I have confirmed that I'm getting an SVN:// path in my post commit
script when using svnserve. That's with 1.3.0. Can someone else
confirm this on their machine?

Thanks,
Jason

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2006Q1@ryandesign.com]
Sent: Wednesday, March 15, 2006 12:40 PM
To: Young, Jason (GE Indust, GE Fanuc)
Cc: users@subversion.tigris.org
Subject: Re: Post commit script doesn't get protocol

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 20:06:34 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.