On Wed, Jun 9, 2010 at 8:48 AM, <style...@apache.org> wrote: > Author: stylesen > Date: Wed Jun 9 12:48:05 2010 > New Revision: 952981 > > URL: http://svn.apache.org/viewvc?rev=952981&view=rev > Log: > On the '1.6.x-issue3651' branch: > > Merge from trunk r952973 and use the private API to eat peg revision, > since this API was made public in trunk recently. > > Modified: > subversion/branches/1.6.x-issue3651/subversion/svn/copy-cmd.c > > Modified: subversion/branches/1.6.x-issue3651/subversion/svn/copy-cmd.c > URL: > http://svn.apache.org/viewvc/subversion/branches/1.6.x-issue3651/subversion/svn/copy-cmd.c?rev=952981&r1=952980&r2=952981&view=diff > ==============================================================================
Hi Senthil, We want to add #include "private/svn_opt_private.h" to avoid compiler warnings about an undefined function yes? Paul > --- subversion/branches/1.6.x-issue3651/subversion/svn/copy-cmd.c (original) > +++ subversion/branches/1.6.x-issue3651/subversion/svn/copy-cmd.c Wed Jun 9 > 12:48:05 2010 > @@ -72,6 +72,8 @@ svn_cl__copy(apr_getopt_t *os, > APR_ARRAY_PUSH(sources, svn_client_copy_source_t *) = source; > } > > + SVN_ERR(svn_opt__eat_peg_revisions(&targets, targets, pool)); > + > /* Figure out which type of trace editor to use. > If the src_paths are not homogeneous, setup_copy will return an error. */ > src_path = APR_ARRAY_IDX(targets, 0, const char *); > > >