subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1520529 - /subversion/trunk/subversion/libsvn_wc/old-and-busted.c
Date Fri, 06 Sep 2013 10:31:32 GMT
Author: rhuijben
Date: Fri Sep  6 10:31:31 2013
New Revision: 1520529

URL: http://svn.apache.org/r1520529
Log:
* subversion/libsvn_wc/old-and-busted.c
  (atts_to_entry): Canonicalize urls read from xml based entries files, just
    like how we handle urls from the more recent entries files via read_url().

Modified:
    subversion/trunk/subversion/libsvn_wc/old-and-busted.c

Modified: subversion/trunk/subversion/libsvn_wc/old-and-busted.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/old-and-busted.c?rev=1520529&r1=1520528&r2=1520529&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/old-and-busted.c (original)
+++ subversion/trunk/subversion/libsvn_wc/old-and-busted.c Fri Sep  6 10:31:31 2013
@@ -811,11 +811,15 @@ atts_to_entry(svn_wc_entry_t **new_entry
 
      ### not used by loggy; no need to set MODIFY_FLAGS  */
   entry->url = extract_string(atts, ENTRIES_ATTR_URL, pool);
+  if (entry->url)
+    entry->url = svn_uri_canonicalize(entry->url, pool);
 
   /* Set up repository root.  Make sure it is a prefix of url.
 
      ### not used by loggy; no need to set MODIFY_FLAGS  */
   entry->repos = extract_string(atts, ENTRIES_ATTR_REPOS, pool);
+  if (entry->repos)
+    entry->repos = svn_uri_canonicalize(entry->url, pool);
 
   if (entry->url && entry->repos
       && !svn_uri__is_ancestor(entry->repos, entry->url))



Mime
View raw message