На 18.01.2011 19:12, Campbell Allan написа:
On Tuesday 18 Jan 2011, Modha Khammammettu wrote:
Hi
I have one repository, which do not have tags, branches and trunks to start
with. Code was checked in like that.

Now I want to create a branch for the code checked in and I cannot since
the structure is not there.

How I can fix my problem?

Please let me know.

Thanks
Modha/-



This shouldn't be a problem. The easiest way to do this would be with a
checkout of the existing code. Create a directory called trunk. Then svn move
all the other files and directories into trunk. Then create branches and tags
directory and commit all those changes. By using svn move you retain the
history of the files and directories.

You shouldn't need to shut down anything either. I've done this before but not
with other working copies with modifications so I'm not sure if there will be
issues with merge problems.

Hello,
Please read
http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.move.html
svn have very good documentation about this kind of operations.

--
Iliyan.

Reply via email to