Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3933

invalid assumption about parent/child relationship between repository URLs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • trunk
    • 1.10-consider
    • unknown
    • None

    Description

      If externals specify a port in the URL of the external item, a checkout and
      update can fail to get the external.
      
      Originally reported here:
      http://svn.haxx.se/users/archive-2011-06/0263.shtml
      
      To reproduce, run:
        svn co https://jcl.svn.sourceforge.net/svnroot/jcl/trunk/jcl@3547
      
      This checkout and subsequent updates of the working copy will raise errors such as:
      svn: warning: W200000: Error handling externals definition for
      'source/include/jedi':
      svn: warning: W170000:
      'https://projectjedi.svn.sourceforge.net:443/svnroot/projectjedi/trunk/shared/include'
      isn't in the same repository as
      'https://projectjedi.svn.sourceforge.net/svnroot/projectjedi'
      
      The problem is that the "same repository" check in svn_ra_reparent() ends up
      comparing the following strings for equality:
      
      DBG: ra_loader.c: 552: repos_root =
      'https://projectjedi.svn.sourceforge.net/svnroot/projectjedi', url =
      'https://projectjedi.svn.sourceforge.net:443/svnroot/projectjedi/trunk/shared/include'
      
      In 1.6.x both strings contained the port number (":443").
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            stsp Stefan Sperling
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: