RE: Re: svn info doesn't work in pre-commit script
From: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: Wed, 12 Mar 2008 09:07:58 -0000
Hellen,
It seems from your email you're trying to get the URL of your repository
As far as I understand there is no way to do that. I personally have the
Maybe you want the URL so you can use other command to get more
Last but not least, remember that all hooks run in an empty environment
Giulio
From: Hellen [mailto:hellenff_at_gmail.com]
Thanks for your help. But I have also tried using "svn info" without the
I changed the following in the start-commit:
echo `pwd` >&2
and here is the result:
but I run "svn commit" at:
somehow, It just cannot recognize the location of the current directory.
does anyone have any idea on this ?
BTW: I tried those 2 arguments in pre-commit, it just gives me the
thanks in advance.
On Tue, Mar 11, 2008 at 11:31 PM, Hilco Wijbenga
On Tue, Mar 11, 2008 at 11:19 PM, Hellen <hellenff_at_gmail.com> wrote:
I don't think "svn info" is the problem, it's the ".". Your current
The pre-commit script gets 2 arguments, try using those.
Cheers,
|
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.