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

Re: Good script to traverse the repo listing/looking for properties

From: Poul Nielsen <poul_at_langhuse.dk>
Date: 2006-09-26 22:16:46 CEST

Poul Nielsen skrev:
> Wanted:
> - add properties to files - thereby grouping files
> - the properties can then be used to perform actions when publishing the
> repository, like generating PDF files from documents etc.
>
> Properties looks perfect for the job, setting them is easy. The problems
> start when you want to automate because it looks like access to
> properties is very simple/limited.
>
>
> Q: how do you list all properties found in all files ?
>
> Q: how do you get a file list of files holding a specific properties or
> property/property value ?
>
> It would be useful to be able to add "--recursive" to most of the
> "svnlook prop?? " commands or maybe even better allow wildcards in the
> REPO_PATH like '/trunk/*'
>
> Is the only way using
> svnlook tree --full-paths /
> and generate a filelist from the list returned ?
>
> Anybody with some useful scripts (bash/perl) ?
>
> How could a hook script be used here ?

To answer myself

The "svn ls/proplist/propget -R REPO_PATH" does most if not all of what
I want.
Importantly these commands can also be done locally - without working on
the server (very much preferred).

Thanks for an incredible fine tool :-)

Poul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 26 22:19:51 2006

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.