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

svn_client__checkout_internal and depth comment/code inconsistency

From: Blair Zajac <blair_at_orcaware.com>
Date: 2007-07-16 06:03:23 CEST

Hi Karl,

In r23994, the comment for svn_client__checkout_internal says this in
libsvn_client/client.h:

    DEPTH must be a definite depth, not (e.g.) svn_depth_unknown.

but in the code itself, it does this:

         SVN_ERR(svn_wc_check_wc(path, &wc_format, pool));
         if (! wc_format)
           {
           initialize_area:

             if (depth == svn_depth_unknown)
               depth = svn_depth_infinity;

Not that this a big deal, but it would be nice to have it be consistent.

Regards,
Blair

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 16 06:03:03 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.