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

Re: "svnlook pget" Not showing property value

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 13 Jul 2011 23:19:05 +0200

On Wed, Jul 13, 2011 at 05:07:53PM -0400, David Weintraub wrote:
> Okay take a look at the following:
>
> > 1: $ svnlook changed -r2 svn_repos/
> > _U trunk/
> > 2: $ svnlook proplist -r2 -v svn_repos/ trunk
> > foo : bar
> > 3: $ svnlook propget -r2 svn_repos/ foo trunk
> > 4: $ svnlook propget -r2 svn_repos/ fooo trunk
> > svnlook: Property 'fooo' not found on path 'trunk' in revision 2
> > 5: $
>
> I'm using the svnlook command and seem to have a problem. Line #1
> shows that there's a property change on trunk. Line #2 shows that
> there's a property called foo with a value of bar. I did this via ths
> svnlook proplist command. Okay, so far so good.
>
> Line #3 shows the results of a propget on property foo. It returns
> nothing. If I mispell the name like I did on line #4, it tells me the
> property isn't found.
>
> My understanding is that svnlook propget is suppose to print the value
> of the property much like svn propget does. In fact:

It works fine here:

$ svnlook changed -r3 repos
_U trunk/alpha
$ svnlook propget repos foo /trunk/alpha
bar$

Note that the trailing '$' above is my shell prompt.
Maybe the prop value 'bar' does not end with a newline, and that
somehow affects the output in your environment?

Does it work as expected if you append a newline to the property
value? Or if you redirect the output to a file?
Received on 2011-07-13 23:19:44 CEST

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