Charles M. Gerungan wrote:
> 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?
Ok, I should have been more specific:
"Use a series of *svn mkdir* and *svn mv* operations..."
> 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?
No, it would not work. There are several syntax errors in the commands, plus
you are creating a nasty muddle by using the directory /usr/local/etc2 for 2
seperate purposes at different points in the recipe.
I don't understand why you seem to think you need to use svnadmin dump/load
at all. You don't - unless you are *also* trying to insert a
trunk,tags,branches directory layer into your repository, at the same time
as refactoring the layout of your config files from an arbitrary layout to
an etc-like layout? In which case, don't over-complicate things, do one at a
time!
Max.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jun 12 14:39:19 2005