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

RE: Rearranging archive

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Wed, 28 Apr 2010 12:39:39 -0400

> I have had trouble in the past using Tortoise on the server then
> accessing the repository over the internet. There seems to be a lot of
> dependency on versions. I currently am using 1.4.4 with Apache 2.2.4.
> When the person who initially loaded the archive did it he was using
> Tortoise with a network mounted drive and we found that the file format
> value (in the format file) was not compatible with the server setup.
> Currently, format contains a 5. Can I use the latest Tortoise or do I
> need to load an older one?
>
> BTW, thanks for your patience. This is my first attempt at setting up
> and administering subversion and I realize some (if not all) questions
> are basic. I have looked over the documentation but because the
> repository was not set up according to the recommended structure, things
> don't seem to work as they I expect.

Ok, I see the problem... I set up a repo and tested this my self. If you try to copy it all to trunk then there is a problem.

I was able to move the folders/files one at a time. Like this:

svn mkdir file:///c:/Users/Development/TestRepository

svn mv file:///c:/Users/Development/TestRepository/folder1 file:///c:/Users/Development/TestRepository/trunk

repeat for each folder/file in the root of your project.

Here is another way... you will need svnadmin to do it... You well need to create a new empty repository...

mkdir TempDump
cd TempDump
svnadmin dump c:/Users/Development/TestRepositry > MyRepo
svnadmin load --parent-dir c:/Users/Development/NewRepository/Trunk < MyRepo

Ah yes, you have to be careful with versions. I really suggest you use 1.6 for everything. Also, you really shouldn't be using the file:// protocol on shared repositories.

BOb
Received on 2010-04-28 18:38:32 CEST

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.