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

Re: Bindings - Client->info

From: Troy Curtis Jr <troycurtisjr_at_gmail.com>
Date: 2006-12-21 16:04:32 CET

On 12/20/06, Miller, Eric <Eric.Miller@amd.com> wrote:
>
>
>
>
> Just curious if anyone knows what the return value of the callback is used
> for when called by the $ctx->info()?
>
> When it is 0 I am getting this error:
>
>
>
> Use of uninitialized value in subroutine entry at /SVN/Client.pm line 895.
>
>
>
> Not a big deal, just slightly confusing since the return value of the
> callback used by the status method is explicitly noted as being ignore.
>
>
>
> Eric

I think it would be more illuminating if you gave use the full command
you were using to call the info() subroutine. Like you mentioned, the
return value isn't really meaningfull (as far as I can tell). In
perl, if you don't specify a return value for a sub routine it using
the latest $_ value (I believe). I suspect the error is being caused
by the arguments you are giving info().

Troy

-- 
"Beware of spyware. If you can, use the Firefox browser." - USA Today
Download now at http://getfirefox.com
Registered Linux User #354814 ( http://counter.li.org/)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 21 16:06:07 2006

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