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

Re: Help with Hook Script: Can't lookup file property on the commit transaction

From: David Weintraub <qazwart_at_gmail.com>
Date: 2005-06-16 16:13:08 CEST

On 6/16/05, Peter N. Lundblad <peter@famlundblad.se> wrote:
> I tested this [getting the property via transaction number] and it
> worked using FSFS. Does svnlook say anything on stderr?

I modified my hook to place a debug statement to print out the value
of "$cmd" right after line 557 in my hook script. I also removed the
"2> /dev/null" to allow the STDERR to print out. I then modified line
558 to save the output of the SVNLOOK command before I compared it to
"$propValue" and added another debug statement to print out the value.

The "svnlook propget" command was the correct format, but it returned
nothing, and STDERR printed out that the property on that particular
file was not set.

I am also using FSFS. What type of test did you run? When I run my
script with a repository revision number instead of a transaction
number, it looks like it works, but it doesn't seem to work in the
middle of a transaction.
 

--
David Weintraub
qazwart@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 16 16:15:39 2005

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