You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Stephen Nelson-Smith <sa...@gmail.com> on 2007/03/09 11:08:24 UTC

Checkout using python bindings

Hello,

I'm trying:

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)