On 01/07/2012 11:26 PM, Ryan Schmidt wrote:
> you must use a peg revision to specify a revision in which it still existed
Ryan, this works for the command line, thx!
$ svn log -r13 \
svn://localhost/testproject/branches/work_route/hugo.txt@13
------------------------------------------------------------------------
r13 | charly | 2012-01-05 10:18:37 +0100 (Thu, 05 Jan 2012) | 3 lines
+IMPROVED:
* Adding some text for the trunk - but not for the release
------------------------------------------------------------------------
The funny thing is, I hit the problem first in the code - and posted the
cmd line example for clearer understanding. Here is the code, which
should do the same - where is my fault????
apr_array_header_t* targets =
apr_array_make( pool, 1, sizeof(const char*) );
APR_ARRAY_PUSH (targets, const char*)
= "svn://localhost/testproject/branches/work_route/hugo.txt";
svn_opt_revision_t peg_revision;
peg_revision.kind = svn_opt_revision_number;
peg_revision.value.number = 13;
[...]
pError = svn_client_log5( targets,
&peg_revision,
[...] );
Complete code at http://paste.bluespirit.la/index.php/view/7691156
Best regards,
Charly