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

Re: Using properties

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 3 Dec 2008 10:54:54 -0500

On Wed, Dec 3, 2008 at 10:50 AM, Ilan Yaniv <Ilan.Yaniv_at_timetoknow.org> wrote:
> What do you mean by raw tools ?

Subversion does not provide an option that says "give me all files
with this property" but it does let you get all the properties and
their values and you can use those results to answer that question.
For example, here is a snip from the Subversion trunk of all files
with the svn:mime-type property set:

[mphippard_at_cu123 svn-trunk]$ svn pg svn:mime-type -R .
tools/xslt/svnindex.css - text/css
doc/misc-docs/quick_walkthrough.xml - text/xml
www/svn_1.2_releasenotes.html - text/html
www/bugs.html - text/html
www/faq.ja.html - text/html
www/images/subversion_logo-384x332.png - image/png
www/svn_1.6_releasenotes.html - text/html
 ...

If I wanted to know all files with the image/png mime type I could
parse these results to get that list.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=978936
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-03 16:55:47 CET

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.