[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: Ilan Yaniv <Ilan.Yaniv_at_timetoknow.org>
Date: Wed, 3 Dec 2008 18:55:15 +0200

How do I add those properties when I do a commit to files?
How do I add file properties when adding new files?
How do I commit a change to file property?
How do I remove a file property out of a file?
How do I change the value of the property?

Thanks
Ilan Yaniv

-----Original Message-----
From: Mark Phippard [mailto:markphip_at_gmail.com]
Sent: Wednesday, December 03, 2008 5:55 PM
To: Ilan Yaniv
Cc: users_at_subversion.tigris.org
Subject: Re: Using properties

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=978971
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-03 17:56:57 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.