subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r959337 - /subversion/trunk/subversion/libsvn_wc/node.c
Date Wed, 30 Jun 2010 14:52:01 GMT
Author: julianfoad
Date: Wed Jun 30 14:52:01 2010
New Revision: 959337

URL: http://svn.apache.org/viewvc?rev=959337&view=rev
Log:
* subversion/libsvn_wc/node.c
  (svn_wc__internal_node_get_url): Add a comment.

Modified:
    subversion/trunk/subversion/libsvn_wc/node.c

Modified: subversion/trunk/subversion/libsvn_wc/node.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/node.c?rev=959337&r1=959336&r2=959337&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/node.c (original)
+++ subversion/trunk/subversion/libsvn_wc/node.c Wed Jun 30 14:52:01 2010
@@ -363,6 +363,10 @@ svn_wc__internal_node_get_url(const char
         {
           const char *parent_abspath;
 
+          /* Set 'repos_root_url' to the *full URL* of the parent WC dir,
+           * and 'repos_relpath' to the *single path component* that is the
+           * basename of this WC directory, so that joining them will result
+           * in the correct full URL. */
           svn_dirent_split(&parent_abspath, &repos_relpath, local_abspath,
                            scratch_pool);
           SVN_ERR(svn_wc__internal_node_get_url(&repos_root_url, db,



Mime
View raw message