Re: Subversion commit from Python?

2009-05-20 Thread Lawrence D'Oliveiro
In message 5f7f9840-0e17-48fb-acf9-04186fb1b...@r3g2000vbp.googlegroups.com, Jack Trades wrote: On May 19, 3:53 am, Lawrence D'Oliveiro l...@geek-central.gen.new_zealand wrote: Possibly your CGI scripts are running as some user like nobody, which doesn't have the right access to the

Re: Subversion commit from Python?

2009-05-20 Thread Lawrence D'Oliveiro
In message 77fv7jf1h44c...@mid.uni-berlin.de, Diez B. Roggisch wrote: I have had many troubles with SVN + permissions. I create a custom captive user to own write access to the repository, with access only to keys belonging to authorized users via svn+ssh. Problem solved. --

Re: Subversion commit from Python?

2009-05-19 Thread Tim Golden
Jack Trades wrote: I'm wondering if there's an easy way to do a 'svn commit' on a directory from Python. http://pysvn.tigris.org/ and in particular: http://pysvn.tigris.org/docs/pysvn_prog_guide.html TJG -- http://mail.python.org/mailman/listinfo/python-list

Re: Subversion commit from Python?

2009-05-19 Thread Duncan Booth
Jack Trades jacktradespub...@gmail.com 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. So I moved the data directory out of the cgi directory and plan to use a

Re: Subversion commit from Python?

2009-05-19 Thread Lawrence D'Oliveiro
In message ac63e27e-2dd9-4c27-ace0- d9e205be7...@s31g2000vbp.googlegroups.com, Jack Trades wrote: On May 19, 12:26 am, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message 2904e7de-0a8d-4697-9c44- c83bb5319...@s31g2000vbp.googlegroups.com, Jack Trades wrote: Originally

Re: Subversion commit from Python?

2009-05-19 Thread Jack Trades
On May 19, 3:46 am, Duncan Booth duncan.bo...@invalid.invalid wrote: Jack Trades jacktradespub...@gmail.com 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.  So

Re: Subversion commit from Python?

2009-05-19 Thread Jack Trades
On May 19, 3:53 am, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message ac63e27e-2dd9-4c27-ace0- d9e205be7...@s31g2000vbp.googlegroups.com, Jack Trades wrote: On May 19, 12:26 am, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message

Re: Subversion commit from Python?

2009-05-19 Thread Diez B. Roggisch
Jack Trades wrote: On May 19, 3:53 am, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message ac63e27e-2dd9-4c27-ace0- d9e205be7...@s31g2000vbp.googlegroups.com, Jack Trades wrote: On May 19, 12:26 am, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In

Subversion commit from Python?

2009-05-18 Thread Jack Trades
I'm wondering if there's an easy way to do a 'svn commit' on a directory from Python. More Details: I have a wiki-like program that stores its data in a directory that I would like to put under version control to be able to roll back unwanted changes. The program is stored in two directories, a

Re: Subversion commit from Python?

2009-05-18 Thread Lawrence D'Oliveiro
In message 2904e7de-0a8d-4697-9c44- c83bb5319...@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? --

Re: Subversion commit from Python?

2009-05-18 Thread Jack Trades
On May 19, 12:26 am, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message 2904e7de-0a8d-4697-9c44- c83bb5319...@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