[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Checkout using python bindings

From: Stephen Nelson-Smith <sanelson_at_gmail.com>
Date: 2007-03-09 12:08:24 CET

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)

From the command line, I can do an svn co
https://svn.uk.delarue.com/repos/prdrep/prddoc/

What am I doing wrong?

S.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 9 12:08:51 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.