Re: moving the svn root up a directory
From: Yuji Shinozaki <ys2n_at_virginia.edu>
Date: 2006-09-28 00:33:07 CEST
Ah. I like simplicity.
So do you suggest keeping, e.g:
https://our.server.addr/svn/project1
as separate svn repos?
(that's even simpler than what I was thinking!).
I guess I was working from the assumption that it was difficult to
But of course, I guess it is simpler with svn.
Thanks, I think we are now on the right track.
yuji
---- On Sep 27, 2006, at 5:28 PM, Mark wrote: > 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 > ----- 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.orgReceived on Thu Sep 28 00:33:56 2006 |
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.