subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r1102919 - /subversion/trunk/subversion/libsvn_client/status.c
Date Fri, 13 May 2011 23:07:36 GMT
Author: hwright
Date: Fri May 13 23:07:36 2011
New Revision: 1102919

URL: http://svn.apache.org/viewvc?rev=1102919&view=rev
Log:
Fulfill a function API promise by actually using the improved status value,
rather than ignoring it.

* subversion/libsvn_client/status.c
  (tweak_status): Create the returned status after potentially tweaking.

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

Modified: subversion/trunk/subversion/libsvn_client/status.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/status.c?rev=1102919&r1=1102918&r2=1102919&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/status.c (original)
+++ subversion/trunk/subversion/libsvn_client/status.c Fri May 13 23:07:36 2011
@@ -93,9 +93,6 @@ tweak_status(void *baton,
       return SVN_NO_ERROR;
     }
 
-  SVN_ERR(svn_client__create_status(&cst, sb->wc_ctx, local_abspath, status,
-                                    scratch_pool, scratch_pool));
-
   /* If we know that the target was deleted in HEAD of the repository,
      we need to note that fact in all the status structures that come
      through here. */
@@ -106,6 +103,9 @@ tweak_status(void *baton,
       status = new_status;
     }
 
+  SVN_ERR(svn_client__create_status(&cst, sb->wc_ctx, local_abspath, status,
+                                    scratch_pool, scratch_pool));
+
   /* Call the real status function/baton. */
   return sb->real_status_func(sb->real_status_baton, path, cst,
                               scratch_pool);



Mime
View raw message