You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ian Brockbank <ia...@wolfsonmicro.com> on 2004/02/23 11:02:58 UTC

Check out only objects with a given property?

Hi,
 
Is there any way of checking out only projects with a given property?
Or some way of getting a read-only copy of all files in the tree which
have a property set?
 
The problem I am trying to address is that we support multiple
platforms, and we have files (particularly build files) which are
necessary on one platform but not on others.  Worse, we have NDAs which
only allow us to distribute these files to customers who use the
relevant platforms, so we must not distribute these files to customers
using different platforms.  I have thought of a couple of ways of
addressing this, one of which I know is not yet supported, and the other
which leads to this email.
 
Option 1: Build up the platform directory using a set of svn:externals
definitions.
 
This requires svn:externals to support files as well as directories -
not currently supported.
 
Option 2: Set platform properties on all files, and when constructing
the kits, only get the files with the appropriate property.
 
Is there any way of doing this, short of writing a script to recursively
list the appropriate property on each object and only get it if it
exists?  Something like
 
svn co --with-property fooprop http://svnserver/svn/trunk/proj 
 
Cheers,

Ian Brockbank C.Eng. MBCS
Applications Software Engineer
e: ian.brockbank@wolfsonmicro.com / apps@wolfsonmicro.com
scd: ian@scottishdance.net
t: +44 131 272 7145
f: +44 131 272 7001
  

 


Wolfson Microelectronics plc
www.wolfsonmicro.com
T +44 131 272 7000
F +44 131 272 7001
Registered in Scotland 89839

This message may contain confidential or proprietary information. If you receive this message in error, please immediately delete it, destroy all copies of it and notify the sender. Any views expressed in this message are those of the individual sender, except where the message states otherwise. We take reasonable precautions to ensure our Emails are virus free. However, we cannot accept responsibility for any virus transmitted by us and recommend that you subject any incoming Email to your own virus checking procedures.