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

Re: svn commit: rev 6298 - in clients/rapidsvn/trunk: . src src/svncpp

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-06-19 23:59:35 CEST

xela@tigris.org writes:

> + svn_error_t * error =
> + svn_client_delete (&commit_info,
> + const_cast<apr_array_header_t*> (targets.array (pool)),

Eeww, that's ugly! I've fixed svn_client_delete to take a const.

> force,
> *m_context,
> pool);
> @@ -184,9 +201,13 @@
> Pool pool;
> m_context->setLogMessage (message);
>
> + Targets targets (path.c_str ());
> +
> svn_client_commit_info_t *commit_info = NULL;
> svn_error_t * error =
> - svn_client_mkdir (&commit_info, path.c_str (),
> + svn_client_mkdir (&commit_info,
> + const_cast<apr_array_header_t*>

Ditto svn_client_mkdir.

> + (targets.array (pool)),
> *m_context, pool);

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 20 00:01:15 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.