RE: Commit from web problem
From: Emre Uslu <emreu_at_ayesas.com>
Date: 2007-05-09 16:59:57 CEST
Christophe,
You are right. The script was running succesfully on cvs without any login. I thought it would run also in svn. But i see i'm wrong. Now script is working with the login/password information.
Thanks alot.
EMRE USLU
________________________________
From: Méresse Christophe [mailto:christophe.meresse@nagra.com]
A privilège problem ?
Don't you think that subversion is waiting for a login/password ? or a certificate acknowlegement ?
The reason why it works with svn status is that it does not access to the repository. I'm sure that if you try a "svn status -u" it will not work either.
Regards
Christophe
From: Emre Uslu [mailto:emreu@ayesas.com]
Hi all,
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. I've thought it is a "cleanup" problem and wrote a cleanup script before commit but that didn't solve the problem also the script became unresponsive.
Any help would be greatly appreciated.
EMRE USLU
Software Configuration Management Engineer
Aydin Yazilim ve Elektronik Sanayii A.S.
Odtu Teknokent Silikon Blok / Ankara-Turkiye
Tel: +90 312 210 19 61 / 124
|
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.