Hi,

This patch replaces few stale comments about svn_path_condense_targets with svn_uri_condense_targets/svn_dirent_condense_targets in libsvn_client/locking_commands.c:organize_lock_targets().

Thanks & Regards,
Vijayaguru

Index: subversion/libsvn_client/locking_commands.c
===================================================================
--- subversion/libsvn_client/locking_commands.c	(revision 1053004)
+++ subversion/libsvn_client/locking_commands.c	(working copy)
@@ -201,8 +201,8 @@
                                           targets, TRUE, pool, pool));
     }
 
-  /* svn_path_condense_targets leaves paths empty if TARGETS only had
-     1 member, so we special case that. */
+  /* svn_uri_condense_targets/svn_dirent_condense_targets leaves uris/dirents
+   * empty if TARGETS only had 1 member, so we special case that. */
   if (apr_is_empty_array(rel_targets))
     {
       const char *parent, *base;
@@ -273,7 +273,7 @@
       SVN_ERR(svn_uri_condense_targets(&common_url, &rel_urls, urls,
                                        FALSE, pool, pool));
 
-      /* svn_path_condense_targets leaves paths empty if TARGETS only had
+      /* svn_uri_condense_targets leaves uris empty if TARGETS only had
          1 member, so we special case that (again). */
       if (apr_is_empty_array(rel_urls))
         {
[[[
Replace stale comments about svn_path_condense_targets with
svn_uri_condense_targets/svn_dirent_condense_targets.

* subversion/libsvn_client/locking_commands.c:
  (organize_lock_targets): Update the comment.

Patch by: Vijayaguru G <vijay{_AT_}collab.net>                          
]]]

Reply via email to