You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Young, Jason (GE Indust, GE Fanuc)" <Ja...@ge.com> on 2006/03/15 18:31:49 UTC
Post commit script doesn't get protocol
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.
Thanks,
Jason
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: RE: Post commit script doesn't get protocol
Posted by "Young, Jason (GE Indust, GE Fanuc)" <Ja...@ge.com>.
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
RE: Post commit script doesn't get protocol
Posted by "Young, Jason (GE Indust, GE Fanuc)" <Ja...@ge.com>.
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
Re: Post commit script doesn't get protocol
Posted by Ryan Schmidt <su...@ryandesign.com>.
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