Re: Subversion commit from Python?

2009-05-19 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. -- http://mail.p

Re: Subversion commit from Python?

2009-05-19 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 > wrote: > >> Possibly your CGI scripts are running as some user like "nobody", which >> doesn't have the right access to the files/directories. Changing A

Re: Subversion commit from Python?

2009-05-19 Thread Diez B. Roggisch
Jack Trades wrote: > On May 19, 3:53 am, Lawrence D'Oliveiro central.gen.new_zealand> wrote: >> In message > >> d9e205be7...@s31g2000vbp.googlegroups.com>, Jack Trades wrote: >> > On May 19, 12:26 am, Lawrence D'Oliveiro > > central.gen.new_zealand> wrote: >> >> >> In message <2904e7de-0a8d-4697-

Re: Subversion commit from Python?

2009-05-19 Thread Jack Trades
On May 19, 3:53 am, Lawrence D'Oliveiro wrote: > In message > d9e205be7...@s31g2000vbp.googlegroups.com>, Jack Trades wrote: > > On May 19, 12:26 am, Lawrence D'Oliveiro > central.gen.new_zealand> wrote: > > >> In message <2904e7de-0a8d-4697-9c44- > > >> c83bb5319...@s31g2000vbp.googlegroups.com

Re: Subversion commit from Python?

2009-05-19 Thread Jack Trades
On May 19, 3:46 am, Duncan Booth wrote: > 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.  So I moved the data directory out > > of the cgi

Re: Subversion commit from Python?

2009-05-19 Thread Lawrence D'Oliveiro
In message , Jack Trades wrote: > On May 19, 12:26 am, Lawrence D'Oliveiro 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 >>

Re: Subversion commit from Python?

2009-05-19 Thread Duncan Booth
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. So I moved the data directory out > of the cgi directory and plan to use a separate repository.

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-18 Thread Jack Trades
On May 19, 12:26 am, Lawrence D'Oliveiro 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 commit"), however I kept run

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? --

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 '