subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1611666 - /subversion/trunk/subversion/svn/notify.c
Date Fri, 18 Jul 2014 14:51:38 GMT
Author: julianfoad
Date: Fri Jul 18 14:51:38 2014
New Revision: 1611666

URL: http://svn.apache.org/r1611666
Log:
* subversion/svn/notify.c
  (notify_body): Tweak comments for clarity.

Modified:
    subversion/trunk/subversion/svn/notify.c

Modified: subversion/trunk/subversion/svn/notify.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/notify.c?rev=1611666&r1=1611665&r2=1611666&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/notify.c (original)
+++ subversion/trunk/subversion/svn/notify.c Fri Jul 18 14:51:38 2014
@@ -226,10 +226,12 @@ notify_body(struct notify_baton *nb,
     path_local = n->url;
   else
     {
+      /* Skip the path prefix in N, if supplied, or else the path prefix
+         in NB (which was set to the current working directory). */
       if (n->path_prefix)
         path_local = svn_cl__local_style_skip_ancestor(n->path_prefix, n->path,
                                                        pool);
-      else /* skip nb->path_prefix, if it's non-null */
+      else
         path_local = svn_cl__local_style_skip_ancestor(nb->path_prefix, n->path,
                                                        pool);
     }



Mime
View raw message