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

svn_opt_revision_head vs svn_opt_revision_number with python

From: Sebastian Tusk <sebastian.tusk_at_silver-style.com>
Date: 2003-10-16 17:59:37 CEST

_start_rev = svn.core.svn_opt_revision_t()
_start_rev.kind = svn.core.svn_opt_revision_head
_start_rev.number = 12
_end_rev = svn.core.svn_opt_revision_t()
_end_rev.kind = svn.core.svn_opt_revision_head
_end_rev.number = 15

svn.client.svn_client_log( [src_url], _start_rev, _end_rev, True, False, \
  get_changelog_logmethod, ctx, pool )

For some reason this works and gives results as expected. And the same code
with svn_opt_revision_number instead of svn_opt_revision_head results in
following error.

RuntimeError: REPORT request failed on '/src/!svn/bc/0/trunk'

Sebastian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 16 18:09:32 2003

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

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