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

[PATCH] svn_client_commit2/3 doesn't correctly honor recursive flag anymore

From: Martin Hauner <martin.hauner_at_gmx.net>
Date: Sat, 29 Nov 2008 17:59:03 +0100

Hi,

svn_client_commit2/3 (since 1.5.0) does no longer behave like it did before (1.4.x).

I have a folder with a changed property (svn:ignore) and the folder contains a
few modified files. With 1.4 i could commit just the property change with the
old api by settings the recursive flag to false. That doesn't work anymore. Now
it also commits the modified files in the folder. It ignores any changes deeper
in the tree.

I have attached two patches to fix this on trunk and on the 1.5.x branch. It is
two patches because the old commit api is in a different file on trunk.

[[
Fixed backward compatibility bug. It is not possible to commit only
property changes on a folder with modified child items. The commit will
also include the direct child items (svn_client_commit3 and earlier).

* subversion/libsvn_client/deprecated.c
   (svn_client_commit3): turn non recursive into svn_depth_empty instead
   of svn_depth_files.
]]

-- 
Martin
Subcommander 2.0.0 Beta 4, 1.2.4 - http://subcommander.tigris.org
a Win32/Unix/MacOSX subversion GUI client & diff/merge tool.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org

Received on 2008-11-29 17:59:28 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.