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

RE: Commit from web problem

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



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.



From: Méresse Christophe [mailto:christophe.meresse@nagra.com]
Sent: Wednesday, May 09, 2007 5:39 PM
To: Emre Uslu; users@subversion.tigris.org
Subject: RE: Commit from web problem


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.








        From: Emre Uslu [mailto:emreu@ayesas.com]
        Sent: mercredi, 9. mai 2007 16:28
        To: users@subversion.tigris.org
        Subject: Commit from web problem

        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

Received on Wed May 9 17:01:04 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.