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

"svnlook pget" Not showing property value

From: David Weintraub <qazwart_at_gmail.com>
Date: Wed, 13 Jul 2011 17:07:53 -0400

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:

> $ svn propget -r2 foo file://$PWD/svn_repos/trunk
> bar

Does exactly what I think it should.

Am I missing something. Did I do something wrong. Or is there an issue
with the svnlook command?

I need this for a Subversion hook, so using svn instead of svnlook is
not a possibility.

David Weintraub
Received on 2011-07-13 23:08:27 CEST

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.