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

Re: Problem with renaming a branch

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-09-06 05:54:30 CEST

On Sep 5, 2007, at 07:36, von Bargen, Joergen wrote:

> In a very large project I've tried to rename a lot of stuff via
> scripting and at a specific point I always get an error.
>
> I could reduce the problem to a single commmand and get it
> reproduceable.
>
> Use the attached makefile _in_an_empty_folder_ and you'll get the
> error.

[snip]

I've not tried your script. But:

> svn co --non-recursive $(REPOS_PATH) $(TMP_PATH)
> svn co --non-recursive $(REPOS_PATH)/proj $(TMP_PATH)/
> proj
> svn co --non-recursive $(REPOS_PATH)/proj/branches $(TMP_PATH)/
> proj/branches
> svn co --ignore-externals $(REPOS_PATH)/proj/trunk $(TMP_PATH)/
> proj/trunk

That's not how to do what you want to do. Instead, you should:

        svn co --non-recursive $(REPOS_PATH) $(TMP_PATH)
        svn up --non-recursive $(TMP_PATH)/proj
        svn up --non-recursive $(TMP_PATH)/proj/branches
        svn up --ignore-externals $(TMP_PATH)/proj/trunk

Maybe that will help you.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 6 05:52:58 2007

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.