You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Zarikian, Narek S." <NA...@saic.com> on 2009/03/31 19:30:40 UTC

Combining Repositories

Hello,

I would like to take three separate repositories and combine them under
one common repository. They will remain in separate areas so there is no
merging, overlap, or overwriting required. Is it as simple as just
moving the repositories around?

A crude visual in case I wasn't clear:

Repo A
Repo B 
Repo C 

into...

Repo D 

 - Folder A
- Folder B
 - Folder C

Thank you... I appreciate it.
Erik

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1498921

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Combining Repositories

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Apr 2, 2009, at 09:11, David Aldrich wrote:

>> SVNParentPath is what you need most likely.
>
> This may be relevant to an issue we have. Please will you expand on  
> how one might use SVNParentPath?

It is explained in the documentation. Search for "SVNParentPath" on  
this page:

http://svnbook.red-bean.com/en/1.5/svn.serverconfig.httpd.html

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1527851

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re[2]: Combining Repositories

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, David Aldrich!

>> SVNParentPath is what you need most likely.

DA> This may be relevant to an issue we have. Please will you expand on how one might use SVNParentPath?

It is used for Apache installation to tell the dav_svn module, where to look
for repositories home path, instead of specifying path to each of them
directly.

So to say, you could have configuration similar to this:

<VirtualHost *>
    ServerName www.mydomain.local

    DocumentRoot "C:/home/svn"
    AddDefaultCharset utf-8

    ErrorLog "C:/home/svn/.log/error_log"
    CustomLog "C:/home/svn/.log/access_log" common env=!SVN-ACTION
    CustomLog "C:/home/svn/.log/svn_access_log" svn env=SVN-ACTION


    <Location "/svn">
        Order allow,deny
        Allow from 192.168.1.10

        <IfModule dav_svn_module>
            DAV svn
            SVNParentPath "C:/home/svn"
        </IfModule>

    </Location>
</VirtualHost>

And every repository you create in C:/home/svn (F.e.

  svnadmin create C:/home/svn/mytestrepos

)
Will be accessible through URL
http://www.mydomain.local/svn/mytestrepos



--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 02.04.2009, <20:29>

Sorry for my terrible english...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1521048

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Combining Repositories

Posted by David Aldrich <da...@eu.nec.com>.
Hi Andrey

> SVNParentPath is what you need most likely.

This may be relevant to an issue we have. Please will you expand on how one might use SVNParentPath?

David

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1519386

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: Combining Repositories

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, Zarikian!

ZNS> I would like to take three separate repositories and combine them under
ZNS> one common repository. They will remain in separate areas so there is no
ZNS> merging, overlap, or overwriting required. Is it as simple as just
ZNS> moving the repositories around?

ZNS> A crude visual in case I wasn't clear:

ZNS> Repo A
ZNS> Repo B 
ZNS> Repo C 

ZNS> into...

ZNS> Repo D 

ZNS>  - Folder A
ZNS> - Folder B
ZNS>  - Folder C

ZNS> Thank you... I appreciate it.

If they are separate repositories, you may go through svnadmin dump for each
of them, then import these dumps back into folders in new repository.

But, honestly, if these are purely separate projects, better not merge repos.
Major issue with this move is that every change in each of these projects will
increase revision number for each of them at commit times.
And it'll be hard to tell, which project it was from just a revision number.

Only usual case for such step I see if you really want to physically join all
these projects, including, as next step after this reinport, folder
rearrangement to better suit the new big project (of what you want to keep
tracking), and future updates causing changes in it as a whole entity.

My advice: Think twice :)
SVNParentPath is what you need most likely.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 02.04.2009, <17:36>

Sorry for my terrible english...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1519174

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Combining Repositories

Posted by Andy Levy <an...@gmail.com>.
On Tue, Mar 31, 2009 at 15:30, Zarikian, Narek S.
<NA...@saic.com> wrote:
> Hello,
>
> I would like to take three separate repositories and combine them under one
> common repository. They will remain in separate areas so there is no
> merging, overlap, or overwriting required. Is it as simple as just moving
> the repositories around?

http://subversion.tigris.org/faq.html#multi-merge

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1499046

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].