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

Re: Single repository, multiple projects?

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-02-04 00:12:24 CET

On Sun, Feb 03, 2002 at 01:07:42PM -0500, Lars Kellogg-Stedman wrote:
>...
> In a given CVS repository, there may be a number of distinct modules.
> What about a Subversion repository?

As you have found, it is quite possible, but they will share revision
numbers. It is also possible to retrieve log messages for both.

>...
> I check them out like this:
>
> svn co file:///path/to/my/home/directory/svnroot/thing1
>
> Is this The Way Things Should Work? Or should I have only a single
> module per repository?

Personal preference, really. I plan to use just one module per repository.

> I ask because I just realized that when I run 'svn log' from inside the
> 'thing2' working copy, I see log messages for 'thing1' as well. The
> 'revision' number is shared between both projects -- that is, it's global,
> rather than per-project.

The shared revision number shouldn't be a big problem. The part with the log
messages is mostly just because of problems with the current "log"
functionality. When that gets fixed, you should really only be seeing log
messages that pertain to the file/dir that you're sitting in, which would
mean just one project.

> This is obviously not what I want, but I don't know if the problem is with
> subversion (i.e., a bug), or just in the subversion paradigm (i.e., me).

A little of both :-)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:03 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.