You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2012/11/22 21:18:09 UTC

svn commit: r1412655 - /subversion/trunk/subversion/libsvn_client/iprops.c

Author: rhuijben
Date: Thu Nov 22 20:18:08 2012
New Revision: 1412655

URL: http://svn.apache.org/viewvc?rev=1412655&view=rev
Log:
* subversion/libsvn_client/iprops.c
  (need_to_cache_iprops): Update doc string and comment. Fix indentation. No
    functional changes.

Suggested by: julianfoad

Modified:
    subversion/trunk/subversion/libsvn_client/iprops.c

Modified: subversion/trunk/subversion/libsvn_client/iprops.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/iprops.c?rev=1412655&r1=1412654&r2=1412655&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/iprops.c (original)
+++ subversion/trunk/subversion/libsvn_client/iprops.c Thu Nov 22 20:18:08 2012
@@ -40,9 +40,8 @@
 
 /*** Code. ***/
 
-/* Determine if ABSPATH needs an inherited property cache (i.e. it is a WC
-   root that is not also the repository root or it is switched).  If it does,
-   then set *NEEDS_CACHE to true, set it to false otherwise. */
+/* Determine if LOCAL_ABSPATH needs an inherited property cache.  If it does,
+   then set *NEEDS_CACHE to TRUE, set it to FALSE otherwise. */
 static svn_error_t *
 need_to_cache_iprops(svn_boolean_t *needs_cache,
                      const char *local_abspath,
@@ -57,10 +56,10 @@ need_to_cache_iprops(svn_boolean_t *need
                           ctx->wc_ctx, local_abspath,
                            scratch_pool);
 
-  /* ABSPATH can't need a cache if it doesn't exist. */
+  /* LOCAL_ABSPATH doesn't need a cache if it doesn't exist. */
   if (err)
     {
-        if (err->apr_err == SVN_ERR_WC_PATH_NOT_FOUND)
+      if (err->apr_err == SVN_ERR_WC_PATH_NOT_FOUND)
         {
           svn_error_clear(err);
           is_wc_root = FALSE;