[ http://jira.codehaus.org/browse/MNG-4966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4966. ---------------------------------- Resolution: Fixed Fix Version/s: 3.0.2 Assignee: Benjamin Bentmann Fixed in [r1056720|http://svn.apache.org/viewvc?view=revision&revision=1056720]. > Preserve double slashes in the scm connection url - identifies absolute > repository paths for mercurial > ------------------------------------------------------------------------------------------------------ > > Key: MNG-4966 > URL: http://jira.codehaus.org/browse/MNG-4966 > Project: Maven 2 & 3 > Issue Type: Bug > Affects Versions: 3.0, 3.0.1 > Reporter: Fredrik Jonson > Assignee: Benjamin Bentmann > Fix For: 3.0.2 > > Attachments: maven-3.0-preserve-double-shashes.patch > > > The mercurial scm (hg) use double slashes after the hostname part of the > repository url to identify that a repository path is absolute, as opposed to > relative. Maven should not remove such double slashes from the scm connection > url. > The following is an example of a absolute repository path: > scm:hg:ssh://localhost//opt/foo. Note the double slash between 'localhost' > and 'opt', it is interpreted by hg as the absolute path /opt/foo on the > server localhost. > A relative repository url on the other hand, scm:hg:ssh://localhost/foo, is > resolved relative to the user's home directory on the server localhost, f.x > /home/user/foo. > With maven 3.0 and 3.0.1 double slashes are silently removed and it is thus > not possible to release a project that use a absolute scm connection url with > mercurial. > The provide patch removes the removal of double slashes from the url > normalizer. It also change the test case for the removal code to test that > url:s that contain double slashes are preserved instead. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira