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

[PATCH] Fix issue #3651

From: Senthil Kumaran S <senthil_at_collab.net>
Date: Wed, 09 Jun 2010 17:05:07 +0530

Hi,

I am attaching a patch to fix issue #3651, just to check whether this is what
stsp intended to say via
http://subversion.tigris.org/issues/show_bug.cgi?id=3651#desc2

Thank You.

-- 
Senthil Kumaran S
http://www.stylesen.org/

[[[
Fix issue #3651.

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

Index: subversion/svn/copy-cmd.c
===================================================================
--- subversion/svn/copy-cmd.c (revision 952908)
+++ subversion/svn/copy-cmd.c (working copy)
@@ -77,6 +77,8 @@
       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 *);
Received on 2010-06-09 13:35:43 CEST

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.