Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-986

SvnExe's SvnRemoteInfoCommand incorrectly implemented

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.12.2, 2.0.0-M1
    • 2.0.0-M2
    • maven-scm-provider-svn
    • None

    Description

      Several bugs:

      1st bug:
      This class claims to process the following URLs:

      to http://svn.apache.org/repos/asf/maven/maven-3. The first URL works, but the second is processed to /svn.apache.org/repos/asf/maven/maven-3/trunk.

      2nd bug:
      Extracting branches happens with cl.createArg().setValue( baseUrl + "/tags" + "@" ); instead of cl.createArg().setValue( baseUrl + "/branches" + "@" );

      3rd bug:
      new LsConsumer() receives the new, reduced base URL as constructor arg and contructs the final tag/branch URLs as: http://svn.apache.org/repos/asf/maven/maven-3/maven-3.0 and http://svn.apache.org/repos/asf/maven/maven-3/maven-3.x. The path segments tags and branches are never passed.

      Branch SCM-986 includes an extended TCK test to verify this faulty behavior.

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              michael-o Michael Osipov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: