You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2010/06/09 14:05:20 UTC

svn commit: r952973 - /subversion/trunk/subversion/svn/copy-cmd.c

Author: stylesen
Date: Wed Jun  9 12:05:20 2010
New Revision: 952973

URL: http://svn.apache.org/viewvc?rev=952973&view=rev
Log:
Fix issue #3651 - svn copy does not eat peg revision within copy
target path.

* subversion/svn/copy-cmd.c
  (svn_cl__copy): Eat peg revisions in copy target paths.

Review by: stsp

Modified:
    subversion/trunk/subversion/svn/copy-cmd.c

Modified: subversion/trunk/subversion/svn/copy-cmd.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/copy-cmd.c?rev=952973&r1=952972&r2=952973&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/copy-cmd.c (original)
+++ subversion/trunk/subversion/svn/copy-cmd.c Wed Jun  9 12:05:20 2010
@@ -77,6 +77,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 *);