> On Sep 29, 2010, at 09:12, Edward Ned Harvey wrote: > > >> From: Rice Yeh [mailto:rice...@gmail.com] > >> > >> I am trying to separate my project a-project into a- > project/trunk and > >> a-project/branches. First, I like to move a-project to a- > project/trunk. > >> But this is not allowed since trunk is inside a-project. I might > first > >> move a-project to tmp and then move tmp to a-project/trunk. But > the tmp > >> directory is created in repository and this seems not elegant. > Is there > >> a clean way to do this? > > > > First, ensure everyone has done all their commits. You're about > to modify > > every file, so you would cause conflicts for any un-committed > changes people > > may have. > > > > cd a-project > > svn mkdir trunk > > svn mv * trunk > > Well, that would try to move the new trunk into trunk too, wouldn't > it? I think you have to selectively "svn mv" each individual item > that is not trunk into trunk.
Try... svn mv a-project trunk svn cd a-project svn trunk a-project/trunk That will retain all your history. BOb