svn_ra_do_update2 sends copyfrom_path though start_empty=TRUE in report
From: Dmitry Pavlenko <pavlenko_at_tmatesoft.com>
Date: Thu, 2 Aug 2012 20:04:50 +0200
Hello,
I run "update" request on some repository:
svn_ra_do_update2(session, &update_reporter, &reporter_baton, 50, "",
Please, pay attention to send_copyfrom_args=TRUE argument of "svn_ra_do_update2"
As I understand, by telling start_empty=TRUE I say to the remote part (server) that I have
But it does, and this is a bug to my opinion.
Even though send_copyfrom_args=TRUE the documentation says
I've implemented "add_file" in this way:
static svn_error_t *
and get the following output (Subversion proposes me to get the files from the revisions I definitely do not have).
$ gcc update_test.c -I/usr/include/subversion-1 -I/usr/include/apr-1.0 -lsvn_ra-1 -lsvn_client-1 -o update_test
I've attached full source of the minimal code to reproduce and a repository on which the bug is reproducible.
-- Dmitry Pavlenko, TMate Software, http://subgit.com/ - git+svn on the server side
|
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.