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

Re: svnlook proplist should be machine parsable

From: Daniel Rall <dlr_at_collab.net>
Date: 2007-07-04 19:59:04 CEST

On Wed, 04 Jul 2007, Dave Rodgman wrote:

> Erik Huelsmann wrote:
> >>it would be useful for hook scripts, if the output of svnlook proplist
> >>-v were machine parseable (e.g., by adding an "--xml" flag).
> >>It would probably also be sensible to add similar support to svn
> >>proplist.
> >>
> >>The main advantage would be that hooks could make a single call to get
> >>all property names & values on a particular path, rather than calling
> >>once to get a list of property names, and then again for each individual
> >>property value.
> >I think this is enhancement request 2696
> >(http://subversion.tigris.org/issues/show_bug.cgi?id=2696); which is
> >resolved and scheduled for inclusion in 1.5 (and is available in a
> >trunk/development build you create yourself today)
> Thanks, but this only applies to svn propget, and not svnlook propget
> (which is more
> important for hooks IMO). Judging by subversion/svnlook/main.c
>
> http://svn.collab.net/viewvc/svn/trunk/subversion/svnlook/main.c?view=markup
>
> there's no support for xml output here.

Dave, please file an enhancement request, noting issue #2696 and the
differences here.

Thanks, Dan

  • application/pgp-signature attachment: stored
Received on Wed Jul 4 19:58:52 2007

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