branch proposal

derrell at samba.org derrell at samba.org
Fri Jul 14 19:02:36 GMT 2006


"Gerald (Jerry) Carter" <jerry at samba.org> writes:

> derrell at samba.org wrote:
>
>>> IIRC, there's an SVN option to say, "This project 
>>> depends on this other SVN path."  If you can find
>>> that option, you could replace trunk with a single
>>> link saying "trunk depends on SAMBA_3_0".
>> 
>> Yup, here it is.  For the purpose of allowing checkouts 
>> of trunk to actually obtain the SAMBA_3_0 tree, this
>> appears to do as desired.
>> 
>>   http://svnbook.red-bean.com/en/1.2/svn-book.html#svn.advanced.externals
>
> So far this doesn't quite work due to
>
> (a) doesn't allow a . in the svn:externals destniation
>     e.g. . svn://svnanon.samba.org/samba/branches/SAMBA_3_0
>     won't work
> (b) You cannot do something like in the repo root
>     'trunk svn://svnanon.samba.org/samba/branches/SAMBA_3_0'
>     and then call svn co svn+ssh://..../trunk
>
> Any ideas?

My assumption is that the purpose of this is to allow the automated tools
(e.g. Coverity) to be able to access trunk.  No one should be accessing it for
normal uses since they'll be accessing SAMBA_3_0.

If that assumption is correct, then you should need only create a couple of
externals properties:

  source        svn://svnanon.samba.org/samba/branches/SAMBA_3_0/source
  examples      svn://svnanon.samba.org/samba/branches/SAMBA_3_0/examples

You may not even need examples.

You'll likely want to create a custom README in trunk to say that it's there
only for automated utilities that scan only for trunk, and that user
check-outs should come from SAMBA_3_0.

Derrell


More information about the samba-technical mailing list