[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 14 Jul 2011 00:15:37 +0300

Works for me, 1.7.0-alpha3.

% $svnlook pg r1 foo /trunk/iota
bar
% $svnlook pg r1 foo trunk/iota
bar
% $svnlook --version -q
1.7.0-alpha3

What version are you using? Do you need 'svnlook pg -r' or 'svnlook pg -t'?

David Weintraub wrote on Wed, Jul 13, 2011 at 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
> qazwart_at_gmail.com
Received on 2011-07-13 23:17:39 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.