How to rearrange repo without "svn: Cannot replace a directory from within"
From: Michael Harris <harmic_at_gmail.com>
Date: Sat, 15 Mar 2008 14:26:48 +1100
Hi,
Several years back I set up an svn repo for a project I am involved
<repo_root>
In other words the repo has a single folder at its root (with the name
We are using svnserver and svn:// to access the repo. When I set up
svn://server.name/proj1/trunk
points at the trunk of the repo, which is stored in
/var/svn/repos/proj1
Now, a couple of years later, I want to establish additional whole
svn://server.name/proj1/proj1/trunk
Which ain't so good. I realised that my main mistake was to create the
So, to try it out, I made a copy of my repo on another machine and
1) Move trunks, branches and tags up a level so they are at the top of
svn mv svn://server.name/proj1/trunk svn://server.name/trunk -m "SVN
(repeated for branches and tags as well).
2) Stop the svnserve, edit the config file, and change the server
/var/svn/repos/proj1
After it became
/var/svn/repos/
Then restart svnserve. Everything seems fine, the URL for accessing
The problem is, working copies that were checked out before the change
svn: Cannot replace a directory from within
Is there any way to make this change without ruining all existing
Thanks in advance,
Regards // Mike
---------------------------------------------------------------------
|
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.