Subversion commit from Python?

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Tue May 19 09:53:06 CEST 2009


In message <ac63e27e-2dd9-4c27-ace0-
d9e205be7afa at s31g2000vbp.googlegroups.com>, Jack Trades wrote:

> On May 19, 12:26 am, Lawrence D'Oliveiro <l... at geek-
> central.gen.new_zealand> wrote:
>
>> In message <2904e7de-0a8d-4697-9c44-
>>
>> c83bb5319... at s31g2000vbp.googlegroups.com>, Jack Trades wrote:
>> > Originally I had the 'data' directory in the same directory as the cgi
>> > scripts and was using os.system("svn commit"), however I kept running
>> > into weird bugs with this method.
>>
>> What bugs?
> 
> I'm not 100% sure, but I think it had to do with executable
> permissions on the cgi scripts.

Possibly your CGI scripts are running as some user like "nobody", which 
doesn't have the right access to the files/directories. Changing APIs won't 
help here.




More information about the Python-list mailing list