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

RE: moving project to a new repository

From: Bolstridge, Andrew <andy.bolstridge_at_intergraph.com>
Date: Wed, 4 Mar 2009 17:51:42 -0000

Or. Use the Sparse directories feature, which I find works exceptionally
well. If you use TortoiseSVN you can even delete working copy
directories that you fetched using 'update to revision'.

 

This way you can anchor a root working copy with nothing checked out,
then use the repo browser to fetch projects as needed, whilst keeping
the directory structure. (and thus not getting your users confused as to
which version of what they're working with).

 

 

 

From: Bob Archer [mailto:bob.archer_at_amsi.com]
Sent: Wednesday, March 04, 2009 3:47 PM
To: Ilan Yaniv; Parashkev Penev; Andy Levy
Cc: users_at_subversion.tigris.org
Subject: RE: moving project to a new repository

 

You should teach your users to check out just the project they are
working on rather than the entire repository. Also, with TSVN you can
open the repo browser and use show log in just the project, folder, file
you want to look at very easily.

 

Also, you can refactor your repository without moving from one repo to
another. Just use svn mv as needed. Or, if you are using TSVN it is even
easier to do this in the repo browser.

 

BOb

 

 

________________________________

From: Ilan Yaniv [mailto:Ilan.Yaniv_at_timetoknow.org]
Sent: Wednesday, March 04, 2009 6:39 AM
To: Parashkev Penev; Andy Levy
Cc: users_at_subversion.tigris.org
Subject: RE: moving project to a new repository

 

P.P.

I totally agree with you. The way the repository was created here (a
very long time before I came to work here) is wrong.

So I am trying to fix some old problems.

 

Andy,

All my users are using tortoise SVN so to run command line (which is not
even installed) for users here, is something that we are not going to
do. I think that it will be the best to move the project (which is
already a stand alone project) to a different repository.

 

Ilan

 

________________________________

From: Parashkev Penev [mailto:parashkev.penev_at_mimoon.de]
Sent: Wednesday, March 04, 2009 1:32 PM
To: Ilan Yaniv
Cc: users_at_subversion.tigris.org
Subject: Re: moving project to a new repository

 

Hi,

 

You entirely misunderstood the concept of subversion, when you created
the repositories, but..

 

you should use svndumpfilter to filter the repository dump file. Then if
you like to load the repository properly you may need to run some sed
substitutions on the dump files as well. Then create the new repository
and load the dumpfile in it. If your users have extensively used
move/copy operations then you will need to look for one of the many
scripts that can handle the dump file (svndumpfilter does not work).
Take a look here

 

http://www.yolinux.com/TUTORIALS/SubversionRepositoryDataTransfer.html

http://mikebradford.org/2008/6/11/subversion-administration-part-i-repos
itory-migration

 

Br

 

 

On Mar 4, 2009, at 12:18 , Ilan Yaniv wrote:

 

Aha, but svn dump and load moving the whole repository. I want a single
project from the repository, and to have much less revisions.

 

The thing is that currently in our SVN repository there are many
projects and 28000+ revisions.

 

So when a user wants to see a log, it takes him about 10secs to open the
log, and about 20Min to create a Tree view.

So, I thought that if I copy the projects to separated repositories, I
will spend less time with going over revisions from other projects.

 

________________________________

From: Parashkev Penev [mailto:parashkev.penev_at_mimoon.de]
Sent: Wednesday, March 04, 2009 12:20 PM
To: Ilan Yaniv
Cc: users_at_subversion.tigris.org
Subject: Re: moving project to a new repository

 

Hi,

 

svnadmin dump

 

svnadmin load

 

Br

 

On Mar 4, 2009, at 10:37 , Ilan Yaniv wrote:

 

Hi All,

 

I have this project that I want to move from one repository to another.

Could it be possible without loosing revision history of this project?

Thanks

Ilan Yaniv

Configuration Management

Phone: 03-7534333 ext. 556

mobile: 052-2331239

Ilan.Yaniv_at_timetoknow.org <mailto:Ilan.Yaniv_at_timetoknow.org>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1267847

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-04 19:09:40 CET

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.