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

Re: Change repository setup.

From: Charles M. Gerungan <charles_at_nednieuws.com>
Date: 2005-06-12 13:26:44 CEST

Op 12-jun-2005, om 12:17 heeft Max Bowsher het volgende geschreven:

> Those svnadmin commands are *totally* broken. svnadmin doesn't
> operate on URLs!

Ah, yes. But luckily, I can ssh into the box.

> Check out your existing config dir from the repository to /usr/
> local/etc2
> Use a series of mkdir and move operations to rearrange the contents
> to have the correct structure for /usr/local/etc
> mv /usr/local/etc /usr/local/etcold && mv /usr/local/etc2 /usr/
> local/etc

But wouldn't this erase the history of the files? Would this work:

svnadmin dump /home/charles/configfiles >~/dump
svnadmin create /home/charles/svnrepo
mkdir /usr/local/etc2
cd /usr/local/etc2
mkdir trunk config branches (so I can keep complete working
configurations)
svn import . /home/charles/svnrepo/configfiles
svadmin load /home/charles/svnrepo/configfiles/trunk <~/dump
svn co /home/charles/svnrepo/configfiles/trunk /usr/local/etc2
# copy over missing files from /usr/local/etc
# add missing files to repository
# ci missing files
# done?

-- 
Regards, Charles.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jun 12 13:28:42 2005

This is an archived mail posted to the Subversion Users mailing list.