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

Check out only objects with a given property?

From: Ian Brockbank <ian.brockbank_at_wolfsonmicro.com>
Date: 2004-02-23 12:02:58 CET

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.
Received on Mon Feb 23 12:02:55 2004

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.