Return-Path: Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: (qmail 47175 invoked from network); 13 Jan 2011 16:20:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jan 2011 16:20:23 -0000 Received: (qmail 90318 invoked by uid 500); 13 Jan 2011 16:20:23 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 90200 invoked by uid 500); 13 Jan 2011 16:20:21 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 90193 invoked by uid 99); 13 Jan 2011 16:20:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jan 2011 16:20:21 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of qazwart@gmail.com designates 74.125.82.47 as permitted sender) Received: from [74.125.82.47] (HELO mail-ww0-f47.google.com) (74.125.82.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jan 2011 16:20:16 +0000 Received: by wwb39 with SMTP id 39so2194500wwb.16 for ; Thu, 13 Jan 2011 08:19:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=GmUMIHItJsYAAS8fTcKkZpbcA+LtTbiYTYpHGTw+YUw=; b=eDdAgjBkyJvz9wjlOUsKfooYMfamHsWEt16j2Plm1Rt9o6HSBngsWMQs0928Zj+acI wHOgXH/9aNo7WYiUBJ6hULqro0hYCAakAlqFlk37xmlHBRBOYYtNO4+CWF6/6N+L9kHy JB01lkNtjyQuZKD9EkUAn2E/lIJmqZrOVALIY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=rEnzyMMHwhFJQrVxa30v3XzqtWWfiVVturNH/QoRzqNiz8j+xWtDjYA3GVJPJaP/dC 6HtrsQH6OedAsAZ73X5u8nYZmI9vs0bsa2MDEXgQf9gT56dYFev9afcxBKI8kr5q2i2U SkqC2FSgeW/lK8sTU3X70c08Zqi9QPEnWHWls= MIME-Version: 1.0 Received: by 10.216.62.212 with SMTP id y62mr2609237wec.9.1294935594869; Thu, 13 Jan 2011 08:19:54 -0800 (PST) Received: by 10.216.168.135 with HTTP; Thu, 13 Jan 2011 08:19:54 -0800 (PST) In-Reply-To: References: Date: Thu, 13 Jan 2011 11:19:54 -0500 Message-ID: Subject: Re: project vs. repository From: David Weintraub To: Alan Taylor Cc: users@subversion.apache.org Content-Type: text/plain; charset=ISO-8859-1 Are you using file:// URLs? You should either be using svnserve or Apache httpd as your Subversion server. Fortunately, you can easily do that without having to do anything with your repository. Even when I have a personal Subversion repository and I'm the only user, I still use svnserve. But getting back to the issue at hand: Your basic issue is that your repository root is the project itself, and not a directory holding the various projects. There are several ways you can handle this: * One is a dump and reload which puts your "cfg" project under another directory. It's simple enough to do. If you do this, all of your "cfg" project will appear as if you've always had it setup that way. (See http://bit.ly/fdJjX5). * Another thing you can do is simply create another root level directory, and then copy your cfg project under that directory. This is easier since you don't have to shut down your repository or do a dump and filter. However, users should be warned in advanced that this is taking place since it changes the URL from where they have checked out their code. They'll need to take this in account when they commit their changes. Also, it can cause issues with merging since the base URL has changed. * Lastly, you can simply create multiple repositories with one for each project. This has advantages and disadvantages. However, if you're using svnserve, you'll have to use a different port for each project. If you use Apache httpd, there's no problem running multiple repositories on the same server. Have you seen the Subversion on line manual at svnbook.com? It's one of the best open source manuals I've seen and does a great job explaining not just the fundamentals of Subversion, but many of the ins and outs of Subversion administration. On Wed, Jan 12, 2011 at 7:22 PM, Alan Taylor wrote: > Greetings, > > Some time ago I created my repo with: > svnadmin create /srv/svn/cfg > > This has been operating fine for over a year, but I now have > a problem because I want to add another project. > Unfortunately I think the original repo creation command > should have been: > svnadmin create /srv/svn > > My problem is that cfg should be a project within the repo > and now I want to add another project, i.e. > /srv/svn/cfg > /srv/svn/pxe > > What is the best way to move things around ? > > Rgds/Alan > -- David Weintraub qazwart@gmail.com