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

RE: One repository per project or one to rule them all?

From: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2005-06-28 15:45:41 CEST

Dale,

moving between projects is not that difficult, it's just not doable with the
standard
svn tool.

Moving a certain folder from one repo to another can be done in two steps:

svnadmin dump /path/to/sourcerepo | svndumpfilter include
/trunk/folder/to/move > dumpoffolder
svnadmin load /path/to/targetrepo < dumpoffolder

'dumpoffolder' contains the full history of that one folder, with all other
folders filtered out.

Only disadvantage is that all empty revisions are not filtered out, so
depending on the size
and lifetime of your sourcerepo, your target repo's revision nr. can
increase a lot.

Lieven.

-----Original Message-----
From: Dale Worley [mailto:dworley@pingtel.com]
Sent: dinsdag 28 juni 2005 15:30
To: users@subversion.tigris.org
Subject: RE: One repository per project or one to rule them all?

> From: Ben Jackson [mailto:ben@incomumdesign.com]
>
> Currently I have all of my projects in one SVN repository.
> This seemed
> like a good idea at first as there were some shared code libraries
> that were used across multiple projects, but the log is getting
> cluttered, and I'm thinking it might be a good idea to split the
> repository by project. Is this a good idea? Thanks,

Unless you absolutely never move code between the projects, use one
repository, because moving code between repositories is a nuisance.

But why is the log a problem? If you do "svn log" on a directory that is
the root of a project, you should only see the changes in the project.

Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.5/32 - Release Date: 27/06/2005
 
-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.5/32 - Release Date: 27/06/2005
 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 28 15:49:55 2005

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.