subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r906023 - /subversion/trunk/subversion/libsvn_client/patch.c
Date Wed, 03 Feb 2010 12:09:33 GMT
Author: stsp
Date: Wed Feb  3 12:09:31 2010
New Revision: 906023

URL: http://svn.apache.org/viewvc?rev=906023&view=rev
Log:
* subversion/libsvn_client/patch.c
  (maybe_send_patch_notification): Rename to ...
  (send_patch_notification): ... this, since the only thing that "maybe"
   indicated was that ctx->notify_func2 is checked for NULL.
   Well, this does not need to be encoded in the function's name.
  (apply_one_patch): Track function rename.

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

Modified: subversion/trunk/subversion/libsvn_client/patch.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/patch.c?rev=906023&r1=906022&r2=906023&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/patch.c (original)
+++ subversion/trunk/subversion/libsvn_client/patch.c Wed Feb  3 12:09:31 2010
@@ -943,9 +943,9 @@
 /* Use client context CTX to send a suitable notification for a patch TARGET.
  * Use POOL for temporary allocations. */
 static svn_error_t *
-maybe_send_patch_notification(const patch_target_t *target,
-                              const svn_client_ctx_t *ctx,
-                              apr_pool_t *pool)
+send_patch_notification(const patch_target_t *target,
+                        const svn_client_ctx_t *ctx,
+                        apr_pool_t *pool)
 {
   svn_wc_notify_t *notify;
   svn_wc_notify_action_t action;
@@ -1052,7 +1052,7 @@
 
   if (target->skipped)
     {
-      SVN_ERR(maybe_send_patch_notification(target, ctx, pool));
+      SVN_ERR(send_patch_notification(target, ctx, pool));
       return SVN_NO_ERROR;
     }
 
@@ -1318,7 +1318,7 @@
       /* ### TODO mark file as conflicted. */
     }
 
-  SVN_ERR(maybe_send_patch_notification(target, ctx, pool));
+  SVN_ERR(send_patch_notification(target, ctx, pool));
 
   return SVN_NO_ERROR;
 }



Mime
View raw message