Gee-clough, Aaron (NIH/CIT) wrote:
>$ctx = SVN::Client->new()
>while (1)
>{
> $ctx->update( $working_dir )
> Read through files in repos, take actions based on those files
>(possibly including modifying them)
> $ctx->commit( $working_dir )
> $ctx->cleanup ( $working_dir )
> sleep(60)
>}
>
>My question: is there some way to force the bindings to release that lock
>file? $ctx->cleanup() isn't doing that.
>
>
I would try instantiating a new $ctx inside the while loop, instead of
using the same object forever. If that doesn't work, another workaround
might be to call this script from cron every minute instead of using the
sleep(60).
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 16 15:23:06 2005