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

Re: Metadata properties searching

From: Andrew Thompson <subversionuser_at_aktzero.com>
Date: 2005-03-07 17:07:47 CET

Eilein Grasp wrote:
> Cheers ;-] But when I try it with the remote repository:
>
> svn propget mymeta:verb=gracefully
> http://myserver:8080/repository/folder/ -R

I don't think you can ask for a specific value when doing the propget.
You should be able to query mymeta:verb and then grep/sed/awk for the
value you're interested in, but sadly, I'm not enough of a
programmer/hacker to be able to tell you how.

>
> a) It takes forever to search
> b) it comes back with svn: Unknown node kind for
> 'myserver:8080/repository/folder/'
>
> What I'm trying to do is search by a bunch of custom properties I've
> added to some datafiles. The properties are just verbs and adverbs and I
> want to be able to find datafiles by matching those properties.

XML output for propget would make that request trivial, I expect.
Unfortunately, the current release of subversion doesn't do XML but for
svn log. (iirc)

You could dig in bug tracker and see if patches have been submitted that
add XML output to propget. If they've been committed, you could pull a
copy of subversion's trunk and compile it yourself. (Granted, I'd only
use a trunk for reading data, just to be sure it doesn't corrupt anything.)

-- 
Andrew Thompson
http://aktzero.com/
Interested in hosted SVN repositories? Email me, let's talk...
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 7 17:14:29 2005

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.