[OT] - Svn Multiple Repositories on Windows

D

Diego Jancic

Hello everyone!,
I installed SVN Server on Windows a few weeks ago using SVN-1-
ClickSetup, and I realized that all the files in all the projects have
the same version.
My dir structure is something like this:

- svn://server/
- Project_1
- trunk
- (some files)
- branch
- (some files)
- tag
- (some files)
- Project_2
- trunk
- (some files)
- branch
- (some files)
- tag
- (some files)
- Project_3
- trunk
- (some files)
- branch
- (some files)
- tag
- (some files)

Is there a way to configure svn to use different versions between the
different projects, but keep the same version in all the files inside
the same Project's trunk (and branches, and tags) ???

Thanks in advance,
Diego
 
J

Jon Skeet [C# MVP]

Diego Jancic said:
Is there a way to configure svn to use different versions between the
different projects, but keep the same version in all the files inside
the same Project's trunk (and branches, and tags) ???

Hmm. You can certainly do this on Unix, and I suspect it's the same for
Windows - just point the server process one level higher than the
projects, and create 3 separate repositories. Then the "base URL" for a
project would be, say, svn://server/Project1. So you'll need to run
svnadmin 3 times, once for each project. It does mean you have to keep
all the config/password/etc files in sync though (if you want them to
be the same).
 
P

Peter Bradley

The key, I think, is that the version number in Subversion is the version
number of the repository.

Reading the section "Adding Projects" in Chapter 5 (Repository
Administration) of the Subversion manual should give you some good pointers.

Cheers


Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top