jira-importer opened a new issue, #1214:
URL: https://github.com/apache/maven-scm/issues/1214

   **[Michael 
Osipov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=michael-o)**
 opened 
**[SCM-986](https://issues.apache.org/jira/browse/SCM-986?redirect=false)** and 
commented
   
   Several bugs:
   
   1st bug:
   This class claims to process the following URLs:
   * `http://svn.apache.org/repos/asf/maven/maven-3/trunk`
   * `http://svn.apache.org/repos/asf/maven/maven-3/trunk/`
   
   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.
   
   
   ---
   
   **Affects:** 1.12.2, 2.0.0-M1
   
   **Remote Links:**
   - [GitHub Pull Request #145
   ](https://github.com/apache/maven-scm/pull/145)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to