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

Re: Need to restructure repo folders: Problem: SVN COPY is recursive

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Fri, 15 Mar 2013 15:42:06 -0400

On 03/15/2013 03:11 PM, Tim.Williams_at_ucb.com wrote:
> The only solution I can think of is to script a copy process on a
> file-by-file basis by first getting a list of files in folder \c, then SVN
> COPY each file individually into folder \e. Repeat for all folders. I can
> this in PERL but it seems like a long journey to get to the result…

I confess I got a bit lost in your description, but many times when folks
have had major directory reorganization to do in Subversion, they've found
the 'svnmucc' took helpful. svnmucc will be shipped as a first-class binary
in Subversion 1.8, but has existed in Subversion's tools/ directory for many
years. I recently(ish) documented for Version Control With Subversion the
gist of the tool. See
http://svnbook.red-bean.com/nightly/en/svn.advanced.working-without-a-wc.html#svn.advanced.working-without-a-wc.svnmucc
for that write-up.

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

Received on 2013-03-15 20:42:43 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.