[
https://issues.apache.org/jira/browse/SCM-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17962137#comment-17962137
]
ASF GitHub Bot commented on SCM-581:
------------------------------------
jira-importer opened a new issue, #793:
URL: https://github.com/apache/maven-scm/issues/793
**[Andreas
Sewe](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=sewe)**
opened
**[SCM-581](https://issues.apache.org/jira/browse/SCM-581?redirect=false)** and
commented
AFAIK, Mercurial allows for URLs like
`ssh://example.org//home/sewe/example-project/`. Unfortunately, the Mercurial
SCM provider turns this into `hg push
ssh://example.org/home/sewe/example-project/`, which fails if, e.g., the
Mercurial server is configured to look for repositories in the user's home
directory (may or may not be `/home/sewe`, depending on your login) **unless**
an absolute path is explicitly requested by using a path starting with a double
slash.
---
**Affects:** 1.4
**Issue Links:**
- [MNG-4966](https://issues.apache.org/jira/browse/MNG-4966) Preserve double
slashes in the scm connection url - identifies absolute repository paths for
mercurial
(_**"duplicates"**_)
> URL mangling should preserve double slashes
> -------------------------------------------
>
> Key: SCM-581
> URL: https://issues.apache.org/jira/browse/SCM-581
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Bug
> Components: maven-scm-provider-mercurial (hg)
> Affects Versions: 1.4
> Environment: Apache Maven 3.0 (r1004208; 2010-10-04 13:50:56+0200)
> Java version: 1.6.0_20
> Reporter: Andreas Sewe
> Assignee: Benjamin Bentmann
> Priority: Major
>
> AFAIK, Mercurial allows for URLs like
> {{ssh://example.org//home/sewe/example-project/}}. Unfortunately, the
> Mercurial SCM provider turns this into {{hg push
> ssh://example.org/home/sewe/example-project/}}, which fails if, e.g., the
> Mercurial server is configured to look for repositories in the user's home
> directory (may or may not be {{/home/sewe}}, depending on your login)
> *unless* an absolute path is explicitly requested by using a path starting
> with a double slash.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)