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

svn_client_status2 broken on trunk...

From: Martin Hauner <martin.hauner_at_gmx.net>
Date: 2007-06-23 10:17:16 CEST


the result of svn_client_status2 has changed from 1.4.4 to trunk.

In subcommander i call svn_status_client2 with recurse false and all
true. This delivers all childeren of a dir including the folders. I then
do the recurse myself by calling status again non recursive on each
child folder (that way i don't have to wait for a complete recursive
status to finish before i can display something usefull in the gui).

Works fine until i build my code with the current trunk. On trunk an
svn_status_client2 call with recurse false and all true only delivers
the files only. No child folders anymore.

Looks like the problem is the SVN_DEPTH_FROM_RECURSE macro:

#define SVN_DEPTH_FROM_RECURSE(recurse) \
   ((recurse) ? svn_depth_infinity : svn_depth_files)

I guess replacing svn_depth_files with svn_depth_immediates would fix
it. I just don't know if it would be correct for all other uses of that

Subcommander 1.2.2        - http://subcommander.tigris.org
Subcommander 2.0.0 Beta 1 - http://subcommander.tigris.org
a cross platform Win32/Unix/MacOSX subversion GUI client & diff/merge tool.
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 23 10:18:07 2007

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.