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

Re: Moving a repository on the same machine.

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-10-20 18:55:30 CEST

On 10/20/06, Bakki Kudva <bakki.kudva@gmail.com> wrote:
> Hi all,
>
> I have a repo at /home/svn. I access it via apache2. I have /svn
> aliased to /home/svn in httpd.conf.
>
> I imported couple of my internal projects over http to
>
> /svn/projects/ror/project1
> /svn/projects/ror/project2 ...etc
>
> First of all,
> I find that all of the projects that are imported have the same
> version number. In otherwords when I imported project2 it did not
> start with version 0 but the next version from project1.
>
> How can I change this so each project that I import starts its own versioning?

You don't. Revision #s are global to the repository. You can only do
this if each project is in its own repository.

But don't put too much meaning on revision numbers. They're more like
a timestamp than anything else. Don't get hung up on all projects
having their own running count.

> Secondly,
> I now want seperate repos for client projects.
> Since I created my first repo at /home/svn, to add more repos now I'd
> have to do /home/svn2 etc.
>
> How can I change this so all repos to live under
> /home/svn/Our_repo
> /home/svn/Client1_repo
> /home/svn/Client2_repo
> ...and so on.
> Can I simply copy everything under /home/svn to /home/svn/Our_repo and
> then add others?

As long as you update the Apache config to use SVNParentPath /home/svn
instead of (I'm guessing you have this) SVNPath /home/svn . You'll
also need to prefix your directory names with ReposName: in your
access control file.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 20 18:56:27 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.