You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Robert P. J. Day" <rp...@mindspring.com> on 2005/07/26 18:36:05 UTC

can an svn:externals refer to a simple directory?

  it may be that i'm just missing the solution but is there an
equivalent to "svn:externals" to refer to a simple directory, not a
repository?

  the rationale is that i'd like to include third party OSS source in
a project, and this is not source that would *ever* be modified.  for
example, a copy of the linux kernel.  there would be little point in
checking something like that into the repository since it would never
have local changes committed back in; hence little value in adding it
to the repo.

  does this make any sense?

rday

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: can an svn:externals refer to a simple directory?

Posted by "Robert P. J. Day" <rp...@mindspring.com>.
On Tue, 26 Jul 2005, Ben Collins-Sussman wrote:

>
> On Jul 26, 2005, at 1:36 PM, Robert P. J. Day wrote:
>
> >
> >  it may be that i'm just missing the solution but is there an
> > equivalent to "svn:externals" to refer to a simple directory, not a
> > repository?
> >
> >  the rationale is that i'd like to include third party OSS source in
> > a project, and this is not source that would *ever* be modified.  for
> > example, a copy of the linux kernel.  there would be little point in
> > checking something like that into the repository since it would never
> > have local changes committed back in; hence little value in adding it
> > to the repo.
> >
> >  does this make any sense?
>
>
> I don't understand.  svn:externals normally maps local directories
> to URLs, so that when you do an 'svn checkout', a bunch of extra
> checkouts happen.  What exactly would it mean if an external
> referred to a "simple directory"?  What would happen when you
> checkout the larger project?

never mind, i just realized i was making things far more difficult
than they need to be.  i can just put references in the makefiles.
duh.  just forget i asked that.

rday

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: can an svn:externals refer to a simple directory?

Posted by Ben Collins-Sussman <su...@collab.net>.
On Jul 26, 2005, at 1:36 PM, Robert P. J. Day wrote:

>
>   it may be that i'm just missing the solution but is there an
> equivalent to "svn:externals" to refer to a simple directory, not a
> repository?
>
>   the rationale is that i'd like to include third party OSS source in
> a project, and this is not source that would *ever* be modified.  for
> example, a copy of the linux kernel.  there would be little point in
> checking something like that into the repository since it would never
> have local changes committed back in; hence little value in adding it
> to the repo.
>
>   does this make any sense?


I don't understand.  svn:externals normally maps local directories to  
URLs, so that when you do an 'svn checkout', a bunch of extra  
checkouts happen.  What exactly would it mean if an external referred  
to a "simple directory"?  What would happen when you checkout the  
larger project?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org