If I understand you correctly, the directory svn is a normal directory
and svn/project1 is an svn repository. You want svn to be the
repository. So, assuming you are on *nix:
mv svn svn.old
mv svn.old/project1 svn
and done. It also seems that you want to host multiple projects in
the same repository. That's your choice, I suppose, but I would
recommend against.
As far as keeping the paths of the projects the same, that may take some work.
Before the change that I just did, you had
http://our.server.addr/svn/project1 and now it is
http://our.server.addr/svn. Assuming you have just the one existing
project in the repository now, just create a directory and move
everything into it.
svn mkdir -m 'making project directory' http://our.server.addr/svn/project1
svn co http://our.server.addr/svn
cd svn
svn mv * project1
svn commit -m 'moved project1 into its own dir'
I hope I've understood you correctly.
On 9/27/06, Yuji Shinozaki <ys2n@virginia.edu> wrote:
>
> We set up an svn repo using FSFS that has repository root like this:
>
> https://our.server.addr/svn/project1
>
> Now we have realized that this was mistake and want to "migrate" the
> root of svn "upward", but keep the paths to the projects the same.
>
> So that the desired repository root is https://our.server.addr/svn
> with "project1" as a subdirectory of svn. This is, of course so we
> can add other projects to the same svn root.
>
> What is the proper way to do this? I am assuming with a dump/load,
> but want to make sure that is the right way to do it. And would there
> be any implications on the existing working copies? Will they need
> to do a "relocate"? Or something else?
>
> Or is there better way of doing this change? Like changing the root
> to a different path?
>
> (Of course point me to the proper FAQ or red book chapter, if that's
> appropriate; I don't think I've found anything that directly applies
> to our situation).
>
> Thanks,
> yuji
> ----
> Yuji Shinozaki
> University of Virginia
> Advanced Technologies Group
> ys2n@virginia.edu
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
--
Mark
"Blessed is he who finds happiness in his own foolishness, for he will
always be happy."
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 27 23:28:53 2006