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

Re: Searching Properties

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-09-03 17:37:08 CEST

Karl Fogel <kfogel@newton.ch.collab.net> writes:

> Ben Collins-Sussman <sussman@collab.net> writes:
> > Well, my first instinct was to run
> >
> > svn proplist -v -R * | grep "color : green"
> >
> > ...or something like that.
> >
> > But it seems that 'svn proplist' bails out completely if it hits an
> > unversioned resource. Ugh. :-(
>
> Just curious, why did you need the "*" anyway? If you ran plist with
> -R, shouldn't that be enough?

Oh! Duh.

Yeah, I just ran this command:

     svn pl -vR

...and it worked perfectly on an implicit-dot-target.

Of course the only problem now is that the verbose output of 'svn
proplist' isn't very friendly for piping through grep. If I were to
pipe through "grep 'color : green'", I'd see the matching lines, but
have no idea which items the matching properties were attached to.
That's because proplist outputs pairs of lines:

Properties on 'INSTALL':
  svn:keywords : LastChangedDate
Properties on 'gen-make.py':
  svn:executable : on
Properties on 'packages/freebsd/subversion':
  svn:ignore : work

Hmmmmmmmmmm.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 3 17:38:54 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.