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

Single repository, multiple projects?

From: Lars Kellogg-Stedman <lars_at_larsshack.org>
Date: 2002-02-03 19:07:42 CET

I'm having a minor problem with subversion; it may be confusion on my part
rather than a bug in subversion, so I was hoping you folks could straighten
me out.

In a given CVS repository, there may be a number of distinct modules.
What about a Subversion repository?

Right now, I have a single repository in my home directory:

   svnadmin create ~/svnroot

And there are two projects in it, which we'll call thing1 and thing2. I
imported them like this:

   svn import file:///path/to/my/home/directory/svnroot ./thing1 thing1

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?

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.

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).


  -- Lars

Lars Kellogg-Stedman <lars@larsshack.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.