> David Weintraub wrote on Tue, 22 Jun 2010 at 14:40 -0000:
>> Thanks!
>>
>> That's all I have to know. It is possible to set revprops when doing a
>> commit, so I should have a mechanism to check for those when doing a
>> commit too.

On Tue, Jun 22, 2010 at 10:38 AM, Daniel Shahaf <d...@daniel.shahaf.name> wrote:
> You're welcome.
>
> (The mechanism ought to be 'svnlook -t' from the pre-commit hook.)

Yes, you can set the revprops on a commit, but apparently you cannot
do a "svnlook -t $TX proplist --revprop $REPO".

I keep getting the error "svnlook: Invalid revision number '-1'".

The funny thing is I'm writing in Perl, and I have a check on my
"open" statement to fail if "svnlook -t$TX proplist -revprop $REPO"
fails during the open.

However, the open statement doesn't fail. Instead, the failure comes
when I first attempt to read from that pipe.

I'll take out the whole revprop check mechanism and just have it for
the "svnlook log". I can check the svn:log for issues.

Maybe the next revision will allow svnlook to check if a revprop is
going to be set on the incoming transaction.

-- 
David Weintraub
qazw...@gmail.com

Reply via email to