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

One source code structure but two SVN repositories

From: Stefaniuk Marcin <Marcin.Stefaniuk_at_disc.com.pl>
Date: Wed, 15 Oct 2008 15:55:03 +0200

Is it possible to has one repository with source code but also visible in different structure by another "SVN repository"?

Let me explain my concept. In my company we are working on changing source code layout. We are adjusting it to Maven guidelines. So each component has added src/main/java folder structure before module sources itself. Because whole process will take few months my idea is to keep original structure of sources but create second repository mapped to first one using mod_rewrite. There will be several folders mapped in such manner. All write commands I suppose that can be passed using svn_mod_proxy.

Structures overview looks as follows:

master-root
+- component1
| +- file1
| +- file2
| +- ...
+- component2
| +- ...

slave-root
+- component1
| +- src
| +- main
| +- java
| + file1
| + file2
| + ...
+- component2
| +- src
| +- main
| +- java
| + ...

Mapping of folders can looks as follows:
master-root/component1 <-> slave-root/component1/src/main/java
master-root/component2 <-> slave-root/component2/src/main/java

Is it possible and reliable using SVN 1.5?

Best regards
Marcin Stefaniuk
Received on 2008-10-15 18:36:15 CEST

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.