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

Re: Repository base for another repositories

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Mon, 13 Jul 2009 13:29:05 -0500

If you specify a location in your first repository as an external
reference in a project in the second project, the corresponding contents
will be checked out in a subdirectory in your working copy so your
program code can use it. However, you will have to commit any changes
separately from this subdirectory and manually adjust the reference
when/if you want to switch from following the framework trunk to using a
specified revision or tag. See
http://svnbook.red-bean.com/en/1.5/svn.advanced.externals.html to decide
if the technique will work for you.

-- 
   Les Mikesell
    lesmikesell_at_gmail.com
Alejandro Moraga wrote:
> The first repository has a framework. My intention is that the second 
> repository interacts with the first to create a program in version using 
> my framework.
> 
> How the framework can then be updated, the secondary repository also 
> needs to be updated. But i think this is impossible.
> 
> Alejandro
> 
> On Mon, Jul 13, 2009 at 2:56 PM, Les Mikesell <lesmikesell_at_gmail.com 
> <mailto:lesmikesell_at_gmail.com>> wrote:
> 
>     Tyler Roscoe wrote:
> 
>         On Mon, Jul 13, 2009 at 02:42:15PM -0300, Alejandro Moraga wrote:
> 
>             I already have a repository. I will start the second
>             repository, this
>             project must use the first repository because it is based.
> 
>             The first repository would be the engine and the other was
>             specializations.
> 
> 
>         Why do you want a separate repository for this? It will probably
>         save
>         you a great deal of pain to just make this second "repository" a a
>         separate module in the first repository.
> 
> 
>     If there is a strict separation of code you can use externals to
>     pull in  contents from the other repository and even commit back to
>     it.  But you wouldn't want to do this if it is likely that you'd
>     ever decide to copy code from a location in one repository into the
>     other.
> 
>     -- 
>      Les Mikesell
>        lesmikesell_at_gmail.com <mailto:lesmikesell_at_gmail.com>
> 
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2371057
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-13 20:30:09 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.