subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmpil...@apache.org
Subject svn commit: r931392 - /subversion/trunk/subversion/libsvn_ra/ra_loader.c
Date Wed, 07 Apr 2010 01:05:54 GMT
Author: cmpilato
Date: Wed Apr  7 01:05:53 2010
New Revision: 931392

URL: http://svn.apache.org/viewvc?rev=931392&view=rev
Log:
* subversion/libsvn_ra/ra_loader.c
  (svn_ra_get_mergeinfo): Rework a comment for clarity and correctness.

Modified:
    subversion/trunk/subversion/libsvn_ra/ra_loader.c

Modified: subversion/trunk/subversion/libsvn_ra/ra_loader.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra/ra_loader.c?rev=931392&r1=931391&r2=931392&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra/ra_loader.c (original)
+++ subversion/trunk/subversion/libsvn_ra/ra_loader.c Wed Apr  7 01:05:53 2010
@@ -717,9 +717,10 @@ svn_error_t *svn_ra_get_mergeinfo(svn_ra
       return SVN_NO_ERROR;
     }
 
-  /* Work around a bug in pre-1.7 servers that caused CATALOG's keys
-     to be a mix of absolute and relative paths (when they were all
-     supposed to be relative.  */
+  /* Even though CATALOG's keys are relative to the session URL, some
+     older servers returned some of those keys with leading slashes
+     (for subtree items, when INCLUDE_DESCENDANTS was set).  This code
+     cleans up that mess.  */
   *catalog = apr_hash_make(pool);
   for (hi = apr_hash_first(pool, tmp_catalog); hi; hi = apr_hash_next(hi))
     {



Mime
View raw message