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

Re: Create repo by copying

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-08-23 15:06:31 CEST

On 8/23/06, Mark Clements <gmane@kennel17.co.uk> wrote:
> I've created a new repository using svnadmin, and then modified the conf and
> hooks dirs so that they contain symlinks to a central config folder, so that
> my multiple repositories can work from a single set of config files.
> This repo is stored in ~/svn/repos/template/
> I plan to create repos by copying this folder,
> e.g.
> cp -r ~/svn/repos/template/ ~/svn/repos/proj1/
> Will this work, or is there some magic hokum going on that requires you to
> use svnadmin to create the repo?

That is a bad idea. Each subversion repository has an internal UUID
(universally unique identifier) so that you can tell them appart.
Just copying an existing repository will seem to work, but you will
end up with multiple repositories with the same UUID, which could
result in problems later on if Subversion needs to ask the question
"is the repository at URL number 1 the same as the repository at URL


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 23 15:08:57 2006

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.