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

Re: Creating (or renaming to) trunk after the fact...

From: Lorenz <lorenznl_at_yahoo.com>
Date: 2007-03-26 09:54:23 CEST

Robert La Ferla wrote:

>I created a repository a while back as:
>
>svn+ssh://myhost/coderepository/Tools
>
>and I have since made many commits to it.
>
>I now want to create branches and I want to change the main trunk to:
>
>svn+ssh://myhost/coderepository/Tools/trunk
>
>How do I do it? I tried svn mv but that gave me an error: "Cannot
>move URL into itself."

I assume you tried something like:

        svn move .../Tools .../Tools/trunc

(... = protocol and path)

That can't work because resulting in recursion.

Try something like:

        svn move .../Tools .../trunc
        svn mkdir .../Tools
        svn move .../trunc /Tools

Lorenz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 26 09:54:55 2007

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