Hi Emmanuel,
> I've been using SVN for months and everything is fine (we
> love it!). I need to use branches and merges now; however, I
> haven't created my repository with a "proper" structure
> /trunk /branches /tags as it is recommended in the
> documentation (OK, my fault).
>
> Is there a simple way of recreating/changing my repository
> without losing change history?
>
> I.e. take my current repo/branch and move it to a
> subdirectory "trunk", and then start making branches and tags?
svn mkdir http://path/to/repos/trunk/
[for each entry in the repository root:]
svn move http://path/to/repos/entry http://path/to/repos/trunk/entry
svn mkdir http://path/to/repos/branches/
svn mkdir http://path/to/repos/tags/
There's probably a way of wildcarding the moves, but that's the basic
principle. In 1.1 everything will work properly with the history before
the move, but the history is still maintained in 1.0.
HTH,
Ian Brockbank
Senior Applications Software Engineer
e: ian.brockbank@wolfsonmicro.com / apps@wolfsonmicro.com
scd: ian@scottishdance.net
t: +44 131 272 7145
f: +44 131 272 7001
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 29 17:16:01 2004