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

Perl Bindings, archive Lock

From: Johannes Holzer <hl-svn_at_arcor.de>
Date: 2006-01-26 13:21:31 CET

I use the perl bindings with SVN 1.3.0

When doing an update of a repository, i have to lock the Archive before
commit/update, right?

Well, at least if i just update a working copy with $ctx->update(...), update
works, but working copy remains locked.

Now i try to first lock the copy and unlock it afterwards.

lock the wc:

        $ctx->lock(\@files, \$lockmessage, 0);

or

    SVN::Client::lock($ctx, \@files, \$lockmessage, 0);

produces the Error Message:

        Type error in argument 4 of svn_client_lock. Expected _p_svn_client_ctx_t

The "->lock()"-function is not mentiond in Clients.pm, although it seems to
work. The Definition of svn_client_lock says me, that argument 4 is "$ctx",
which should be implicitly given by "$ctx->".

Any Hints?

johannes

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 26 13:24:33 2006

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.