Hi, I created python script to get logs for given url using python bindings for subversion, import sys import os.path import svn.fs, svn.core, svn.repos, svn.client print "Hello" repos_url = "https://localhost/svn/Test_Mirror/trunk" svn.core.apr_initialize() pool = svn.core.svn_pool_create(None) svn.core.svn_config_ensure( None, pool ) config = svn.core.svn_config_get_config( None, pool ) src_url = ("https://localhost/svn/Test_Mirror/trunk","https://localhost/svn/Test_Mirror/trunk/Test1") _start_rev = svn.core.svn_opt_revision_t() _start_rev.kind = svn.core.svn_opt_revision_head #_start_rev.number = 55 _end_rev = svn.core.svn_opt_revision_t() _end_rev.kind = svn.core.svn_opt_revision_head #_end_rev.number = 67 client_ctx = svn.client.svn_client_create_context() client_ctx.auth_baton = svn.core.svn_auth_open([], pool) client_ctx.config = config #remote_ls = svn.client.svn_client_ls(repos_url, _start_rev, 0, client_ctx,pool) Out = svn.client.svn_client_log(src_url, _start_rev, _end_rev, False, False, None, None, pool ) It shows following error, svn.core.SubversionException: 200009 - 'https://localhost/svn/Test_Mirror/trunk/Test1' is not a relative path In starting python getting crashed without any error ? after changing some code getting above error...
Last updated