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

RE: Re: Commit from web problem

From: Emre Uslu <emreu_at_ayesas.com>
Date: 2007-05-09 16:53:33 CEST

Yes they are in the same path. Infact i've also tried absolute path and
also executing a batch file. Both didn't work.

Thanks,
EMRE USLU

>-----Original Message-----
>From: Andy Levy [mailto:andy.levy@gmail.com]
>Sent: Wednesday, May 09, 2007 5:34 PM
>To: Emre Uslu
>Cc: users@subversion.tigris.org
>Subject: Re: Commit from web problem
>
>On 5/9/07, Emre Uslu <emreu@ayesas.com> wrote:
>> I am trying to commit a file from a web application written with php.
It
>> failed and returned nothing. When failed, i've created a php file
having
>> only shell_exec command but it also failed. The script trying to
commit is
>> simply using shell_exec command as follows:
>>
>> $test = shell_exec('svn commit -m "Test" abc.txt');
>>
>> echo $test;
>>
>> I've tried shell_exec('svn status') and it worked correctly (also any
other
>> -dos etc..- commands) but svn commands like "log, update, checkout,
commit"
>> don't work.
>
>Is the current directory that the PHP script is working in a working
copy?
>
>You may be best off using absolute paths in this case, so that there's
>no confusion in PHP as far as which directory you're working in.
>
>---------------------------------------------------------------------
>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 Wed May 9 16:54:38 2007

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.