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

RE: RE: Post commit script doesn't get protocol

From: Young, Jason \(GE Indust, GE Fanuc\) <Jason.Young_at_ge.com>
Date: 2006-03-16 15:00:19 CET

Turns out I was wrong. Sorry. It's working as expected now. I had
something hardcoded. D'oh!

Jason

-----Original Message-----
From: Young, Jason (GE Indust, GE Fanuc)
Sent: Wednesday, March 15, 2006 1:03 PM
To: Ryan Schmidt
Cc: users@subversion.tigris.org
Subject: RE: Post commit script doesn't get protocol

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 16 15:05:46 2006

This is an archived mail posted to the Subversion Users mailing list.