You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2012/11/18 17:26:13 UTC

[jira] (SCM-435) can not work with local copy

     [ https://jira.codehaus.org/browse/SCM-435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed SCM-435.
------------------------------

    Resolution: Fixed

Fixed in https://git-wip-us.apache.org/repos/asf/maven-scm/commit/c96ca247
Thanks!

                
> can not work with local copy
> ----------------------------
>
>                 Key: SCM-435
>                 URL: https://jira.codehaus.org/browse/SCM-435
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-svn
>    Affects Versions: 1.1, 1.8
>         Environment: Windows xp, maven 2.0.9
>            Reporter: James Nord
>            Assignee: Robert Scholte
>             Fix For: 1.9
>
>         Attachments: svnexe.diff
>
>
> I have a need to use the SCM api to manipulate a local svn copy, but the svn provider can only work with remote copies.
> e.g. "svn info ." to get the reposirory URL etc from what Subversion has and not what you think it is.
> If you pass in a file:// URL it treats this as a repository and not a local copy - but if you don't use a url prefix and pass in just the path it fails to parse the URL in SvnScmProviderRepository.parseURL().
> The current workaround is to provide a custom SvnScmProviderRepository which overrides getURL to return the path which shows that the info command and others can work like this (however this obviously breaks anything that uses local file based repositories!)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira