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

RE: svn commit: r1455645 - /subversion/trunk/subversion/bindings/javahl/native/SVNClient.cpp

From: Bert Huijben <bert_at_qqmail.nl>
Date: Tue, 12 Mar 2013 22:02:19 +0100

> -----Original Message-----
> From: brane_at_apache.org [mailto:brane_at_apache.org]
> Sent: dinsdag 12 maart 2013 18:44
> To: commits_at_subversion.apache.org
> Subject: svn commit: r1455645 -
> /subversion/trunk/subversion/bindings/javahl/native/SVNClient.cpp
>
> Author: brane
> Date: Tue Mar 12 17:43:52 2013
> New Revision: 1455645
>
> URL: http://svn.apache.org/r1455645
> Log:
> Working on isue #4326 (update javahl with new 1.8 APIs).
>
> * subversion/bindings/javahl/native/SVNClient.cpp (SVNClient::commit):
> Call svn_client_commit6 (with externals drilldown enabled) instead
> of svn_client_commit5.
>
> Modified:
> subversion/trunk/subversion/bindings/javahl/native/SVNClient.cpp
>
> Modified:
> subversion/trunk/subversion/bindings/javahl/native/SVNClient.cpp
> URL:
> http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl
> /native/SVNClient.cpp?rev=1455645&r1=1455644&r2=1455645&view=diff
> ==========================================================
> ====================
> --- subversion/trunk/subversion/bindings/javahl/native/SVNClient.cpp
> (original)
> +++ subversion/trunk/subversion/bindings/javahl/native/SVNClient.cpp Tue
> Mar 12 17:43:52 2013
> @@ -425,8 +425,9 @@ void SVNClient::commit(Targets &targets,
> if (ctx == NULL)
> return;
>
> - SVN_JNI_ERR(svn_client_commit5(targets2, depth,
> - noUnlock, keepChangelist, TRUE,
> + SVN_JNI_ERR(svn_client_commit6(targets2, depth,
> + noUnlock, keepChangelist,
> + TRUE, TRUE, TRUE,

This will probably break Subclipse.

The default should be to not go into externals.

Clients like subclipse pass a list of targets and depth empty, while this will just commit every external when committing the root of the wc with depth empty.

        Bert
Received on 2013-03-12 22:03:01 CET

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.