Stephen Nelson-Smith wrote: > On 3/9/07, Kent Johnson <[EMAIL PROTECTED]> wrote: > >> Did you find the pysvn Programmer's Guide that comes with pysvn? It has >> this example: > > Ah.. no.... I haven't got pysvn installed... but will take a look.
Seems like a good idea. What package are you using? From http://pysvn.tigris.org: The pysvn project's goal is to enable Tools to be written in Python that use Subversion. Besides the docs it comes with what looks like a complete implementation of the svn command-line client written in Python. Kent > > What I do have is: > >>>> import sys >>>> import svn.core >>>> import svn.client >>>> import sys >>>> pool = svn.core.svn_pool_create(None) >>>> svn.core.svn_config_ensure( None, pool ) >>>> ctx = svn.client.svn_client_ctx_t() >>>> config = svn.core.svn_config_get_config( None, pool ) >>>> ctx.config = config >>>> rev = svn.core.svn_opt_revision_t() >>>> rev.kind = svn.core.svn_opt_revision_head >>>> rev.number = 0 >>>> ctx.auth_baton = svn.core.svn_auth_open( [], pool ) >>>> url = "https://svn.uk.delarue.com/repos/prdrep/prddoc/" >>>> path ="/tmp" >>>> svn.client.svn_client_checkout(url, path, rev, 0, ctx, pool) > > Traceback (most recent call last): > File "<stdin>", line 1, in ? > libsvn._core.SubversionException: ("PROPFIND request failed on > '/repos/prdrep/prddoc'", 175002) > > Not sure what I am doing wrong... the url is correct. > >> Kent > > S. > _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor