[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: olli hauer <ohauer_at_gmx.de>
Date: Fri, 15 Mar 2013 21:37:04 +0100

On 2013-03-15 21:30, Tim.Williams_at_ucb.com wrote:
> Yes, it appears I am headed toward a wrapper script to copy one file at a time. I wanted to make sure I was not missing something in SVN that would make it easier (a non-recursive copy, or something in svnmucc where I could copy a bunch a files and commit them all in a single new revision, for example).
>
> It appears that I am stuck creating a new revision for every single file I need to move. This will make the SVN Log history long and boring, but it appears there is not much else that can be done if my users want to retain the development history. Otherwise I would just SVN export it, remap it in a work area and commit it all in "one big go."
>
> Thanks for the sanity check, folks.
>
> Tim

Maybe something to test (but maybe totally wrong ...)
 svn move \Barn\chickens\food \tmp\
 svn copy \Barn\chickens\ \NewBarn\birds\
 svn revert \Barn\chickens\food
 svn commit

Increasing the revision will be done only if you do a commit.
Received on 2013-03-15 21:37:07 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.