Karl Fogel wrote:
> Ryan Schmidt <subversion-2007b@ryandesign.com> writes:
>> Christian's question was, given that he already has his project in a
>> repository without the trunk and branches directories, how does he
>> now create them? Your import suggestion is useful for his next
>> project, but does not help him now. The way to fix his his problem
>> now is to do what Micah said: check out a temporary working copy
>> somewhere, make the trunk directory, move everything into it, make
>> the branches and tags directories, and commit. Micah didn't say, but
>> the implication is that now this temporary working copy will be
>> deleted since it is no longer needed.
>
> I don't think he needs to do any checkouts. I haven't tested these
> commands, but this general idea should work:
>
> $ svn mkdir -m "create /trunk" http://.../trunk
> $ svn mv -m "move stuff into trunk" http://.../thing1 \
> http://.../thing2 \
> http://.../thing3 \
> ... \
> http://.../trunk
The multiple move is only a feature in 1.5, are you already working with a dev
build of 1.5 :)
Until 1.5 is out, then you can use svnmucc to do the three renames in a single
commit.
Blair
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 18 02:25:55 2007