You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Maria Odea Ching (JIRA)" <ji...@codehaus.org> on 2010/06/22 08:23:14 UTC

[jira] Issue Comment Edited: (SCM-558) Add support for 'mkdir' command

    [ http://jira.codehaus.org/browse/SCM-558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226041#action_226041 ] 

Maria Odea Ching edited comment on SCM-558 at 6/22/10 1:21 AM:
---------------------------------------------------------------

Hi Grant, for the other providers, the mkdir command is simply just add. But for SVN provider, you can run mkdir in two ways:
* svn mkdir [DIRNAME]
* svn mkdir [REPO URL]

The related wagon-scm issue is for deploying documentation to a SCM repository. The case there is when the specified path does not exist, the deployment fails. So what we wanted to do was create the missing directory paths first. In cases when the provider is SVN, we want to utilize the 'svn mkdir [REPO URL]' command so that there's no need to checkout the entire source tree just to create the directories. For the other SCM providers, I don't think there's an equivalent for 'svn mkdir [REPO URL]' (only for 'svn mkdir [DIRNAME]' to create/add dir in working copy has an equivalent) so what I did with the CVS implementation for the mkdir command is to just invoke the the CVS Add command from within. I'm still fixing some tests and I'll commit it later if you can take a look.

      was (Author: oching):
    Hi Grant, for the other providers, the mkdir command is simply just add. But for SVN provider, you can run mkdir in two ways:
* svn mkdir [DIRNAME]
* svn mkdir [REPO URL]

The related wagon-scm issue is for deploying documentation to a SCM repository. The case there is when the specified path does not exist, the deploying fails. So what we wanted to do was create the missing directory paths first. In cases when the provider is SVN, we want to utilize the 'svn mkdir [REPO URL]' command so that there's no need to checkout the entire source tree just to create the directories. For the other SCM providers, I don't think there's an equivalent for 'svn mkdir [REPO URL]' (only for 'svn mkdir [DIRNAME]' to create/add dir in working copy has an equivalent) so what I did with the CVS implementation for the mkdir command is to just invoke the the CVS Add command from within. I'm still fixing some tests and I'll commit it later if you can take a look.
  
> Add support for 'mkdir' command
> -------------------------------
>
>                 Key: SCM-558
>                 URL: http://jira.codehaus.org/browse/SCM-558
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-api
>            Reporter: Maria Odea Ching
>            Assignee: Maria Odea Ching
>


-- 
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