[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Fixing a suboptimal repository setup

From: Reedick, Andrew <Andrew.Reedick_at_BellSouth.com>
Date: 2006-08-15 23:52:29 CEST

> -----Original Message-----
> From: Garrett Fitzgerald [mailto:sarekofvulcan@gmail.com]
> When I set up my first repository (and second), I didn't follow the
> recommended trunk/tags/branches structure - I just put everything in
> the main directory. What's the best way to fix this? Follow the
> instructions for migrating a repository at
> http://svnbook.red-bean.com/en/1.0/ch05s03.html#svn-ch-5-sect-3.5, but
> do it to the same directory after fixing the structure?

Directory versioning for teh w1n!

svn co -N URL/
svn mkdir tags trunk branches
svn mv project_dir1 trunk
svn mv project_dirN trunk
svn mv tag1 tags
svn mv branch1 branches
svn commit -m "unfubar'ing dir structure"

Your instinctual desire to touch the repository's back end suggests that
you were a CVS user in a past life...?


The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. 163

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 15 23:56:02 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.